Closed. This question is off-topic。它当前不接受答案。
想改善这个问题吗? Update the question,所以它是on-topic,用于堆栈溢出。
3年前关闭。
我有centos 7,我想设置yum以将tor用作代理服务器。我安装了tor,并且您知道tor安装在127.0.0.1和端口9050上。如何强制yum通过tor下载http和https和ftp?
想改善这个问题吗? Update the question,所以它是on-topic,用于堆栈溢出。
3年前关闭。
我有centos 7,我想设置yum以将tor用作代理服务器。我安装了tor,并且您知道tor安装在127.0.0.1和端口9050上。如何强制yum通过tor下载http和https和ftp?
最佳答案
编辑/etc/yum.conf并添加:
proxy=socks5h://localhost:9050