dsgygb
V2EX  ›  服务器

国内的服务器如何翻墙 curl 下载国外的软件呢?

  •  
  •   dsgygb · Oct 1, 2015 · 1594 views
    This topic created in 3897 days ago, the information mentioned may be changed or developed.

    装了 docker 之后准备装 docker compose,后面还需要用到 dockerhub 的镜像.....

    有什么比较好的方式在服务器翻墙吗,是阿里云的服务器。

    收费的也行。

    15 replies    2015-10-02 09:19:00 +08:00
    adrianzhang
        1
    adrianzhang  
       Oct 1, 2015
    dockerhub 也被墙?没有吧?

    直接用 daocloud.io ,把你的阿里云挂过去。然后做就是了。
    dsgygb
        2
    dsgygb  
    OP
       Oct 1, 2015
    @adrianzhang

    运行这个命令 curl -L https://github.com/docker/compose/releases/download/1.4.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
    adrianzhang
        3
    adrianzhang  
       Oct 1, 2015
    我这里成功的,你这是访问 github 有故障,今天凌晨海缆出故障了。看我发的贴。
    adrianzhang
        4
    adrianzhang  
       Oct 1, 2015
    临时用的话,可以去 google cloud ,有优惠券可以用几个月,建立个 vm instance ,把文件中转回来就可以了。
    ytjfmv
        5
    ytjfmv  
       Oct 1, 2015
    @adrianzhang 海缆故障这些信息能从哪里看到呢
    dsgygb
        6
    dsgygb  
    OP
       Oct 1, 2015
    @adrianzhang 谢谢。
    adrianzhang
        7
    adrianzhang  
       Oct 1, 2015
    ytjfmv
        8
    ytjfmv  
       Oct 1, 2015
    @adrianzhang 我是说第一手的资料
    songjiaxin2008
        9
    songjiaxin2008  
       Oct 1, 2015   ❤️ 1
    建议使用 python 版 ss 然后 sslocal -c /etc/shadowsocks.json -d start
    配合 polipo 或者 cow 转化为 http 代理
    export http_proxy="http://127.0.0.1:8123/"
    export ftp_proxy="http://127.0.0.1:8123/"
    export https_proxy="http://127.0.0.1:8123/"
    adrianzhang
        10
    adrianzhang  
       Oct 1, 2015
    @ytjfmv 那帖子的回复里有啊
    tony1016
        11
    tony1016  
       Oct 1, 2015
    proxychain
    dsgygb
        12
    dsgygb  
    OP
       Oct 1, 2015
    @tony1016 proxychain 的本地代理怎么弄?
    tony1016
        13
    tony1016  
       Oct 1, 2015
    @dsgygb 本地代理就 goagentx 啊
    cnnblike
        14
    cnnblike  
       Oct 1, 2015
    vim ~/.curlrc

    socks5="127.0.0.1:1080"
    ytjfmv
        15
    ytjfmv  
       Oct 2, 2015
    @adrianzhang 就是那个正体字的帖啊,当时中间的内容好长时间没显示。 RC 的对这事还通知呢,不错; PRC 的 ISP 从来都不说。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5998 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 02:57 · PVG 10:57 · LAX 19:57 · JFK 22:57
    ♥ Do have faith in what you're doing.