1. View the system language
[Email protected] ~]# echo $LANGen _us.utf8
2. View system language of the system
[Email protected] ~]# LOCALE-AZH_CNZH_CN.GB18030ZH_CN.GB2312ZH_CN.GBK Zh_cn.utf8
3. Use the command to set the language to Chinese
[Email protected] ~]# localectl Set-locale lang=zh_cn. UTF8
4. Restart View effect
[email protected] ~]# reboot
5. Review the system language again
[Email protected] ~]# echo $LANGzh _cn. UTF8
Tail:
Localectl Set-lcoale. UTF8 suffix why capitalize? It was also a lot of detours to find out.
This is learning Linux 1 months of the first blog, write some concise, haha haha
The tail of the blog, is to solve the problem while leaving the process of some of the questions encountered, due to limited capacity and energy, temporarily do not do in-depth, in the future will be complete.
Modify the CentOS 7 system language to Chinese