[CentOS]CentOS/RedHat/Fedora的Proxy设定,yum,wget,,rpm
yum
「/etc/yum.conf」
proxy=http://proxy.xxx.com:8080/
wget
「/etc/wgetrc」
http_proxy=http://proxy.xxx.com:8080/
rpm
rpm --httpproxy proxy.xxx.com --httpport 8080 ~
- 上一篇 »Linux yum 命令篇
- 下一篇 »CentOS 7 yum 安装php5.6