4,500
edits
add systemctl start ntpd |
Synchronize with NTP server |
||
Line 15: | Line 15: | ||
| style="width: 50%;" | Enable NTP | | style="width: 50%;" | Enable NTP | ||
| style="width: 50%;" | <div class="cli">$ yum install -y ntp<br>$ systemctl enable ntpd<br>$ systemctl start ntpd</div> | | style="width: 50%;" | <div class="cli">$ yum install -y ntp<br>$ systemctl enable ntpd<br>$ systemctl start ntpd</div> | ||
|- | |||
| style="width: 50%;" | Synchronize with NTP server | |||
| style="width: 50%;" | <div class="cli">$ systemctl stop ntpd<br>$ ntpdate pool.ntp.org<br>$ systemctl start ntpd</div> | |||
|} | |} |