From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

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

Configure the chrony client

Configure the chrony client

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Configure the chrony client

- [Instructor] Now that we have 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 into rhhost2 and open a terminal. Now let's edit the chrony.conf file using VI. Type in sudo space VI space slash etc slash chrony.conf and hit enter. Type in your password if prompted. Go into answer mode by pressing the I key. And comment out any pool or server lines. Now we'll add one server line to point to our time server on rhhost1. In my case, it would say, server space 192.168.3.115 space iburst. Use the IP address of your rhhost1vm in your file. Now save this by typing escape colon ex exclamation mark, and hitting enter. Now restart the chronyd service. Type in sudo space system CTL space restart space chronyd. And hit enter. Let's ensure our rhhost2vm is configured to use NDP by using the time date CTL command. Type in sudo space time date CTL space set…

Contents