Table of Contents
Ntp_-_Network_Time_Protocol
= NTP - Network Time Protocol =
In order to keep the server with an accurate timekeeper - the server is setup to update its time via ntp.hea.net. This server can then if require, act as a ntp server for a local network.
To Install: apt-get install ntp ntpdate
Optional if you want to choose to synchronise with your own ntp server as opposed to debians. edit /etc/ntp.conf and change: server ntp.hea.net
To start/ restart /etc/init.d/ntpdate start|restart and /etc/init.d/ntp-server start|restart Optional - Also - to tweak boot-up preferences. Not required. sysv-rc-conf
Xen - Time, Date and Virtual Machines (VMs)
Even if you install ntp and get it working, it may not be able to update the system time or date. Similarly the “date” command itself may not be able to set the system time. If your using Xen and want to set the time on a Virtual Machine, you will need to run the following on each VM: echo 1 > /proc/sys/xen/independent_wallclock Source: http://lists.xensource.com/archives/html/xen-users/2005-05/msg00169.html
Time Zone
Depending if your in GMT or accounting for daylight savings etc. you would be well advised to run the following:
tzconfig ↔ old debian way
dpkg-reconfigure tzdata
#its a simple selection from there.