Monday, May 10, 2010

Linux Stuff

Timezone settings for CentOS/RedHat

/etc/localtime is the file that deals with time zones.

Files in /usr/share/zoneinfo are what can be used to change these times.

So if your system was installed using BST and you want UTC do the following;

mv /etc/localtime /etc/bst-localtime

ln -s /usr/share/zoneinfo/UTC localtime