From the course: LPIC-1 Exam 102 (Version 5.0) Cert Prep
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configure chrony client - Linux Tutorial
From the course: LPIC-1 Exam 102 (Version 5.0) Cert Prep
Configure chrony client
- [Narrator] Now that we have our rhhost1 VM configured to be an NTP time server, let's go to our second VM and configure it to use our time server. Log in to rhhost2 and open a terminal. Now let's edit the /etc/chrony.conf file using VIM. Type in sudo space VIM space /etc/chrony.conf and hit enter. Enter your password if prompted. Go into insert mode by pressing the insert key or the "I" key. Comment out any existing pool and server lines and add one server line to point to our time server on rhhost1. In my case, it will be server space 192.168.1.69 space iburst. Use the IP address of your rhhost1 VM in your file. Now, say this by typing in "escape:x!" and hitting enter. Now restart the chronyd service. Type in sudo space systemctl space restart space chronyd and hit enter. Let's insure our rhhost2 VM is configured to use NTP by using the timed ACTL command. Type in sudo space timedatectl space set-ntp space true,…
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)
-
-
-
-
-
-
-
-
-
-