Archive for the 'Linux' Category

Using the Geo-IP plugin with Awstats in Gentoo Linux

Sunday, January 15th, 2006

Here’s a summary of what we’re going to do… emerge Geo-IP Check that it works using geoiplookup Edit the awstats config file 1. Emerge Geo-IP It’s as easy as … emerge Geo-IP This will also emerge the geoip package if it is not already installed. 2. Check that it works using geoiplookup We can check […]

Remote Backup Using Flexbackup and SSH

Monday, December 26th, 2005

I have a server running Gentoo Linux which hosts a Subversion repository, a vpopmail and qmail system, a MySql database and more. I’m going to make a backup copy of the data on this machine in the event that I need to rebuild this server. I have chosen Flexbackup to perform this task. Here’s how I did it.

Improving apache start up times on Gentoo Linux

Wednesday, December 21st, 2005

On my Gentoo virtual server, apache was taking up to 3 minutes to startup. The problem is caused by the system having too little entropy to generate random numbers needed for the PID. You can check the value on your machine using cat /proc/sys/kernel/random/entropy_avail A value below 20 is quite low. Emerging rng-tools can increase […]

Installing awstats on Gentoo Linux

Wednesday, December 21st, 2005

Here is what we are going to do. emerge awstats Install awstats using webapp-config Edit the apache configuration file /etc/apache2/httpd.conf Edit the awstats config file Update Statistics Update Cron 1. emerge awstats Before emerging awstats, add “vhosts” to your use variables in your /etc/make.conf file. This will allow multiple copies of awstats to be installed, […]

Installing WordPress on Gentoo Linux

Tuesday, December 20th, 2005

The following steps need to be performed emerge WordPress Install WordPress using webapp-config Configure the MySql database Edit the wp-config.php file 1. emerge WordPress Before emerging WordPress, add “vhosts” to your use variables in your /etc/make.conf file. This will allow multiple copies of WordPress to be installed, updated and deleted using the webapp-config tool. emerge […]