macOS中安装Zookeeper(单机)

使用 Homebrew

Check

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
➜  ~ brew info zookeeper
zookeeper: stable 3.4.13 (bottled), HEAD
Centralized server for distributed coordination of services
https://zookeeper.apache.org/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/zookeeper.rb
==> Options
--HEAD
Install HEAD version
==> Caveats
To have launchd start zookeeper now and restart at login:
brew services start zookeeper
Or, if you don't want/need a background service you can just run:
zkServer start
==> Analytics
install: 5,115 (30 days), 14,310 (90 days), 57,644 (365 days)
install_on_request: 1,644 (30 days), 4,326 (90 days), 19,536 (365 days)
build_error: 0 (30 days)

Not installed

解决Updating Homebrew问题

在国内的网络环境下使用 Homebrew 安装软件的过程中可能会长时间卡在 Updating Homebrew 这个步骤。

image.png

每次执行brew install命令时,会尝试更新Homebrew,但是由于众所周知的原因,这一步被挡在了墙外,本文有两种方式可解决此问题。

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×