Author: Grumpy
-
Making CSF work with OpenVPN
This guide will assume you have both Config Server Firewall (CSF) and OpenVPN already installed and working individually. To make CSF work with OpenVPN, you’ll need to create extra iptable rules. We do that by adding them to csfpre.sh. nano /etc/csf/csfpre.sh If the file does not exist, you can create it. If it already exists,…
-
Changing Limits for Services with CentOS 7 / RHEL 7 / Systemd
Hitting too many open file limit for apache? In the previous OS versions, changing limits like open file number would be set in /etc/security/limits.conf or directly inside the start up script. In some ways the new method brings better organization to the limits, but its change is very confusing to people who were expecting the…
-
Grumpyland.com is 11 years, 11 months and 11 days old!
Today marks the eleventh year eleventh month eleventh day of grumpyland.com. Serving little purpose for nearly 12 years and many more to come! Time sure flies…
-
Allowing stuff on SELinux (NewRelic example | For CentOS/RHEL 5/6/7)
Ah… selinux, always getting in the way of things… SELinux doesn’t necessarily have all the proper rules, so often you’d need to adjust it yourself. This is a tutorial of how to do that with NewRelic as an example (which I just had problem with after updating…). You can replace “newrelic” and “newrelic-daemon” to your…
-
grumpy.land, a new TLD
I can’t help but feel giddy about how there are so many new TLDs coming out, creating new opportunities in a market where it feels like every domain you want is already taken. While the introduction of new TLDs and their increased usage may decrease price of getting a new TLD, I can’t also help but…
-
Watch Stuff Live!
Watch DDoS live http://map.ipviking.com/ http://www.digitalattackmap.com/ Watch Airplanes fly in live http://www.flightradar24.com Watch ships sail in live http://www.marinetraffic.com/ Just random & interesting sites I found. 😛
-
Installing Software RAID on Centos 5/6/7 via SSH
Considering number of dedicated server rentals that just gives JBOD, setting up your own software raid is quite handy. This tutorial goes over the very basic of how it’s done. All of this should be done under root. Let’s say you have 3 disks: sda, sdb & sdc. The OS is mounted on the sda, so…
-
Sphinx Search & Invision Power Board
I just finished tweaking Sphinx (and bunch of other stuff) for a client and sphinx was being terrible with full indexing! So bad on the first time that it brought the site down for a good 15 minutes and maybe another half hour of crawling speeds on the first run. This client’s db is bigger than…
-
Webservers & Caches
I’m a graph-diagram-table person. And when someone asks how web servers and caches are mixed, I now have an image to give them! Now we can visually see how web server interacts with a page cache in apache, nginx & varnish. And how user cache and opcache for PHP are separated by services like…
-
Review: Leaseweb Dedicated Servers
I’ve been a customer (on and off) of Leaseweb dedicated servers for about 3 years now for their 100tb packages. Over the years, I probably rented about 6 dedicated servers from them with at least one on each of their DC location (US, NL, DE) and currently have two active servers in Netherlands & Germany.…
-
Installing the latest PHP (5.4.23 / 5.5.7) on CentOS/RHEL
Method 1 – Remi Repo The Remi Repository (famillecollet.com) maintains the newest PHP for CentOS, RHEL, etc. And by newest, I mean newer than all other major repos. All you need to do is install PHP with Remi enabled. As of writing this article, Remi has 5.4.23 for CentOS, RHEL, etc. If you want even…
-
Understanding IOWait
IOWait definition & properties IOWait (usually labeled %wa in top) is a sub-category of idle (%idle is usually expressed as all idle except defined subcategories), meaning the CPU is not doing anything. Therefore, as long as there is another process that the CPU could be processing, it will do so. Additionally, idle, user, system, iowait,…