# Cent OS 7Linux 时间同步最简单的方式就是安装ntp服务
#安装ntp服务
yum install -y ntp
# 更改服务器地址为阿里云的时间服务器
vim /etc/ntp.conf
# 增加一行
server ntp1.aliyun.com
# 启动服务
systemctl start ntpd.service
# 设置开机启动
systemctl enable ntpd.service
03-03
4647
03-02
1934