Author:
Password:

In CentOS website, there is a warning about using EPEL:

...So, make SURE you are using the Priorities yum plugin if you are using EPEL...

 

Below are the steps to install and set the correct priorities:

CentOS 5: yum install yum-priorities
CentOS 6: yum install yum-plugin-priorities

&n

Tag:
CentOS
Server
0 replys / 1089 views.
Reply

rpm -e perl.i386

Tag:
CentOS
Server
perl
0 replys / 555 views.
Reply

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:

 

wget http://mirror.centos.org/centos/5/updates/SRPMS/httpd-2.2.3-53.el5.centos.1.src.rpm

useradd mockbuild


rpm -Uvh

Tag:
CentOS
Server
apache
suexec
CGI Wrapper
0 replys / 1713 views.
Reply

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

Tag:
CentOS
Server
0 replys / 684 views.
Reply

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/

Tag:
Server
Awstats
GeoIPfree
1 reply / 1112 views.
Reply

Upgrade to latest Nagios:

 

wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.3.tar.gz
tar xzf nagios-3.2.3.tar.gz
cd nagios-3.2.3
./configure --with-command-group=nagcmd
make all
make install
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios restart

Tag:
Nagios
Server
CentOS
0 replys / 1325 views.
Reply

Using yum to install openjdk, simple and fast.

yum install java-1.6.0-openjdk java-1.6.0-openjdk-devel

java -version

nano /etc/profile

#Add the following lines at the bottom:
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/l

Tag:
openJDK
Server
Tomcat
4 replys / 7071 views.
Reply

yum -y install ffmpeg ffmpeg-devel mplayer mencoder flvtool2

When encoding mp3 for audio, the correct codec to use is libmp3lame.

Tag:
Server
ffmpeg
Video Convertion
flv
0 replys / 1586 views.
Reply

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

Tag:
Server
PHP
cURL
0 replys / 1051 views.
Reply

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).

Tag:
Server
ProFTPD
Time GMT
1 reply / 1476 views.
Reply