Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This is how you might setup ntp.
The city's ntp server is 10.1.3.22.
I has to reinstall ntp to get it to actually install properly.

$ yum list ntp
$ sudo yum install ntp
$ sudo yum reinstall ntp
$ sudo find / -name ntpdate
$ sudo /usr/sbin/ntpdate --help
$ sudo /usr/sbin/ntpdate 10.1.3.22
$ sudo /etc/init.d/ntpd start
$ ps -ef | grep ntp

And if you want a shell script:

sudo yum erase ntp
sudo yum install ntp
sudo /usr/sbin/ntpdate 10.1.3.22
sudo /etc/init.d/ntpd start
  • No labels