Linux 设置网络时间同步(以centos为例)
在CentOS 5以后不再区分客户端和服务器,只要配置了NTP,它就会提供NTP服务。
特殊说明:使用主机需要可以联网
1、确认已经ntp程序包:
# yum install ntp
2、配置时间源
# vi /etc/ntp.conf
server pool.ntp.org #可选择其他优先服务器
server 0.ntp1.aliyun.com
server 1.ntp2....
原创
2018-10-24 13:54:07 ·
219 阅读 ·
0 评论