linux服务器各个节点时间同步

所有节点安装NTP

yum install ntp

配置开机启动:

chkconfig ntpd on

检查是否设置成功:

chkconfig --list ntpd 2-5on状态则成功)

设置同步:

ntpdate -u ntp.sjtu.edu.cn(时钟服务器根据实际环境设置本文采用210.72.145.44-国家授时中心服务器IP地址

猜你喜欢

转载自blog.csdn.net/paulfrank_zhang/article/details/80680053