NPT
# Centos 7
```install: yum install ntp -y```
``vi /etc/ntp.conf``
``server 192.168.1.100 iburst``
``systemctl restart ntp``
``check ntp: ntpq -p``
# Centos 8
``install: dnf install chrony``
``vi /etc/chrony.conf``
``server 192.168.1.100 iburst``
``systemctl enable chronyd``
``systemctl restart chronyd``
``check ntp: chronyc sources``
No Comments