Configuring NTP for DNCA on RHEL
You can configure an NTP daemon to synchronize the time of the machine with one or more NTP servers.
First, install the NTP package, which is not included with a minimal installation. After you install the NTP package, select NTP servers, create configuration files, and then enable and start the service.
Configuration overview | Configuration steps |
---|---|
Install the NTP package | If you have not done so already, install the NTP package from your Linux™ distribution. |
Select NTP servers | To synchronize your workstation's time, the
NTP daemon on your workstation contacts one or more NTP servers specified
in the configuration file If an NTP server is not available on the local network, do one of the following steps:
As user
The output must look like the following, which displays the contacted server and the time difference between the local workstation and the server.
If the query fails, following output is likely to come:
|
Create configuration files | Perform the following steps as user root on the machine:
|
Enable and start the NTP service | Perform the following steps as user root on the machine:
|