Re: CentOS Hardware clock time setting.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 12/02/2013 06:07 AM, Anand Singh wrote:
> Hi, I would like to sync my CentOS 6.3 hardware clock time to my NTP
> server's time. Can I do that without reboot the hosts?
>
> If yes, it would be great if anyone of you can provide me steps to do that.
> I am newbie in CentOS.
>
> Thanks,
> Anand Singh
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
Using root privs:

/etc/init.d/ntpd stop
/usr/sbin/ntpdate 2.us.pool.ntp.org # (or any other local public ntp server)
/sbin/hwclock --systohc
/etc/init.d/ntpd start

-- 
_____________________
Phil Gardner
PGP Key ID 0xFECC890C
OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux