In order to change PHP execution mode to CGI wrapper for better control for shared hosting, we need to recompile apache to change the Suexec default directory. Below are the steps:
After a very long waiting for the update...finally it is announced officially on the centos website that CentOS 5.6 is released.
Simply run 'yum list updates' and then 'yum update' to upgrade from 5.0 - 5.5 version to 5.6.
Check the version of CentOS: 'rpm -q centos-release'
It should return: 'centos-r
When upgrade to the latest Awstats, the previously installed GeoIPfree has a problem about its location path.
If you get this error: "Error: Plugin load for plugin 'geoipfree' failed with return code: Error: Can't locate Geo/IPfree.pm in @INC (@INC contains:..." Just download and unzip to the plugin folder in awstats: /var/www/awstats/plugins/
Upgrade to latest Nagios:
tar xzf nagios-3.2.3.tar.gz
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Using yum to install openjdk, simple and fast.
yum install java-1.6.0-openjdk java-1.6.0-openjdk-devel
#Add the following lines at the bottom:
yum -y install ffmpeg ffmpeg-devel mplayer mencoder flvtool2
When encoding mp3 for audio, the correct codec to use is libmp3lame.
Install cURL for php on Ubuntu:
sudo apt-get install curl php5-curl php5-xmlrpc
sudo /etc/init.d/apache2 restart
Install cURL for php on CentOS:
yum install curl curl-devel php-xmlrpc
sudo /etc/init.d/httpd restart
ProFTPD time does not show correctly on our server. After writing TimesGMT off in proftpd.conf, and restart FTP server, the time is still displaying in GMT.
Here is a way to get around this problem: insert export TZ=":/etc/localtime" into /etc/init.d/proftpd and save it. In proftpd.conf insert TimesGMT off, then restart FTP serser. It works on our server (CentOS 5.5 with ProFTPD).