网上有好多关于centos,ubuntu等linux通过代理上网的例子,本人亲测都不能成功。
正确的方法应该是:
vim /etc/profile
添加http_profile==="http://user:password@server:port" 如果没有认证,直接添加http_profile==="http://server:port"
重启即可正常访问
网上有好多关于centos,ubuntu等linux通过代理上网的例子,本人亲测都不能成功。
正确的方法应该是:
vim /etc/profile
添加http_profile==="http://user:password@server:port" 如果没有认证,直接添加http_profile==="http://server:port"
重启即可正常访问