Archive for December, 2005

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 entropy and [...]

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, updated and deleted using the webapp-config tool.
emerge awstats
2. [...]

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 -av wordpress
2. Install WordPress using webapp-config
[...]

Hello!

Monday, December 19th, 2005

This blog will act as a storage space for information I, and hopefully other people, will find useful.