centos8上安装中文字符集

https://www.cnblogs.com/kaishirenshi/p/12669353.html

 

 yum install glibc-common
 yum install -y langpacks-zh_CN
 vim /etc/locale.conf   # 修改这个文件
    LANG=zh_CN.utf8
source /etc/locale.conf
posted @ 2021-12-19 16:55  济南小老虎  阅读(224)  评论(0编辑  收藏  举报