设置时间同步(ntp)详细步骤

所有节点同时操作如下步骤

1.安装ntp

yum install ntp

2.配置开机启动

chkconfig ntpd on

3.检查是否设置成功(2-5为on则为成功)

chkconfig --list ntpd

4.设置同步(时钟服务器根据实际环境设置、本文采用210.72.145.44-国家授时中心服务器IP地址)

ntpdate -u ntp.sjtu.edu.cn

猜你喜欢

转载自blog.csdn.net/Android_xue/article/details/81904781