Setting the timezone on CentOS

Setting the timezone on CentOS

There are loads of timezone data files stored in:

/usr/share/zoneinfo

So for my CentOS install, to set my machine to Melbourne time, I use:

$ sudo rm /etc/localtime
$ sudo ln -s /usr/share/zoneinfo/Australia/Melbourne /etc/localtime

Please Register.


If you wish to add comments.
Cheers
Adam