LinuxProbe 发表于 2020-5-29 18:23:42

快速汉化RHEL7


本文档给出快速汉化RHEL7的方法,此方法同样适用于CentOS7,做汉化操作前,请确保yum源正常。
汉化前:
https://www.linuxprobe.com/wp-content/uploads/2019/12/1-8.png确保yum源正常# cd /etc/yum.repos.d/# lsredhat.reporhel7.repo# cat rhel7.repo name=rhel7baseurl=file:///media/cdromenabled=1gpgcheck=0# df -hFilesystem             SizeUsed Avail Use% Mounted on/dev/mapper/rhel-root   17G3.2G   14G19% /devtmpfs               473M   0473M   0% /devtmpfs                  489M144K489M   1% /dev/shmtmpfs                  489M   14M476M   3% /runtmpfs                  489M   0489M   0% /sys/fs/cgroup/dev/sda1             1014M173M842M18% /boottmpfs                   98M8.0K   98M   1% /run/user/0/dev/sr0               3.6G3.6G   0 100% /media/cdrom汉化:
安装中文包并修改/etc/locale.conf配置文件# yum list kde*ChineseLoaded plugins: langpacks, product-id, search-disabled-repos, subscription-            : managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fastAvailable Packageskde-l10n-Chinese.noarch                  4.10.5-2.el7                  rhel7# yum install -y kde-l10n-Chinese.noarch# echo LANG=zh_CN.UTF-8 > /etc/locale.conf 汉化后:
重启验证汉化结果https://www.linuxprobe.com/wp-content/uploads/2019/12/2-5.pnghttps://www.linuxprobe.com/wp-content/uploads/2019/12/3-5.pnghttps://www.linuxprobe.com/wp-content/uploads/2019/12/4-6.png汉化成功!本文原创地址:https://www.linuxprobe.com/fast-chinesization-rhel7.html编辑:传棋,审核员:薛颢
页: [1]
查看完整版本: 快速汉化RHEL7