LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-19-2009, 02:02 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Changing time zone


I have a dedicated server with root access running Debian that was set up in the wrong time zone. The files that control time zone I have found and could manually modify. However, before doing it that way (I would if it were Slackware) I'd like to ask if there is some "official" admin tool in Debian for changing the time zone. If there is, I'd rather do that to make sure all things are covered.
 
Old 06-19-2009, 02:11 PM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
You can use tzselect.
Here's a link that may help:

http://www.debianhelp.co.uk/time.htm
 
Old 06-19-2009, 05:55 PM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
The link suggested it would set the time, but the man page said it would not. I tried, anyway, and it did not set the time. It did tell me the environment variable (TZ) to change, and what to change it to, for the current session time zone. The man page did say the command to use was:
Code:
dpkg-reconfigure tzdata
and that then did set the time zone widely. So thanks for the lead.
 
Old 06-20-2009, 10:47 AM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Cool.Looks like we have both learned something here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting time and time zone altogether properly in Slack-current, KDE4 spaceballs Slackware 3 04-20-2011 05:15 AM
Time skew of 580 min when I set my time zone in Gentoo scooter2 Linux - Newbie 1 03-05-2009 10:27 AM
Time Zone changing in March Help please! cereal83 Slackware 2 01-17-2007 01:57 PM
Changing the Time Zone from the Command Line unclebyron Linux - Newbie 1 02-06-2004 11:30 AM
Changing time zone... tinaa Linux - General 3 07-11-2003 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration