您的位置:首页 > 业界新闻

常用工具设置互联网代理

2015-09-30 12:03 507 查看
设置上网代理地址的格式为
[protocol]://[username]:[password]@[ip]:[port]

linux 全局代理
编辑/etc/profile
http_proxy=代理地址
export http_proxy

linux yum
编辑/etc/yum.conf
添加变量 proxy=代理地址

git
git config --global http.proxy http://yourname:yourpass@proxyserver:proxyport
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: