How to sync date/time in Ubuntu Intrepid
In order to keep my servers always showing the correct date/time I use a little software called chrony and make sure I’m using the correct time zone.
All the actions below need superuser privileges
To install it simply use apt-get:
$ apt-get install chrony
Once you’ve installed chrony you need to select your current time zone:
$ tzselect
To make sure it is selected on every boot I just export the TZ environment variable in my /etc/rc.local
$ vi /etc/rc.local
And add the following lines:
# Export timezone
TZ=’Europe/Brussels’; export TZ
I found doing the above was not enough, so I also edited my /etc/timezone file and added the correct time zone there:
$ echo "Europe/Brussels" > /etc/timezone
And still it wasn’t enough, so I reconfigured the package tzdata
$ dpkg-reconfigure tzdata
And finally that did it! To make sure it would still be correct on a future reboot I rebooted my machine:
$ reboot











great post hope to see some additional comments next Tuesday…kisses
Thanks for posting, definitely going to subscribe! See you on my reader.
Hi! I like your srticle and I would like very much to read some more information on this issue. Will you post some more?
Where did you take from such kind of information? Can you give me the source?