1. Install ntp package.
2. Customize configuration if required: /etc/ntp.conf
2. As root enable the service in systemd:
systemctl enable ntpd.service3. Start the service:
systemctl start ntpd.service
It takes several minutes for the service to adjust the time. If the clock is skewed by more than 17 minutes then use the following command to perform a manual time sync:
ntpdate 0.gentoo.pool.ntp.orgTo verify the NTP daemon is running:
ps -lA|grep ntp
No comments:
Post a Comment