SSH远程登录centos7时:warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
问题描述:
$ ssh root@192.168.199.9 -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory manpath: can't set the locale; make sure $LC_* and $LANG are correct .......
解决方法:
$ vi /etc/environment LANG=en_US.utf-8 LC_ALL=en_US.utf-8