Linux修改语言支持为中文
CentOS7
[root@LNMP default]# vi /etc/locale.conf
CentOS7之前版本
[root@LNMP default]# vi /etc/sysconfig/i18n
[root@LNMP default]# vi /etc/locale.conf
将LANG="en_US.UTF-8"修改为:
LANG="zh-CN.UTF-8"
如果没安装语言包,需要安装语言包:
yum groupinstall "fonts"
yum install kde-l10n-Chinese