Mac从中文切换英文之后,打开
iterm2
登录centos系统出现如下报错:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
解决
在 /etc/environment 文件中补充如下配置
vi /etc/environment
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
Mac从中文切换英文之后,打开
iterm2
登录centos系统出现如下报错:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
在 /etc/environment 文件中补充如下配置
vi /etc/environment
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
本文标题:Centos warning: setlocale: LC_CT
本文链接:https://www.haomeiwen.com/subject/hojccftx.html
网友评论