Tuesday, 8 September 2020

Synchronize Time on Installed Linux Operating Systems NTP

Synchronize Time on Installed Linux Operating Systems When Linux machines are provisioned with an operating system, the Network Time Protocol (NTP) service is not running. After moving the newly provisioned Linux machines to a network with access to the NTP server, you must synchronize the time on the machines to network time. Prerequisites Configure the Linux machines on a network with access to the NTP server. Identify the NTP servers used in your environment. Procedure On the Linux machine, log in as root. Run the ntpdate -u command to update the machine clock. For example, ntpdate -u ntp-time.for.mydomain. Open the /etc/ntp.conf file and add the NTP servers used in your environment. You can add multiple NTP servers similar to these examples. server ntp-time.for.mydomain server otherntp.server.org server ntp.research.gov Run the service ntpd start command to start the NTP service and implement you configuration changes.

No comments:

Post a Comment