Accurate time keeping is important for a number of reasons in IT. This setup is the best practice that helps with problem diagnosis and informal server monitoring. I am living in Asia that's why i'm using this pool.
Install Chrony and Configure The NTP server .
Start the services and enable it
Install Chrony and Configure The NTP server .
# yum -y install chrony
# vi /etc/chrony.conf
#server 0.centos.pool.ntp.org iburst
#server 1.centos.pool.ntp.org iburst
#server 2.centos.pool.ntp.org iburst
#server 3.centos.pool.ntp.org iburst
server 0.asia.pool.ntp.org iburst
server 1.asia.pool.ntp.org iburst
server 2.asia.pool.ntp.org iburst
server 3.asia.pool.ntp.org iburst
add the network range you allow to receive requests
allow 127.0.0.1
:x (save & quit)
Reminder: We have disabled firewalld, So we will add the port 123/udp after the VestaCP installation using Iptables.Start the services and enable it
# systemctl start chronyd
# systemctl enable chronyd
# chronyc sources
# timedatectl set-ntp yes
# systemctl enable systemd-timedated.service
# systemctl restart systemd-timedated.service
# chronyc tracking
# chronyc sources
# chronyc sourcestats
Comments
Post a Comment
You are always welcome to comment here, but your remarks should be relevant to the conversation. To keep the exchanges focused and engaging, we reserve the right to remove off-topic comments, or self-promoting URLs and vacuous messages.
We will try to reply to your queries as soon as time allows.
Regards,
Admin