1.yum
sudo vim /etc/yum.conf
添加
proxy=https://proxy:8080/
2.wget
sudo vim /etc/wgetrc
修改
http_proxy = https://proxy:8080/
https_proxy = https://proxy:8080/
ftp_proxy = ftp://proxy:8080/

Post Navigation