Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Setup time synchronisation in CentOS

Answer:

You can install the NTP server using yum.

# yum install ntp

And enable the services during server startup

# chkconfig --levels 235 ntpd on
# ntpdate 0.pool.ntp.org
# /etc/init.d/ntpd start

How to change the default Ubuntu's NTP server

Answer:

If you are using the ntpd daemon, edit the file /etc/ntp.conf and change

server uk.pool.ntp.org
server de.pool.ntp.org

You can fine more servers in this link: http://www.pool.ntp.org/en/

Setup time synchronisation in Ubuntu

Answer:

Install the ntp daemon is what you need.

# sudo apt-get install ntp