1.yum安装中文包langpacks-zh_CN.noarch
yum -y install langpacks-zh_CN.noarch
2.yum安装glibc-langpack-zh.x86_64
yum -y install glibc-langpack-zh.x86_64
3.修改环境变量LANG,并验证中文
echo $LANG
export LANG=zh_CN.utf8
date
4.修改回英文,并验证
export LANG=en_US.utf8
date