In /etc the file, localtime, is a link to or copy of a file containing information about your time zone. Zone information files are usually in /usr/share/zoneinfo but this depends on your distribution. So if your localtime file points to a zone info file that is not your time zone you can change it by browsing the directories in /usr/share/zoneinfo to find your country, then find your city or a city in the same time zone and link localtime to it.
# ln -sf /usr/share/zoneinfo/Africa/Johannesburg /etc/localtime
Showing posts with label Services. Show all posts
Showing posts with label Services. Show all posts
Cpanel restart services
Posted by Unknown at 00:16 0 comments/scripts/restartsrv mysql
/scripts/restartsrv httpd
/scripts/restartsrv bind
(proftpd,exim,sshd,cppop,bind,mysql)
/etc/rc.d/init.d/cpanel restart
/scripts/reswhostmgr
/etc/rc.d/init.d/portsentry start
/etc/rc.d/init.d/network restart
/etc/sysconfig/network-scripts (where ip’s are stored)
/etc/init.d/exim restart
services exim stop
Iptables services
Posted by Unknown at 00:09 0 commentsservice iptables start
service iptables stop
service iptables restart
Subscribe to:
Posts (Atom)