linux设置全局代理
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都走代理了
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