Linux中安装ntp时间服务器
1、安装NTP
yum install -y ntp
2、修改配置文件 阿里云地址: 203.107.6.88
vi /etc/ntp.conf
restrict 203.107.6.88
修改server节点
server 203.107.6.88
3、启动NTP服务&开机启动设置
systemctl start ntpd
4、将NTP服务设置为开机启动
systemctl enable ntpd
5、查看ntpd服务
ntpq -p
人生在于拼搏!!!

浙公网安备 33010602011771号