This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. ntpd update | |
$ sudo yum update ntp | |
2. ntpd stop | |
$ sudo service ntpd stop | |
3. kernel retention time・clear frequency offset | |
$ sudo ntptime -s 0 -f 0 | |
4. change ntpd slew mode boot options | |
$ sudo sed -i -e 's/OPTIONS="\(.*\)\-g"/OPTIONS="\1\-g \-x"/' /etc/sysconfig/ntpd | |
5. ntpd start | |
$ sudo service ntpd start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment