【发布时间】:2015-03-19 10:41:56
【问题描述】:
我有 centos 7,我想将 yum 设置为使用 tor 作为代理服务器。我安装了 tor,如你所知,tor 安装在 127.0.0.1 和端口 9050。我如何强制 yum 通过 tor 下载 http 和 https 和 ftp?
【问题讨论】:
标签: linux networking centos7
我有 centos 7,我想将 yum 设置为使用 tor 作为代理服务器。我安装了 tor,如你所知,tor 安装在 127.0.0.1 和端口 9050。我如何强制 yum 通过 tor 下载 http 和 https 和 ftp?
【问题讨论】:
标签: linux networking centos7
编辑 /etc/yum.conf 并添加:
proxy=socks5h://localhost:9050
【讨论】: