When we installed the Ubuntu Server version, someone may choose to install the Chinese environment, because it is good to set the time zone and other parameters, but after the installation, run some commands will be a Chinese garbled hint, look at the very first egg pain, we need to change it into an English environment. We need to modify the file/etc/default/locale#sudo vim/etc/default/l ...
When we installed the Ubuntu Server version, someone may choose to install the Chinese environment, because it is good to set the time zone and other parameters, but after the installation, run some commands will be a Chinese garbled hint, look at the very first egg pain, we need to change it into an English environment.
We need to modify the file/etc/default/locale
#sudo Vim/etc/default/locale
The Chinese setting is:
Lang= "ZH_CN. UTF-8 "
Language= "Zh_cn:zh"
Lang= "ZH_CN. UTF-8 "
Language= "Zh_cn:zh"
Modified to:
Lang= "en_US. UTF-8 "
Language= "En_us:en"
Lang= "en_US. UTF-8 "
Language= "En_us:en"
Change the corresponding zh to EN, change cn to us, and then the restart will take effect.
Ubuntu system changed from Chinese environment to English environment