Modified CentOS 7 system language to Chinese

Source: Internet
Author: User
Tags locale

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.