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 0.centos.pool.ntp.org
Now start the NTP service and it should keep the time in sync:
sudo service ntpd start
Written by Damian Tommasino
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#