Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

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

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

    
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

2 Answers 2

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

dpkg-reconfigure tzdata
share|improve this answer
# 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.