I download a Zabbix precompiled image. Now, I wan to update time, because in the machine is not OK. How can I do this?
Ad Widget
Collapse
How to update time
Collapse
X
-
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.confComment
Comment