管理资源吧

当前位置:管理资源吧首页>>>meiwen>>>c5>>>百科知识

CentOS中设置系统级代理

  系统全局代理

  如果需要为某个用户设置一个系统级的代理,可以在~/.bash_profile中设置:

  http_proxy="http://username:password@proxy_ip:port"

  export_http_proxy   www.glzy8.com管理资源吧转载请保留

  上面的设置只对某个用户生效,如果要对所有系统用户生效,写在/etc/profile中就可以了。

meiwen首页 更多meiwen