The configuration information of the system default language in CentOS is stored in/etc/sysconfig/i18n. Therefore, you need to modify the file from the underlying layer. 1. vi/etc/sysconfig/i18n replace LANG = & quot; zh_CN.UTF-8 & quot; with LANG = & quot; en_US.UTF-8 & quot; in this way, change Chinese to English environment edit save wq that is
The configuration information of the system default language in CentOS is stored in/etc/sysconfig/i18n. Therefore, you need to modify the file from the underlying layer.
1. vi/etc/sysconfig/i18n
Change LANG = "zh_CN.UTF-8" to LANG = "en_US.UTF-8"
In this way, change Chinese to English.
Edit and save wq.
2. press ctrl + alt + backspace to re-enter the system and log out of the system. Restore the English language environment
3. Be sure to use the root user. otherwise, other users may not have the permission.