Blog Archives

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

Posted in Issues, linux

Munin Installation

cd /usr/local/src wget 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

Posted in Issues

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 =

Posted in Issues, Mail

Hotmail Support

Posted in Issues

Iptables rule to allow access only from one IP

iptables -I INPUT -s (allowip) -p tcp –dport (port) -j ACCEPT iptables -A INPUT -s -p tcp –dport (port) -j DROP

Posted in Issues, Server Security

Disable modsec for a domain

In apache conf under that user add this: <IfModule mod_security2.c> SecRuleEngine Off </IfModule Restart httpd

Posted in Apache, Issues

Mails redirected /dev/null **bypassed**

Its an issue with spamassasign. Edit the file /etc/mail/spamassassin/ and add the following lines: score FH_DATE_PAST_20XX 0.0 restart spamd and exim.

Posted in Issues, Mail

Upgrade phpmyadmin

Go to and download the latest stable version. Backup the file currently on the server. Use the configuration values from your old file to correctly configure the new Re-name your existing “PhpMyAdmin” directory something like “PhpMyAdmin.old”

Posted in Cpanel, Issues, Third party softwares

Fix incorrect time on VPS

In Main Server: # vi /etc/ntp.conf select a server. eg: # ntpdate servername eg: ntpdate

Posted in Issues, VPS

CIDR Values

CLASS A – /8 – /9 – /10 – /11 – /12 – /13 – /14 – /15 CLASS B – /16 – /17 – /18 – /19

Posted in Issues, linux
Blog Stats
  • 115,895 hits

Get every new post delivered to your Inbox.

Join 209 other followers