赞
踩
1.终端先安装home brew
官网:https://brew.sh/index_zh-cn
指令:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
报错:
Failed to connect to raw.githubusercontent.com port 443: Connection refused
原因域名污染
解决方法:
sudo vim /etc/hosts
199.232.28.133 raw.githubusercontent.com
修改后:还是报错
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)"
解决
查看版本:
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.
Failed to install Homebrew Portable Ruby (and your system version is too old)!
根据报错( /Users/haha/Library/Caches/Homebrew/portable-ruby-2.6.3_2.yosemite.bottle.tar.gz)删除目录下的包
安装rabbitmq
启动路径:
/usr/local/Cellar/rabbitmq/3.8.14
启动指令:
./sbin/rabbitmq-server
浏览页面
http://localhost:15672
登录用户名:guest
密码;guest
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。