In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to set the language constant of raspberry pie 3b. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.
Ssh logs in to raspberry pie. After installing some commonly used software using apt-get, it is strange to find that there is such a warning every time:
Perl: warning: Setting locale failed.perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "zh_CN.UTF-8", LANG = "en_GB.UTF-8" are supported and installed on your system.perl: warning: Falling back to a fallback locale ("en_GB.UTF-8")
The study found that this is because the ssh server of raspberry pie enables the setting of accepting client language constants: that is, in / etc/ssh/sshd_config
AcceptEnv LANG LC_*
The system does not recognize the relevant locale. After checking, it is found that this is zh_CN.UTF-8, and the output warning can be reproduced using the command.
Perl-e exit
The workaround is to disable AcceptEnv or install the appropriate locale.
The latter is used here:
Sudo vi / etc/locale.gen
Then comment out the line of zh_CN UTF-8
Rerun the following command to install locale automatically:
Sudo locale.gen
After that, warning was gone.
So much for sharing about how to set language constants for raspberry pie 3b. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.
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.