centos 中文設定

2021-09-01 19:32:35 字數 720 閱讀 6731

英文版更改為中文版

1.安裝中文包

2.設定

使用root使用者開啟vi /etc/sysconfig/i18n

修改

lang="en_us.utf-8"

sysfont="latarcyrheb-sun16"

lang="zh_cn.gbk"

supported="zh_hk.utf-8:zh_hk:zh:zh_cn.utf-8:zh_cn:zh:zh_sg.utf-8:zh_sg:zh:zh_tw.utf-8:zh_tw:zh:en_us.utf-8:en_us:en"

sysfont="latarcyrheb-sun16"

新增中文輸入法

1.需要root許可權,所以要用root登入 ,或su root

2.yum install "@chinese support"

3.exit

4.回到桌面,system->preferences->input method

5.如果沒有,先登出一下。

6.按照提示新增輸入法。

7.最後 再次登出,登入即可。

CentOS設定中文

centos 7.0及其以上的可以直接在設定裡改變語言 7.0以下的版本就需要手動改了 輸入locale,可以檢視你當前使用的語言 輸入locale a 可以檢視你可以使用的語言 命令 yum groupinstall chinese support 然後輸入vi etc sysconfig i18...

CentOS下設定中文編碼設定和中文亂碼解決

centos下設定中文編碼設定 1 安裝支援中文 yum y group install chinese support2 修改字元編碼配置檔案 預設設定為英文 root tony ts tian sysconfig pwd etc sysconfig root tony ts tian sysco...

centos7設定中文

檢視系統是否安裝中文語言包 列出所有可用的公共語言環境的名稱,包含有zh cn locale a grep zh cn 沒有輸出,說明沒有安裝,輸入下面的命令安裝 yum groupinstall fonts y安裝完成,檢視安了哪些中文語言包 locale a grep zh cn zh cn z...