Linux 之校准服务器时间
Linux ntp About 220 words查看当前时间
date
安装 ntp
yum install ntp
设置 ntp
ntpdate cn.pool.ntp.org
注意
如遇到: Operation not permitted
。
解决办法:先关闭防火墙,再同步时间,最后再开启防火墙。
- 关闭防火墙
service iptables stop
- 同步时间
ntpdate cn.pool.ntp.org
- 开启防火墙
service iptables start
Views: 3,874 · Posted: 2019-03-28
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓

Loading...