【问题标题】:How to set yum to use tor on CentOs 7? [closed]如何设置 yum 在 CentOs 7 上使用 tor? [关闭]
【发布时间】: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


    【解决方案1】:

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

      proxy=socks5h://localhost:9050
    

    【讨论】:

    • 这行得通。非常感谢。
    猜你喜欢
    • 2012-09-10
    • 2014-09-05
    • 2012-03-14
    • 2013-01-04
    • 2016-07-30
    • 1970-01-01
    • 2020-07-03
    • 2018-04-21
    • 1970-01-01
    相关资源
    最近更新 更多