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.

Configure chrony client

Configure chrony client - Linux Tutorial

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

Start my 1-month free trial

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,…

Contents