ntp时钟同步
服務器時間的一致性,很關鍵的。
11.?基于ntp服務的形式
[root@server0 ~]# yum -y install chrony???//NTP客戶端????centos7.x? centos6.x??ntp
[root@server0 ~]# vim /etc/chrony.conf
server classroom.example.com iburst
[root@server0 ~]# systemctl enable chronyd
[root@server0 ~]# systemctl restart chronyd.service
22、基于定時任務形式的
yum install -y ntp
echo "0/20 * * * * ntpdate ?ip &>/dev/null" >>/var/spool/cron/root
*/20 * * * * /usr/sbin/ntpdate ntpupdate.tencentyun.com >/dev/null &
相關地址:
http://www.ntp.org/
http://www.ntp.org.cn/index.html?????#國內時鐘服務器
轉載于:https://www.cnblogs.com/xiaochina/p/5699305.html
總結
- 上一篇: 微粒贷多久提一次额度
- 下一篇: 冲正人民币是什么意思