第一步安装中文字符集:
yum -y groupinstall chinese-support
centos7的字符集配置文件为 /etc/locale.conf
vim /etc/locale.conf 将LANG=”XXXX” 改为LANG=”zh_CN.UTF-8”
centos7之前的版本改/etc/sysconfig/i18n
第一步安装中文字符集:
yum -y groupinstall chinese-support
centos7的字符集配置文件为 /etc/locale.conf
vim /etc/locale.conf 将LANG=”XXXX” 改为LANG=”zh_CN.UTF-8”
centos7之前的版本改/etc/sysconfig/i18n
原文:http://www.cnblogs.com/wujq/p/8066287.html