恶意命令: export LANG="en_US";export LANGUAGE="en_US";export LC_ALL="en_US";top
cat /etc/locale.conf
LANG=en_US.UTF-8
修正:
yum groupinstall -y "fonts" # groupinstall 安装软件并安装依赖
yum install -y kde-l10n-Chinese # 安装中文语言包
# yum install *Chinese # 或者安装所有Chinese的包
sed -i 's/LANG=.*/LANG="zh_CN.UTF-8"/g' /etc/locale.conf
source /etc/locale.conf # 立即生效
linux 设置中文 UTF-8 编码 utf : https://eisc.cn/index.php?c=read&id=193&page=1