当前位置:   article > 正文

MAC 安装home brew 以及下载安装rabbitMQ_homebrew.mxcl.jenkins.plist` exited with 5

homebrew.mxcl.jenkins.plist` exited with 5

1.终端先安装home brew
官网:https://brew.sh/index_zh-cn
指令:

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

报错:
Failed to connect to raw.githubusercontent.com port 443: Connection refused

原因域名污染
解决方法:

sudo vim /etc/hosts 
  • 1

加上一行

199.232.28.133 raw.githubusercontent.com
  • 1

修改后:还是报错
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443

无法使用国外源,使用国内源

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
  • 1

解决
查看版本:
brew -v

安装rabbit是会报错:

Error: Checksum mismatch.
Expected: b065e5e3783954f3e65d8d3a6377ca51649bfcfa21b356b0dd70490f74c6bd86
  Actual: c69ddaa5ef867b1d8e54f20e11d216fc0770aac5c84dabb61281d8d92958f46c
 Archive: /Users/haha/Library/Caches/Homebrew/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz
To retry an incomplete download, remove the file above.
  • 1
  • 2
  • 3
  • 4
  • 5
Failed to install Homebrew Portable Ruby (and your system version is too old)!
  • 1

根据报错( /Users/haha/Library/Caches/Homebrew/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz)删除目录下的包

安装rabbitmq
启动路径:

/usr/local/Cellar/rabbitmq/3.8.14
  • 1

启动指令:

./sbin/rabbitmq-server
  • 1

浏览页面
http://localhost:15672
登录用户名:guest
密码;guest

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/558449
推荐阅读
相关标签
  

闽ICP备14008679号