CentOS7 set Chinese

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/huoguang_/article/details/90375787

This is provided in CentOS7, CentOS6 is at .etc / sysconfig / i18n profile. Operating under the root user, use the locale command to view the locale, see LANG = en_US.utf8 US English

locale

View profile locale.conf

 ls /etc | grep locale

Edit the configuration file locale.conf

vim /etc/locale.conf

Modify LANG = en_US.utf8 to LANG = zh_CN.utf8, save and exit, and finally to restart it to take effect

Setting Success

 

 

 

 

Guess you like

Origin blog.csdn.net/huoguang_/article/details/90375787