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 - Linux Tutorial
From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)
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,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Set the system date, time, and timezone5m 17s
-
Configure locale settings and environment variables5m 39s
-
(Locked)
Install and start chrony2m 3s
-
(Locked)
Configure chrony server5m 39s
-
(Locked)
Configure chrony client1m 52s
-
(Locked)
Use cryonyc1m 49s
-
(Locked)
Using ntpd for serving time4m 10s
-
(Locked)
-
-
-
-
-
-
-
-
-
-