检查当前字体:
echo $LANG
安装glibc-common ,langpacks-zh_CN:
yum install glibc-common
yum install -y langpacks-zh_CN
修改配置文件
vim /etc/locale.conf
LANG=zh_CN.utf8
配置立即生效
source /etc/locale.conf
检查当前字体:
echo $LANG
安装glibc-common ,langpacks-zh_CN:
yum install glibc-common
yum install -y langpacks-zh_CN
修改配置文件
vim /etc/locale.conf
LANG=zh_CN.utf8
配置立即生效
source /etc/locale.conf