前几天登录服务器发现出现了这些个警告,一直没时间去处理他,今天难得有空,处理一下并记录下来,希望可以帮助到有需要的朋友. 警告信息如下: Last login: Tue May :: from 192.168.1.139 -bash: warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.UTF-8mb4): No such file or directory -bash: warning: setlocale: LC_COLLATE…
1解决iterm远程登录主机报错 -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory 2 更改Mac本机的ssh_config,而不是更改服务器的 sudo vi /etc/ssh/ssh_config 注释掉 SendEnv LANG LC_* 3 重新登陆远程主机,解决…
升级glibc库后,使用xShell登录linux,提示: Connecting to ... Connection established. To escape to local shell, press Ctrl+Alt+]. WARNING! The remote SSH server rejected X11 forwarding request. Last login: Mon Mar :: from 192.168.1.216 -bash: warning: setlocale: L…
使用 apt-get 安装软件时,总是出现下面的错误. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:", LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warn…
locale: Cannot set LC_CTYPE to default locale: No such file or directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_COLLATE to default locale: No such file or directory 提示:Cannot change locale UTF-…