In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
What is the basic method of configuring a multilingual environment for the Linux system? many beginners are not very clear about it. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can get something.
Modify the / etc/sysconfig/i18n file, such as
LANG= "en_US.UTF-8", xwindow will display the English interface
LANG= "zh_CN.GB18030", xwindow will display the Chinese interface.
There is also a way to cp / etc/sysconfig/i18n $HOME/.i18n to modify the $HOME/.i18n file, such as
LANG= "en_US.UTF-8", xwindow will display the English interface
LANG= "zh_CN.GB18030", xwindow will display the Chinese interface.
In this way, you can change your interface language without affecting other users.
The modified / etc/sysconfig/i18n file is:
The code is as follows:
LANG= "en_US.UTF-8"
SUPPORTED= "zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT= "latarcyrheb-sun16"
LC_ALL= "en_US.UTF-8"
Export LC_ALL
Restart after setting or use rc.local to make it effective
Or modify the login user. bash_profile file to join
The code is as follows:
Export LANG=zh_CN.GB18030
Export LANGUAGE=zh_CN.GB18030:zh_CN.GB2312:zh_CN
Ubuntu
For example, change the Ubuntu system language environment to English en_US.UTF-8:
View the current system locale, edit the configuration file, and change zh_US.UTF-8 to en_US.UTF-8,zh to en
The code is as follows:
Sudo nano / etc/default/locale
LANG= "en_US.UTF-8"
LANGUAGE= "en_US:en"
CentOS:
Method 1. Use a CD or a medium equivalent to it.
The code is as follows:
# mount / dev/cdrom / mnt/cdrom
# cd / mnt/cdrom
# rpm-ivh fonts-chinese
Method 2.
The code is as follows:
# yum install fonts-chinese
After installation, set the language of the system, either on the desktop or in characters, and modify it to include the following:
The code is as follows:
Vim / etc/sysconfig/i18n
The code is as follows:
LANG= "zh_CN.GB2312"
LANGUAGE= "zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED= "zh_CN.GB18030:zh_CN.GB2312:zh_CN.UTF-8:zh:en_US.UTF-8:en_US:en:ja_JP.UTF-8:ja_JP:ja"
SYSFONT= "lat0-sun16"
SYSFONTACM= "8859-15"
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.