>最近服务器重装,很多软件需要重新安装,其中就包括 ntp 客户端
# 安装
```
yum install ntp -y
```
# 配置文件
vim /etc/ntp.conf
```
# 将自带的server注释掉,填ntp服务器的IP,例如:
server 172.111.222.111
```

# 重启
```
systemctl restart ntpd
systemctl status ntpd
```