Archive for the 'Gentoo' Category

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 […]