CentOs 8设置中文 dnf install glibc-langpack-zh.x86_64 #安装中文支持 echo LANG=zh_CN.UTF-8 > /etc/locale.conf #修改系统的字符集 source /etc/locale.conf #使立即生效