How to setup NTP via ssh:


Procedure

Login as the root user

Type the following command to install ntp
# yum install ntp
Turn on service
# chkconfig ntpd on
Synchronize the system clock with 0.pool.ntp.org server:
# ntpdate pool.ntp.org
Start the NTP:
# /etc/init.d/ntpd start

Posted in
Last update:
2015-12-03 20:39
Average rating:0 (0 Votes)