In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to display Chinese on the CentOS command line". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Among the many users who use CentOS, many have this problem, that is, how to display Chinese on the CentOS command line? Let's solve this problem by displaying Chinese on CentOS command line 5.x as an example.
*, open the language support file:
# vim / etc/sysconfig/i18nLANG= "en_US.UTF-8" ← find this line and change "UTF-8" to "GB2312"
Second, install the shell of the Chinese environment:
First install the libstdc++ .so.5 package: # yum install libstdc++.so.5
Download zhcon:# wget http://nchc.dl.sourceforge.net/sourceforge/zhcon/zhcon-0.2.3-1.i386.rpm again
Install the downloaded zhcon:# rpm-ivh zhcon-0.2.3-1.i386.rpm
After that, you can use the zhcon command to display Chinese.
Http://linux.chinaunix.net/techdoc/desktop/2008/09/22/1033890.shtml
If you log in to the server through SSH, such as logging in with PuTTY, you do not need to install zhcon to achieve Chinese display. For more information, please see: Putty Chinese tutorials log in with putty, so that the address of the above wget can be copied directly, without having to type into the command line interface one by one. The method of displaying Chinese on the CentOS command line is described above.
This is the end of "how to display Chinese on the CentOS command line". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.