Server Time
Server Time
I am having this problem from past week or so....time of all the servers in my network is set to EST and every time i set it with date --set "NEW_DATE_TIME"...the settings get vanished after some time....please tell me how can i set time of my local servers to Pakistan Stanadard Time..
Regards
Abdulrehman
Abdulrehman
it depends on the linux distribution, but usually you have to do something like then turn off ntpd if it's running, and type(or time.windows.com, or ntp.ubuntu.com -- they all should be synchronized). you'll probably have to restart a few services (mail daemons, etc) for them to get the new time.
after that, enable ntpd and make sure it runs all the time.
Code: Select all
cp /usr/share/zoneinfo/Asia/Karachi /etc/localtime
Code: Select all
ntpdate time.apple.com
after that, enable ntpd and make sure it runs all the time.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?