586   Centos

1,全局代理:修改/etc/profile,添加以下内容


export https_proxy='http://proxy:8080/'
export http_proxy='http://proxy:8080/'
export ftp_proxy='http://proxy:8080/'

2,wget代理:修改/etc/wgetrc,添加以下内容

https_proxy = http://proxy.yoyodyne.com:18023/
http_proxy = http://proxy.yoyodyne.com:18023/
ftp_proxy = http://proxy.yoyodyne.com:18023/

3,yum源代理:修改/etc/yum.conf ,添加以下内容

proxy=http://yourproxy:8080/



Leave a Reply

Your email address will not be published. Required fields are marked *