Linux ntp同步阿里云网络时间

# 下载安装ntp
yum install ntp -y
# 同步阿里云网络时间
ntpdate -u ntp.aliyun.com
# 配置修改,添加阿里云网络时间服务器
vim /etc/ntp.conf
server ntp2.aliyun.com iburst
server ntp3.aliyun.com iburst
server ntp4.aliyun.com iburst
posted @ 2022-06-29 11:11  海中明月  阅读(1169)  评论(0编辑  收藏  举报