vim /etc/locale.conf
1 2 |
#LANG="en_US.UTF-8" LANG="zh_CN.UTF-8" |
source /etc/locale.conf
查看语言包,locale -a,如果没有中文支持安装一下
centos7下安装语言包的方式:
1 2 |
yum install kde-l10n-Chinese yum reinstall glibc-common |
centos6下安装语言包的方式:
1 |
yum groupinstall chinese-support |
然后最好关闭所有应用,重启一下操作系统。
本文作者: GavinDong
版权属于: GavinDong博客
文章链接: https://gavindong.com/2006.html
如果使用过程中遇到问题,可 **点击此处** 交流沟通。
版权所有,转载时必须以链接形式注明作者和原始出处及本声明。