0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

簡単にCentOS タイムゾーンの設定をする

Posted at

タイムゾーンを日本時間に変更する。

動作確認は CentOS release 6.4 (Final)で行いました。

タイムゾーンを指定します

ZONE="Asia/Tokyo"#タイムゾーンを指定します```

## localtimeというファイルを作成します
```sudo cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime```

## 本当に変わったか確認します
```date 2016年  1月  8日 金曜日 16:41:21 JST ```
想定通りに日本時間になりました。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?