Centos Configure time to Europe/Amsterdam

I always have some time issues in Linux. Here the howto:

Check the time

# date
Fri Mar 18 21:50:43 CET 2011

Install and configure NTP

# yum install ntp
# service ntpd stop
# ntpdate pool.ntp.org
# /etc/init.d/ntpd start
# chkconfig ntpd on

Configure the localtime

# cd /etc/
# ls -la |grep localtime
# /etc/localtime -> /usr/share/zoneinfo/Europe/Amsterdam
# ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime

Configure the shell time

export TZ=CET

Author: Thomas Faddegon

Bla bla bla