如何设置yum在CentOs 7上使用tor?

时间:2015-03-19 10:41:56

标签: linux networking centos7

我有centos 7,我想设置yum使用tor作为代理服务器。我安装了tor,你知道tor安装在127.0.0.1和端口9050上。我如何强制yum下载http和https以及ftp通过tor?

1 个答案:

答案 0 :(得分:1)

编辑/etc/yum.conf并添加:

  proxy=socks5h://localhost:9050