Tag Archives: date

Home »  Tag: date

Here you get a running NTP client in 1 minute: RedHat/CentOS/Scientific Linux Install NTP in Debian/Ubuntu Solaris (9,10,11) RedHat/CentOS/Scientific Linux sudo yum install ntp chkconfig ntpd on Make saure you have a few server in the ntp.conf # cat /etc/ntp.conf |grep server # Use public servers from the pool.ntp.org project. server 0.centos.pool.ntp.org server 1.centos.pool.ntp.org server 2.centos.pool.ntp.org #or for Redhat server 0.rhel.pool.ntp.org server 1.rhel.pool.ntp.org server 2.rhel.pool.ntp.org check for the servers by using # ntpq -pn remote refid st t when poll reach delay offset jitter ================================================================== 54.247.170.181 194.109.22.18 3 u 8 64 3 36.923 12.195 11.683 94.247.49.238 .GPS. 1 u 6 64 3 27.578 2.822 3.068 46.51.185.173 193.190.230.65 2 u 8 64 3 17.190 3.408 2.773 Set the server and time by selecting one serer to contact: service ntpd stop ntpdate -b 0.rhel.pool.ntp.org service ntpd start check date: date   Install NTP in Debian/Ubuntu #apt-get install ntp ntpdate ntp-server This will […]

%d bloggers like this: