1.查看系统是否支持简体中文 locale -a 2.修改编码方式 vim /etc/sysconfig/i18n 将文件内容修改为下面文本: LANG="zh_CN.UTF-8" SUPPORTED="zh_CN.GB18030:zh_CN:en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb_sun16"
Each time I SSH to my Fedora Server, the locale setting is not right. $ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: ??? LC_ALL ????????: ????????? LC_CTYPE=UTF-8 LC_NUMERIC="zh_CN.UTF-8" LC_TIME="
系统环境 # cat /etc/redhat-release Red Hat Enterprise Linux release 8.0 (Ootpa) 安装依赖 # yum install -y yum-utils device-mapper-persistent-data lvm2 Last metadata expiration check: 0:33:56 ago on Tue 18 Feb 2020 12:30:53 AM UTC. Dependencies resolved. ====