装机配置

时间:2021-02-23 14:23:50   收藏:0   阅读:0

无法连接raw.githubusercontent.com

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
  1. 打开网站 https://www.ipaddress.com/
    查询一下 raw.githubusercontent.com对应的IP 地址
  2. 找到 /etc 目录下 的 hosts 文件,复制出来 修改,在后面添加 如下:
    然后用修改的文件替换 /etc 目录下的 hosts 文件
sudo vim /etc/hosts

技术图片

安装Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Homebrew官网 https://brew.sh/

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!