christin
V2EX  ›  问与答

终端可以 pingGitHub,但是无法安装 oh-my-zsh 问题

  •  
  •   christin · Feb 26, 2020 · 6101 views
    This topic created in 2449 days ago, the information mentioned may be changed or developed.

    系统开全局代理 /智能代理,网页可以进入,也可以 ping 通

    pingGitHub 效果如下 PING github.com (192.30.253.113): 56 data bytes 64 bytes from 192.30.253.113: icmp_seq=0 ttl=50 time=274.647 ms 64 bytes from 192.30.253.113: icmp_seq=1 ttl=50 time=269.915 ms 64 bytes from 192.30.253.113: icmp_seq=2 ttl=50 time=297.929 ms

    但是安装 oh-my-zsh 就超时

    Cloning Oh My Zsh... Cloning into '/Users/Mac2015/.oh-my-zsh'... fatal: unable to access 'https://github.com/ohmyzsh/ohmyzsh.git/': Failed to connect to 172.17.18.80 port 8080: Operation timed out Error: git clone of oh-my-zsh repo failed

    在网上找的在 hosts 中添加 ··· 199.232.4.133 raw.githubusercontent.com 192.30.253.113 github.com ···

    依旧无效

    1. 用 wget 安装显示安装成功界面,但是没有.oh-my-zsh 文件夹
    2. 用 curl 安装就超时

    有没有大佬遇到同样的问题 麻烦帮助一下

    9 replies  •  2020-02-27 11:03:05 +08:00
    300
    300
    Feb 26, 2020
    1
    Failed to connect to 172.17.18.80 port 8080
    8080 你代理端口?通吗? http 代理?
    lights
    lights
    Feb 26, 2020
    2
    lights
    lights
    Feb 26, 2020
    3
    你的问题是 cloning into xxx 速度慢,其实就是 clone GitHub 慢的问题,我那篇博文就是将如何解决这个问题
    loading
    loading
    Feb 26, 2020
    4
    export HTTPS_PROXY=socks5://127.0.0.1:1080
    J0G57faC6uPo75W0
    J0G57faC6uPo75W0
    Feb 26, 2020
    6
    通过 ssh 协议 clone 下
    carpediem777
    carpediem777
    Feb 26, 2020
    7
    把代理加到终端中
    tankren
    tankren
    Feb 26, 2020
    8
    proxychains
    devtk
    devtk
    Feb 27, 2020
    9
    Git 弄下代理就行 指定一下 走本地代理。其实最好的方法还是 家庭内部网络统一走软路由,这样子你全家的设备都可以分流走代理
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4510 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 01:19 · PVG 09:19 · LAX 17:19 · JFK 20:19
    ♥ Do have faith in what you're doing.