How to configure NTP server on Linux

Linux System Administrator

Network Time Protocol(NTP). it’s using UDP port 123. NTP is using for synchronizing the clocks of computers over a network. Now we share how to install NTP server on Linux.

Install NTP package

yum install ntp

after install then we open NTP configuration file and change public server project and replace it with your country.


then allow the client to synchronize the clocks

restrict netmask nomodify notrap

Finally, start NTP service

service ntpd start

2 thoughts on “How to configure NTP server on Linux

Leave a Reply

Your email address will not be published. Required fields are marked *