typestatusdateslugsummarytagscategoryiconpassword1、安装ntp服务软件包:2、将ntp设置为缺省启动:3、修改启动参数增加-g -x参数,允许ntp服务在系统时间误差较大时也能正常工作:4、启动ntp服务:5、将系统时区改为上海时间(即CST时区):6、输入date命令查看时间是否正确 Author:JosueURL:https://kakarot.cc/article/Centos7-timeCopyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!Relate PostsCentos密钥改为用户名登陆上一篇MySQL高级&优化下一篇Centos密钥改为用户名登陆下一篇Centos密钥改为用户名登陆