ntp时钟同步
服務(wù)器時間的一致性,很關(guān)鍵的。
11.?基于ntp服務(wù)的形式
[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、基于定時任務(wù)形式的
yum install -y ntp
echo "0/20 * * * * ntpdate ?ip &>/dev/null" >>/var/spool/cron/root
*/20 * * * * /usr/sbin/ntpdate ntpupdate.tencentyun.com >/dev/null &
相關(guān)地址:
http://www.ntp.org/
http://www.ntp.org.cn/index.html?????#國內(nèi)時鐘服務(wù)器
轉(zhuǎn)載于:https://www.cnblogs.com/xiaochina/p/5699305.html
總結(jié)
- 上一篇: 微粒贷多久提一次额度
- 下一篇: 试着作答