>> curl: (7) Failed to connect to_ubuntu安装ohmyzsh下载失败">
当前位置:   article > 正文

[Ubuntu] 关于ohmyzsh下载被443拒绝连接_ubuntu安装ohmyzsh下载失败

ubuntu安装ohmyzsh下载失败

关于ohmyzsh下载被443拒绝连接

问题: curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

  1. >>> sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  2. >>> curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接

错误原因

oh my zsh 官网提供的地址错误.

解决方案

  1. via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

    2.via wget

sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

原地址被墙了

更为使用国内的项目地址
项目mirror地址: https://gitee.com/mirrors/oh-my-zsh

以下命令功能下载我修改过的ohmyzsh的install.sh并执行,改变了文件中指向的git仓库从github移到gitee。 如果有问题欢迎留言。

  1. via curl
sh -c "$(curl -fsSL https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"

      2.via wget

sh -c "$(wget -O- https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/719129
推荐阅读
相关标签
  

闽ICP备14008679号