PDA

View Full Version : How to update time


aninoj
13-09-2007, 13:16
I download a Zabbix precompiled image. Now, I wan to update time, because in the machine is not OK. How can I do this?

aninoj
13-09-2007, 13:46
I resolve the problem changing in Bios the clock...

cstackpole
19-09-2007, 21:55
You can always use NTP to keep your system time correct.
apt-get ntp ntpdate
or
yum install ntp ntpdate

then do something like
ntpdate 1.debian.pool.ntp.org (or whatever other ntp server you know of)
to grab the correct time and then to run it so it auto corrects do
/etc/init.d/ntpd start

you can configure the ntp host and lookups in /etc/ntp/ntp.conf