How to Sync Time on CentOS

Save

If you want to ensure that your computer is always using the correct time, you can sync the hardware clock with a centralized network. Doing this on a machine running CentOS is a straightforward task. CentOS is a Linux-based operating system based on Redhat. CentOS can, with the NTP service installed, sync with a remote time server. NTP is a native service on CentOS, but it is not installed by default. You set up and synchronize the time server using the CentOS terminal. The terminal is a command-based window that allows control over the operating system.

  • Click "System" and then "Terminal."

  • Type "su yum install ntp" and press the "Enter" key. Input your admin password and press "Enter."

  • Type "chkconfig ntpd on" and press "Enter."

  • Type "ntpdate pool.ntp.org" and press "Enter."

  • Type "/etc/init.d/ntpd start" and press "Enter." The time on your CentOS machine is now synced with the remote time server.

References

Promoted By Zergnet

Comments

You May Also Like

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!