• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Altinity/homebrew-clickhouse: ClickHouse Homebrew tap (by Altinity)

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Altinity/homebrew-clickhouse

开源软件地址:

https://github.com/Altinity/homebrew-clickhouse

开源编程语言:

Ruby 100.0%

开源软件介绍:

Homebrew Tap for ClickHouse (by Altinity)

Available formulae

clickhouse                       - alias, same as clickhouse@stable
clickhouse-client                - alias, same as clickhouse@stable
clickhouse-server                - alias, same as clickhouse@stable

clickhouse@stable                - alias, always points to the latest stable versioned formula ([email protected])
clickhouse@lts                   - alias, always points to the latest LTS versioned formula ([email protected])
clickhouse@altinity-stable       - alias, always points to the latest Altinity-stable versioned formula ([email protected])

[email protected]                  - the latest version
[email protected]                  - keg-only
[email protected]                  - keg-only
[email protected]                 - keg-only
[email protected]                 - keg-only

[email protected]  - keg-only, the latest Altinity-stable version

clickhouse-odbc                  - special variant
clickhouse-cpp                   - special variant

Quick start: one-liner

brew install altinity/clickhouse/clickhouse

Quick start: fine control

First, register the tap (needs to be done only once):

brew tap altinity/clickhouse

Then, install the formula you need:

brew install clickhouse
# ..or
brew install [email protected]
# ...and so on.

Please, always read the Caveats sections, which are displayed after the installation, carefully.

Note, that the installation doesn't require sudo and will deploy ClickHouse under the standard Homebrew prefix.

Running ClickHouse server

Do not use sudo ever. Do not start the ClickHouse server manually, instead use brew services:

brew services start clickhouse
# ..or
brew services start [email protected]
# ...and so on.

ClickHouse is deployed under the standard Homebrew prefix. The relevant directories are:

Config:    $(brew --prefix)/etc/clickhouse-server/
Data:      $(brew --prefix)/var/lib/clickhouse/
Logs:      $(brew --prefix)/var/log/clickhouse-server/
PID file:  $(brew --prefix)/var/run/clickhouse-server/

These files and directories will be preserved between installations.

Make sure you stop the server, when upgrading the formula.

If you absolutely need to run ClickHouse server manually, the command that corresponds to brew services start clickhouse would be:

$(brew --prefix clickhouse)/bin/clickhouse server --config-file $(brew --prefix)/etc/clickhouse-server/config.xml --pid-file $(brew --prefix)/var/run/clickhouse-server/clickhouse-server.pid

Versioned formulae

All except the latest versioned ClickHouse formulae are configured as keg-only, so in order to refer to an executable from such formula you have to provide the full path to it, e.g.:

$(brew --prefix [email protected])/bin/clickhouse client

Other formulae

This tap also contains its own versions of clickhouse-odbc and clikchouse-cpp formulae, and in order to install these versions (which we recommend over the default ones), you have to provide the full names to avoid ambiguity, since the default Homebrew registry contains those too:

brew install altinity/clickhouse/clickhouse-odbc
brew install altinity/clickhouse/clickhouse-cpp

Pre-built binary packages (bottles)

Bottles for the following platforms are available:

macOS Monterey (version 12) on Intel
macOS Monterey (version 12) on Apple silicon

Eventually, this list will be extended to also contain some of the previous versions of macOS.

Building (the latest versions) from sources

Formulae will be built from sources automatically if the corresponding bottles are not available for your platform.

If you want to see the progress, add --verbose:

brew install --verbose clickhouse

You can also build the latest version (HEAD) of the sources for a formula:

brew install --HEAD --verbose clickhouse

The above command will check out the tip of the branch that corresponds to that specific version (e.g., branch 21.11 for [email protected] and so on) and build it from sources.

Homebrew on Linux (Linuxbrew)

Building the formulae from this tap is not tested in Linux, and bottles are not available, but there are no known conceptual problems, and they should generally work. Feel free to experiment and report any issues.

Adding or updating formulae in this tap (for maintainers only)

Refer to Maintenance for instructions.

Useful links




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap