[CentOS] Set hardware clock manually
Barry L. Kline
blkline at attglobal.net
Thu Feb 7 17:23:24 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joseph L. Casale wrote:
> I can't reboot a server to set the hardware clock to UTC time, but CentOS was installed with the assumption that the PC was running UTC.
> Is it possible to update the hardware clock to the right time and therefore allow CentOS to maintain the right time without rebooting? I am hoping to use this route for consistency versus changing how CentOS interprets the time so all servers are the same.
>
rdate -s <ntp.clock.of.choice> e.g. rdate -s clock.psu.edu
hwclock --systohc
Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFHqz6MCFu3bIiwtTARAr7QAJ415HJSabLjIHMs7CGJ4sQCaLu9hQCeO+Bg
3Na0TL0lgi3DUlTmc+M3SII=
=zlaZ
-----END PGP SIGNATURE-----
More information about the CentOS
mailing list