CentOS 6 & 7 更改系统语言

中文:LANG=“zh_CN.UTF-8”
英文:LANG=“en_US.UTF-8”

CentOS 6 :

中英文互换:
1. 进入 i18n 文件 [root@localhost ~]#vim /etc/sysconfig/i18n
2. 将中英文互换即可
3. 重启 [root@localhost ~]#reboot

CentOS 7 :

中英文互换:
1. 进入 locale.conf 文件:[root@localhost ~]#vim /etc/locale.conf
2. 讲中英文互换即可
3. 重启 [root@localhost ~]#reboot

猜你喜欢

转载自blog.csdn.net/qq_40606798/article/details/82288589