maintain time

Maintain accurate time synchronization using NTP and configure the time zone to ensure correct time stamps for events recorded by the system journal and logs.

Task 1:

Configure your system so that it is and NTP client of server.domain11.example.com

Solution:

yum install chrony
systemctl start chronyd
systemctl enable chronyd
vim /etc/chrony.conf
server server.domain11.example.com iburst
systemctl restart chronyd
systemctl enable chronyd

Task 2:

Configure your system so that it is and NTP client of utility.domain15.example.com. The system time should be set to your timezone and ensure NTP sync is configured.

yum install chrony
vim /etc/chrony.conf
server utility.domain15.example.com iburst
timedatectl set-timezone Asia/Baku
timedatectl set-ntp on

systemctl restart chronyd && systemctl enable chronyd
systemctl status chronyd

Last updated

Was this helpful?