1.yum search ntp(搜索可安装的ntpn)
2.yum install ntp.x86_64
3.service ntpd start
4.ps -ef | grep ntpd
5.date -R
6.hwclock --systohc(同步时钟)
7.clock --show
参考:https://blog.csdn.net/u011410254/article/details/46900457
1.yum search ntp(搜索可安装的ntpn)
2.yum install ntp.x86_64
3.service ntpd start
4.ps -ef | grep ntpd
5.date -R
6.hwclock --systohc(同步时钟)
7.clock --show
参考:https://blog.csdn.net/u011410254/article/details/46900457