admin 发表于 2018-8-26 01:14:36

CentOS7.3设置proxy代理上网方法

在一些特殊场景下,linux系统无法直接访问互联网进行yum安装,但可以通过proxy代理上网。以下方法可以帮助大家在centos系统中通过设置proxy代理来实现上网功能。

编辑 /etc/profile ,在文档最后增加如下内容:
http_proxy=http://t11429:Tfw0955a@proxy02.h3c.com:8080
https_proxy=https://t11429:Tfw0955a@proxy02.h3c.com:8080
export http_proxy
export https_proxy
(CentOS7.3系统,以上方法亲测!!!)


页: [1]
查看完整版本: CentOS7.3设置proxy代理上网方法