Linux系统修改中文语言

1、查看是否有中文语言"zh_CN.UTF-8"
   locale
2、如果有直接下一步,如果没有 yum 安装
   yum -y groupinstall chinese-support
3、修改系统字符集为中文
   # 临时生效
     export LANG="zh_CN.UTF-8"
   # 永久生效 把export LANG="zh_CN.UTF-8 追加到/etc/profile系统配置文件中
     echo "export LANG="zh_CN.UTF-8"  >> /etc/proflile
4、重新加载 /etc/profile     
   source /etc/profile       
posted @ 2020-12-28 20:01  迎风飘扬的蓝色碎花  阅读(911)  评论(0编辑  收藏  举报