修改配置文件 vi /etc/profile 最底下追加内容 export http_proxy=http://192.168.1.11:80/ export https_proxy=http://192.168.1.11:80/ export ftp_proxy=http://192.168.1.11:80/ export http_proxy export https_proxy export ftp_proxy 使配置文件生效 source /etc/profile