最近用SSH访问CentOS的时候总是报如下的错误:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
在网上找到了解决方案,编辑/etc/environment
文件,并添加如下内容:
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
最近用SSH访问CentOS的时候总是报如下的错误:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
在网上找到了解决方案,编辑/etc/environment
文件,并添加如下内容:
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
本文标题:CentOS setlocale LC_CTYPE错误解决方案
本文链接:https://www.haomeiwen.com/subject/lgcqyttx.html
网友评论