vim /etc/profile
http_proxy=http://127.0.0.1:9666 #代理程序地址
https_proxy=http://127.0.0.1:9666
ftp_proxy=http://127.0.0.1:9666
export http_proxy
export ftp_proxy
export https_proxy
source /etc/profile
- 这样http,https,ftp都走代理了