mod_geoip Revisted including stopping spam in phpBB 2
I've recently moved a client's forum onto a new cPanel server, previously it was on a home-brew Ubuntu server.
So I had to install mod_geoip onto cPanel in CentOS. It wasn't as bad as I was expecting.
First off, we need to download the GeoIP libraries.
Ubuntu Upgrades
Here is a really simple way of upgrading your Ubuntu system. After the initial setup, upgrading to Karmic or Intrepid is a one liner.
The tap in the Kitchen
A fantasticaly inexplicable email appeared today.
Please can you make sure that when you turn the tap off in the kitchen you don’t turn it till it stops dripping.
It’s meant to drip & people have been struggling to turn it back on.
Regards
[Snippet] Installation of MS SQL Libraries on Ubuntu
Can't find php-mssql? Nah, its gone. Use php-sybase which contains both libraries now. Remember, make sure FreeTDS is installed aswell.
Installing mod_evasive on cPanel and/or Apache
This guide details how to install mod_evasive on cPanel to help protect against DDOS attacks, brute force attacks and other irritants.
It uses an internal hash table of IPs and URLs and can temporarily block web requests to anyone requesting a large number of page views, or making many concurrent requests. Properly configured it can help evade DDOS attacks and keep your customers happy.
You can integrate it with iptables and hardware firewalls too if you like.
Enabling mod_deflate/gzip globally on cPanel
There's far too many reasons to mention why you should enable mod_deflate to gzip your content served by Apache. Simply put, it makes it go fast.
You can enable mod_deflate in cPanel really easily with /scripts/easyapache. Easy.
[Snippet] Connecting to Windows 2008 Server from XP
By default, Windows 2008 requires Network Level Authentication to connect via RDP/Terminal Services. This is not supported on Windows XP. It is supported on XP SP3 but its a dirty hack to get working. Try it if you like. Or, change the security settings on Windows 2008, select Allow connections from computers running any version Remote Desktop (less secure).
This also works for XP -> Vista connections.
Installing Windows Server 2008 on PERC 4/DC
Got an older server like a Dell PowerEdge 2850 or a 2900 that you want to install Windows Server 2008 on?
You'll need to provide extra drivers for Windows to see the PERC RAID array.
I downloaded the Windows 2003 PERC 4/DC drivers from Dell.
Installing memcached on CentOS (cPanel)
Welcome to hell. No really, compared to installing memcached on Ubuntu, CentOSs really sucks. CentOS really sucks for package management. Really sucks. Anyway, on to the point.
Here's how I installed memcached on CentOS, which I mainly use for cPanel.









