Last Updated: February 25, 2016
· dtommasino

Update the time on Centos

It's common practice to use NTP to keep your server time in sync. Before starting up the NTP service for the first time you can use the ntpdate command to sync the time:

ntpdate server

Now start the NTP service and it should keep the time in sync:

sudo service ntpd start