kieranbarnes these are the things i learnt today

Carbon Fibre wrapping the FTO

Posted on February 8, 2010

Carbon Fibre wrapping the FTO.

Photobucket Photobucket Photobucket Photobucket Photobucket
Photobucket Photobucket

Filed under: Automotive No Comments

Installing mod_evasive on cPanel and/or Apache

Posted on January 29, 2010

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

Posted on January 26, 2010

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

Posted on January 25, 2010

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.

Filed under: Windows No Comments

Installing Windows Server 2008 on PERC 4/DC

Posted on January 25, 2010

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.

Filed under: Windows Continue reading

Installing memcached on CentOS (cPanel)

Posted on January 23, 2010

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.

[Snippet] Stop Windows Update irritating you to restart after updates

Posted on January 23, 2010

I've been irritated to reboot my laptop every fifteen minutes to reboot my laptop. Its never convenient is it.

Click Start, Run and type net stop wuauserv

Filed under: Geeky, Windows 1 Comment

[Snippet] CentOS Server Firewall Configuration

Posted on January 22, 2010

CentOS 5 Server has a nice text interface to configuring your firewall.

system-config-securitylevel-tui
Filed under: Linux, Snippets No Comments

Simple install of memcached on Ubuntu

Posted on January 22, 2010

Memcached is a free, high performance distributed memory object caching system. In English, it can make your single server PHP applications faster or for a little more technical users you can write cache and share cache objects over a web server farm or cluster. Great, eh.

No seriously, it can really make your PHP faster.

Filed under: Geeky, Linux Continue reading

Detecting MIME types in PHP

Posted on January 22, 2010

Detecting MIME types in PHP used to be hellish.

Use the mime_content_type function I hear you say. Returns the MIME content type for a file as determined by using information from the magic.mime file. No, its garbage and thankfully now depreciated.

The PHP documentation suggests we use the Fileinfo PECL extension. I wasted ten minutes of my day trying to make that work. It even comes packaged with PHP 5.3. Still doesn't work.

Filed under: PHP Continue reading