每次通过SSH登录到我的CentOS 6服务器时,我得到这个错误
任何人都可以解释这个错误是什么意思&怎么修?
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
修复:
感谢Millie Smith( http://stackoverflow.com/users/2850543/millie-smith)& http://linuxforums.org.uk/index.php?topic=10318.0
原文链接:https://www.f2er.com/centos/374253.html感谢Millie Smith( http://stackoverflow.com/users/2850543/millie-smith)& http://linuxforums.org.uk/index.php?topic=10318.0
通过ssh使用root用户
运行这些命令
vi /etc/environment
&安培;添加以下行:
LANG=en_US.utf-8 LC_ALL=en_US.utf-8