How to change server time zone

12 years ago

To change server time use following commnds. date -s 'Sun JUN 12 00:30:00 PST 2012' OR date --set="2 SEP 2013…

Block IP Range using CSF

12 years ago

To block a particular IP range csf  -d 45.0.0.0/8 csf -d 45.213.0.0/16 csf -d 45.213.100.0/24 Then, restart csf. csf -r…

How to use scp command?

12 years ago

To copy files from another server to local server. SCP is the secure command for it. Please use it using…

How to empty /tmp

12 years ago

If you want to delete all files and dirs from /tmp use following command. cd /tmp chattr +i lost+found; deltree…

Error : semget error in httpd

12 years ago

Guys, If you face  semget error while restarting httpd. Please use  following command. ipcs -s | grep nobody | perl…

Warning: main(): open_basedir restriction in effect.

13 years ago

Are you getting following error in apache error logs? Warning: main(): open_basedir restriction in effect. That means php open_basedir protection…

Customize Error documents

13 years ago

How can we customize Error document with .htaccess ? Just add following in your doc root to take the error…

Default Cpanel Page

13 years ago

While accessing site, if you are getting default cpanel page in borwser, then it seems to be problem with virtual…

Disable webmail interface for One domain

13 years ago

How  to disable 'Horde' and 'Neomail' for single user or domain on Cpanel server Just go through following steps: vim…

PERM_FAILURE: SMTP Error

13 years ago

If you are getting following exim error logs, PERM_FAILURE: SMTP Error (state 9): 550-ug-out-1314.google.com [xx.xx.92.175] is currently not permitted to…