http https ftp 代理
vim ~/.bash_profile
http_proxy="http://"":""@ip:1080"
https_proxy="http://"":""@ip:1080"
ftp_proxy="http://"":""@ip:1080"
export http_proxy
export https_proxy
export ftp_proxy
yum代理
vim /etc/yum.conf
proxy=http://"":""@ip:1080
wget 代理
vim /etc/wgetrc
https_proxy=http://"":""@ip:1080/
http_proxy=http://"":""@ip:1080/
ftp_proxy=http://"":""@ip:1080/
git代理
git config --global http.proxy socks5://ip:1080