[CentOS] CentOS 6: hostname and timezone

Tue Oct 4 14:41:14 UTC 2011
lhecking at users.sourceforge.net <lhecking at users.sourceforge.net>

Alexander Farber writes:
> Actually I already seem to have the correct timezone file,
> but why is the time wrong?
> 
> 
> afarber at CentOS-60-64-minimal:~> sudo diff
> /usr/share/zoneinfo/Europe/Berlin /etc/localtime
> 
> afarber at CentOS-60-64-minimal:~> date
> Wed Oct  5 00:35:39 CEST 2011
> 
> Should I:
> 
>    chkconfig ntp on
>    service ntp start
> 
> Or is the reasone elsewhere?
> 
> Sorry for the basic questions, I'm new to CentOS 6
 
 ntp will change the time in small increments only. If there's a big gap,
 and if you can live with a big jump, set the time manually and then enable
 ntp.

 Also check out system-config-date-1.9.60-1.el6.noarch.rpm.