具体安装步骤如下:1、在CentOS 8实例中安装中文支持。
dnf install glibc-langpack-zh.x86_64
2、修改CentOS 8实例系统的字符集。
echo LANG=zh_CN.UTF-8 > /etc/locale.conf
3、使字符集立即生效。
source /etc/locale.conf