1.查看当前字符集是否存在zh_CN.utf8

locale -a |grep CN

2.安装中文包

yum install -y langpacks-zh_CN

2.检查是否安装成功

cat /etc/locale.conf
LANG="zh_CN.UTF-8"

3.修改后重启即可

init 6

Q.E.D.

知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

You got to put the past behind you before you can move on.