Configuring the Timezone on your Dedicated Server

The timezone is set by the file /etc/localtime. In order to set this up corectly on your Dedicated Server you will need to first remove /etc/localtime and
then create a symlink to the correct zonefile in /usr/share/zoneinfo. You will then want to run ntpdate to sync up properly.

cd /etc
rm -rf localtime
ln -s /usr/share/zoneinfo/America/New_York localtime
ntpdate -b ntp.carohosting.com

Just replace “America/New_York” with whatever timezone file you want in /usr/share/zoneinfo.

 

Both comments and pings are currently closed.

Comments are closed.