From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using ntpd for serving time

Using ntpd for serving time - Linux Tutorial

From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Start my 1-month free trial

Using ntpd for serving time

- The default NTP server for CentOS is ChronyD, however there are times where you may find yourself administering NTPD. Let's install NDBD and use some of the tools that come with it. First, let's stop ChronyD if it's running and disable it. I'm logged in as user1 but you can use any user you wish, as long as it is in the wheel group so you have sudo admin privileges. Type in 'sudo systemctl stop chronyd' and hit enter, and then to keep it from starting automatically bring your line back and change stop to disable and hit enter again. Now let's install NTBD, type into terminal 'sudo yum install -y ntp' and hit enter. Once that is done type in 'clear'. The next step is to allow NTP traffic through the firewall. Type in 'sudo firewall-cmd --permanent --add-service=ntp' and hit enter. Now we need to reload the firewall rules, type in 'sudo firewall-cmd --reload' and hit enter. At this point we have the NTP server installed,…

Contents