CentOS7配置中文
yum install kde-l10n-Chinese -y
vim /etc/locale.conf
修改为zh_CN.UTF-8
vim /etc/environment
添加
LC_ALL=zh_CN.UTF_8
LANG=zh_CN.UTF_8
source /etc/locale.conf
- 重新登录
yum install kde-l10n-Chinese -y
vim /etc/locale.conf
修改为zh_CN.UTF-8
vim /etc/environment
添加
LC_ALL=zh_CN.UTF_8
LANG=zh_CN.UTF_8
source /etc/locale.conf