1、安装语言包
yum -y reinstall glibc-common
2、vim /etc/locale.conf,修改为:
LANG="zh_CN.UTF-8"
3、vim /root/.bash_profile,增加以下两行:
export LANG="zh_CN.UTF-8" export LC_ALL="zh_CN.UTF-8"
4、重启reboot