ラベル 時刻変更 の投稿を表示しています。 すべての投稿を表示
ラベル 時刻変更 の投稿を表示しています。 すべての投稿を表示

水曜日, 11月 04, 2009

テキストモードでのタイムゾーンの変更

[概要]
Red Hat系ディストリビューションでのタイムゾーンの変更方法を説明しています。

[詳細]
Red Hat系ディストリビューションでは、GUIでのタイムゾーンの変更に"/usr/bin/system-config-time"を使用して簡単に変更をすることが出来ます。サーバなどでGUIがインストールされていない場合には"/usr/sbin/timeconfig"を使用します。
設定したいタイムゾーンに、矢印キーでカーソルを合わせて、"OK"を押すだけで設定できます。

金曜日, 12月 29, 2006

debian 3.1で、タイムゾーンを変更する方法

tzconfigを使い、タイムゾーンを変更します。
わたしの自宅があるアメリカの太平洋時間に、あわせました。
GLANTANK:/etc/apache2# tzconfig
Your current time zone is set to Asia/Tokyo
Do you want to change that? [n]: y ←変更するので"y"とします。
Please enter the number of the geographic area in which you live:


1) Africa 7) Australia

2) America 8) Europe

3) US time zones 9) Indian Ocean

4) Canada time zones 10) Pacific Ocean

5) Asia 11) Use System V style time zones

6) Atlantic Ocean 12) None of the above


Then you will be shown a list of cities which represent the time zone
in which they are located. You should choose a city in your time zone.

Number: 3←アメリカなので、3を選びました。日本なら、Asia 5)を

Alaska Aleutian Arizona Central East-Indiana Eastern Hawaii Indiana-Starke
Michigan Mountain Pacific Samoa

Please enter the name of one of these cities or zones
You just need to type enough letters to resolve ambiguities
Press Enter to view all of them again
Name: [] Pacific←西海岸なので、"Pacific"
Your default time zone is set to 'US/Pacific'.
Local time is now: Thu Dec 28 17:00:00 PST 2006.←正しく設定されたことを確認。
Universal Time is now: Fri Dec 29 01:00:00 UTC 2006.