Welcome to Alibaba Cloud Elastic Compute Service ! -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory 解决方法: 1. 编辑这个文件 vi /etc/environment 2. 添加下面两行 LANG=en_US.utf-8 LC_ALL=en_US.utf-8 重启服务器