User Tools

Site Tools



= NTP - Network Time Protocol =

In order to keep the server with an accurate timekeeper - the server is setup to update its time via 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

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:

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.

ntp_-_network_time_protocol.txt · Last modified: 2022/07/19 20:13 by