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 server

Configure chrony server - Linux Tutorial

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

Start my 1-month free trial

Configure chrony server

- [Instructor] To configure our Chrony server to accept local network requests, we'll need to know our network IP address. Make sure you're logged into your rhhost1 VM and then in a terminal, type in ifconfig. You can also use ip space addr as well, but I find the output is easier to read on the legacy ifconfig command. I can see that my IP address is 192.168.1.69 and my network mask is 255.255.255.0. This makes my network address 192.168.1.0. We need to remember this for later. For this exercise, we'll configure chronyd to accept network time requests from clients in the local network. For this, we'll configure chronyd, and then open a hole in the firewall. To configure Chrony as an NTP time server, we'll want to edit the /etc/chrony.conf file. Let's do this with Vim. Type in clear and then type in sudo space vim space slash etc slash chrony dot conf and hit Enter. Type in your password if prompted. Comments start…

Contents