※こちらは旧サイトです(新サイトはこちら)
Debianの日本語環境設定と同じような雰囲気
# localectl status
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us
// ない
# localectl list-locales | grep -i ja
// 定義
# localedef -f UTF-8 -i ja_JP ja_JP
// 追加された
# localectl list-locales | grep -i ja
ja_JP
ja_JP.utf8
# localectl set-locale LANG=ja_JP.utf8
# localectl status
System Locale: LANG=ja_JP.utf8
VC Keymap: us
X11 Layout: us
# source /etc/locale.conf
// 何もない
# localectl list-keymaps
Couldn't find any console keymaps.
# yum install kbd
# localectl list-keymaps | grep jp
jp
jp-OADG109A
jp-dvorak
jp-kana86
jp106
# localectl set-keymap jp106
# localectl status
System Locale: LANG=ja_JP.utf8
VC Keymap: jp106
X11 Layout: jp
X11 Model: jp106
X11 Options: terminate:ctrl_alt_bksp
# timedatectl status
Local time: Mon 2016-01-04 02:52:53 UTC
Universal time: Mon 2016-01-04 02:52:53 UTC
RTC time: Mon 2016-01-04 02:52:51
Time zone: UTC (UTC, +0000)
NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: no
DST active: n/a
# date
Mon Jan 4 02:56:12 UTC 2016
# timedatectl list-timezones | grep Tokyo
Asia/Tokyo
# timedatectl set-timezone Asia/Tokyo
# timedatectl status
Local time: Mon 2016-01-04 12:20:58 JST
Universal time: Mon 2016-01-04 03:20:58 UTC
RTC time: Mon 2016-01-04 03:20:56
Time zone: Asia/Tokyo (JST, +0900)
NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: no
DST active: n/a
# date
Mon Jan 4 12:21:20 JST 2016