Timezone

Time zones are special settings, which are used to change Universal Time Clock (UTC) to a local time.

What we need is to install a tzdata package.

# poldek -u tzdata

Now edit the /etc/sysconfig/timezone file.

TIMEZONE="Europe/Warsaw"

Time zones can be found in /usr/share/zoneinfo folder.

To apply changes - restart a timezone service

# service timezone restart

Time Sync

If your host BIOS clock is terribly wrong, you can fix the date from Internet:

NB!: Don't forget to sync Hardware clock:

[root@rescue /pld]# hwclock                                                                                                                                                        
Sun Aug  3 03:39:30 2008  -0.720527 seconds
[root@rescue /pld]# hwclock --systohc
[root@rescue /pld]# hwclock           
Fri May 15 16:06:11 2015  -0.095274 seconds
[root@rescue /pld]# 

TOC