Help us understand the problem. What is going on with this article?

CoreOSのtimezone設定

More than 5 years have passed since last update.
初期状態はUTC
# date
Thu Dec 26 15:16:18 UTC 2013
Asia/Tokyoにする。
# mkdir /var/lib/timezone/         
# ln -s /usr/share/zoneinfo/Asia/Tokyo /var/lib/timezone/localtime
# date
Fri Dec 27 00:17:10 JST 2013

と思ったが、最新版(296)だとこの方法は使えなかったので以下。

$ echo "TZ='Asia/Tokyo'; export TZ" > ~/.profile
$ source ~/.profile

それでもダメな環境の場合

export TZ=JST-9
date
tukiyo3
インフラ / web開発
http://tukiyo.github.io/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした