Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i'm almost new to linux, so, here is my situation, i have a pc with debian 6 and Webmin 1.570 installed(the easy way), and i want to change the system timezone, i know that in windows server, i'm on

(GMT-05:00) Eastern Time(USA & Canada)

but i don't see nothing like this in the webmin options, and i'm searching on google, but can't find nothing, so, can someone point me the right timezone for me?

thanks

share|improve this question

4 Answers 4

up vote 0 down vote accepted

sudo dpkg-reconfigure tzdata is the easy interactive way for Debian-based systems.

The manual way, which may be more informative, is something along the lines of sudo ln -sf /usr/share/zoneinfo/EST5EDT /etc/localtime

Any of the files in /usr/share/zoneinfo will be valid times, often referred to as major cities in different countries. In general, the city closest to you in your country within the same timezone is proper. Anything in the US on the East Coast can be served by the America/New_York file.

share|improve this answer

Use

sudo dpkg-reconfigure tzdata

and select your timezone.

share|improve this answer
    
I've read that in other webs, but i don't know wich timezone to pick, in windows i know it is (GMT-05:00) Eastern Time(USA & Canada) but what is the equivalent in linux?? –  Kstro21 Aug 15 '12 at 17:14
1  
@Kstro21 America/New_York –  Jeff Ferland Aug 15 '12 at 17:15

Your timezone settings are handled by your OS.

Changing the timezone in Debian is done as below.

dpkg-reconfigure tzdata

Available time zone files are located at /usr/share/zoneinfo

share|improve this answer

I have no idea how to do it with webmin, but here's a workaround.

Log in as root with ssh and type :

dpkg-reconfigure tzdata

You will be prompted various question about where you live, and if you are lucky, the system will guess the good timezone.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.