4
2

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 3 years have passed since last update.

RHEL8の日本語化手順

Last updated at Posted at 2020-07-23

RHEL8の日本語化手順

  • 日本語化パッケージのインストール
[root@rhel8-01 jobadmin]# dnf search --all locale | grep ja
    メタデータの期限切れの最終確認: 2:01:33 時間前の 2020年07月24日 05時33分50秒 に実施しました。
    glibc-langpack-ja.x86_64 : Locale data for ja
[root@rhel8-01 jobadmin]#dnf install glibc-langpack-ja.x86_64 -y
~~~~
============================================================================================================
 Package                    Architecture    Version                  Repository                        Size
============================================================================================================
Installing:
 glibc-langpack-ja          x86_64          2.28-101.el8             rhel-8-baseos-rhui-rpms          326 k

Transaction Summary
============================================================================================================
Install  1 Package

Total download size: 326 k
Installed size: 2.1 M
Is this ok [y/N]: y
~~~~
Installed:
  glibc-langpack-ja-2.28-101.el8.x86_64                                                                     

Complete!
[root@rhel8-01 jobadmin]# 
  • ロケールを日本に設定
[root@rhel8-01 jobadmin]# localectl set-locale ja_JP.utf8
  System Locale: LANG=ja_JP.utf8
      VC Keymap: us
     X11 Layout: n/a
[root@rhel8-01 jobadmin]#
  • キーボードを日本語キーボードに設定
[root@rhel8-01 jobadmin]# localectl set-keymap jp106
   System Locale: LANG=ja_JP.utf8
       VC Keymap: jp106
      X11 Layout: jp
       X11 Model: jp106
     X11 Options: terminate:ctrl_alt_bksp
    [root@rhel8-01 jobadmin]#
  • タイムゾーンを Asia/TOKYO に設定
[root@rhel8-01 jobadmin]# timedatectl set-timezone Asia/Tokyo
[root@rhel8-01 jobadmin]# timedatectl status
               Local time: 日 2020-10-04 22:41:51 JST
           Universal time: 日 2020-10-04 13:41:51 UTC
                 RTC time: 日 2020-10-04 13:41:50
                Time zone: Asia/Tokyo (JST, +0900
   System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
[root@rhel8-01 jobadmin]
4
2
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
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?