Linuxでのタイムゾーン変更

現在の設定を確認、UTCになっている。

[root@www]# strings /etc/localtime
TZif2
TZif2
UTC0
[root@www]#

コピーを残してタイムゾーンを変更。変わった。

[root@www]# ln -sf  /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
[root@www]# strings /etc/localtime
TZif2
	JCST
TZif2
JCST
JST-9
[root@www]#

 

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です