up vote 1 down vote favorite
share [g+] share [fb]

For various reasons my Linux box is running only at runlevel 3. I need to change the timezone of the box. How do I go about doing this?

link|improve this question
What do time zone and runlevel have to do with each other? – wfaulk Oct 12 '09 at 16:45
runlevel 3 means there is no X. – Andrejs Cainikovs Oct 13 '09 at 6:29
feedback

migrated from stackoverflow.com Oct 12 '09 at 11:47

This question came from our site for professional and enthusiast programmers.

2 Answers

On Debian & Ubuntu systems the proper way to do this is:

dpkg-reconfigure tzdata
link|improve this answer
feedback
# cd /etc
# mv /etc/localtime /etc/localtime.old
# ln -sf /usr/share/zoneinfo/Europe/London localtime

Zoneinfo directory structure may vary for some distros.

More info here and here.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown