Setting Up “NTP (Network Time Protocol) Server” in RHEL/CentOS 7

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

25 Responses

  1. Mihai P says:

    On my Centos 7 machine the following command has been labeled as erroneous in ntp log file:

    restrict 192.168.1.0 netmask 255.255.255.0 nomodify notrap
    

    I changed it to.

    restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
    

    and it worked fine.

  2. Jonas says:

    Can you mention in your article that apparently Centos7 comes with Chrony (seems to be default). When both services are enabled, it seems that Chrony stops the NTP daemon. So I had to stop and disable NTPD and use Chrony instead.

    • Matei Cezar says:

      You can remove or disable Chrony service, which is installed by default in latest versions of CentOS 7 and enable NTP service.

      • Yubby McFly says:

        If you than install the “kde-desktop” YUM group, it again makes sure ‘chronyd‘ is install and activated, disabling ‘ntpd‘.

        The packages that are coming down from the ‘script kiddies’ at Fedora aren’t being screened for issues affecting enterprise implementations…

  3. Anthony.kim says:

    how to ntp client password setting ?

Got something to say? Join the discussion.

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