CentOS: Difference between revisions

Jump to navigation Jump to search
176 bytes added ,  2 April 2018
Synchronize with NTP server
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>
|}
|}

Navigation menu