1.yum install -y kde-l10n-Chinese,輸入該命令按回車鍵
2.localedef -c -f UTF-8 -i zh_CN zh_CN.utf8,輸入該命令按回車鍵
3.vi /etc/profile ,輸入該命令按回車鍵
4.按“i”進(jìn)入插入模式,新增內(nèi)容export LC_ALL=zh_CN.UTF-8,然后按“ESC”鍵輸入wq按回車鍵保存退出vi編輯
5.source /etc/profile,輸入該命令按回車鍵
6.vi /etc/locale.conf,輸入該命令按回車鍵
7.按“i”進(jìn)入插入模式,新增內(nèi)容LANG=”zh_CN.UTF-8”,然后按“ESC”鍵輸入wq按回車鍵保存退出vi編輯即可完成設(shè)置