Do we need to install a time sync service?

Posted July 4, 2015 4k views
Linux Basics

Do we need to install a time sync service on the droplets or is the hardware clock somehow synced? Using CentOS if that’s significant.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

Type the following yum command to install ntp
“`yum install ntp ntpdate ntp-doc

Turn on service, enter:

chkconfig ntpd on

Synchronize the system clock with server


Start the Deamon

/etc/init.d/ntpd start

If it works click that hearth to show me some love :-)

So, droplet clocks will drift?

  • Yes and No, it depends if you have the correct time.

    I never used CentOS so I don’t know if it has a build in time sync like Debian/Ubuntu

Yes the clock in your VM will drift.
Install ntpd as @eldin suggested and you are all set.