Timezone Setup – NTP

Create a symlink to file localtime:

# ln -sf /usr/share/zoneinfo/EST /etc/localtime

#date

[bash]# chkconfig –level 2345 ntpd on
[bash]# /etc/init.d/ntpd restart

[bash]# chkconfig –list ntpd

To see if the service started successfully, you should check the system log file.

[bash]# grep ntpd /var/log/messages

[bash]# ntpq -pn

For correct synchronization, the delay and offset values should be non-zero and the jitter value should be under 100.

Munin Installation

cd /usr/local/src

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

yum install munin

yum install munin-node

vi /etc/munin/munin.conf

htmldir /var/www/html/munin

mkdir /var/www/html/munin

cp -rp /etc/munin/html/* to /var/www/html/munin

chown -R munin.munin /var/www/html/munin

allow port 4949 in firewall

restart httpd, crond, munin-node

Whitelist domains in exim

Login to the server SSH as root. Make a sender whitelist file.

touch /etc/exim_whitelist_senders

Take a backup of the exim conf and open it.

cp -p /etc/exim.conf /etc/exim.conf.BKP
vi /etc/exim.conf

Add the line on top of the file

addresslist whitelist_senders = wildlsearch;/etc/exim_whitelist_senders

Now search for the line
require verify = sender/callout

Comment that line and add the following below that.

!verify = sender/callout=30s,defer_ok,maxwait=60s
!senders = +whitelist_senders

Save conf file.

Add email address to the /etc/exim_whitelist_senders file one by one. Wildcard is also acceptable here, Eg: *@domain.com

Restart exim

Upgrade phpmyadmin

Go to http://www.phpmyadmin.net/home_page/ and download the latest stable version.
Backup the config.inc.php file currently on the server.
Use the configuration values from your old config.inc.php file to correctly configure the new config.inc.php
Re-name your existing “PhpMyAdmin” directory something like “PhpMyAdmin.old”
Create a new “PhpMyAdmin” directory.
Upload the new files into the new “PhpMyAdmin” directory
Copy the .htaccess file from the old directory and use it for the new directory
Log into your new phpMyAdmin.

CIDR Values

CLASS A


255.0.0.0 – /8
255.128.0.0 – /9
255.192.0.0 – /10
255.224.0.0 – /11
255.240.0.0 – /12
255.248.0.0 – /13
255.252.0.0 – /14
255.254.0.0 – /15

CLASS B


255.255.0.0 – /16
255.255.128.0 – /17
255.255.192.0 – /18
255.255.224.0 – /19
255.255.240.0 – /20
255.255.248.0 – /21
255.255.252.0 – /22
255.255.254.0 – /23
CLASS C


255.255.255.0 – /24
255.255.255.128 – /25
255.255.255.192 – /26
255.255.255.224 – /27
255.255.255.240 – /28
255.255.255.248 – /29
255.255.255.252 – /30