יום שני, 23 בספטמבר 2013

CentOS / Ubuntu Time Zone issue resolve

To know when your clock is going to change:
zdump -v /etc/localtime | grep 2013

To install the update Time zone:
yum install tzdata

TUI to configure zone:
tzselect

Importent Path to know:
/usr/share/zoneinfo
/etc/sysconfig/clock
/etc/localtime


**Fix to Ubuntu in old version:
#Ubuntu has an open bug:
#Until fixed:

#Check if the settings are right:
zdump -v /etc/localtime | grep 2013

#If wrong:
mkdir $HOME/dstfix2013
cd $HOME/dstfix2013
sudo zic asia
sudo ln -sf /usr/share/zoneinfo/Asia/Jerusalem /usr/share/zoneinfo/Asia/Tel_Aviv
# reconfigure the system to use the new zone files
sudo dpkg-reconfigure tzdata

# Check again
zdump -v /etc/localtime | grep 2013