Back to Manticoresearch

在 macOS 上安装 Manticore

manual/chinese/Installation/MacOS.md

25.9.01.7 KB
Original Source

在 macOS 上安装 Manticore

通过 Homebrew 包管理器

bash
brew install manticoresoftware/tap/manticoresearch manticoresoftware/tap/manticore-extra

将 Manticore 作为 brew 服务启动:

bash
brew services start manticoresearch

Manticore 的默认配置文件位于以下路径之一:/usr/local/etc/manticoresearch/manticore.conf/opt/homebrew/etc/manticoresearch/manticore.conf

如果您计划使用 indexer 从 MySQL、PostgreSQL 或其他数据库等数据源获取数据,使用 ODBC 时可能需要额外的库,例如 [email protected]libpqunixodbc

开发包

如果您更喜欢 "Nightly"(开发)版本,请执行:

bash
brew tap manticoresoftware/tap-dev
brew install manticoresoftware/tap-dev/manticore-dev
brew services start manticore-dev
<!-- ## 从包含二进制文件的 tarball 安装 从[网站](https://manticoresearch.com/install/)下载并解压到文件夹: ```bash mkdir manticore cd manticore wget https://repo.manticoresearch.com/repository/manticoresearch_macos/release/manticore-5.0.2-220530-348514c86-main.tar.gz tar -xf manticore-5.0.2-220530-348514c86-main.tar.gz wget https://repo.manticoresearch.com/repository/manticoresearch_macos/release/manticore-columnar-lib-1.15.4-220522-2fef34e-osx10.14.4-x86_64.tar.gz tar -xf manticore-columnar-lib-1.15.4-220522-2fef34e-osx10.14.4-x86_64.tar.gz ## Start Manticore FULL_SHARE_DIR=./share/manticore ./bin/searchd -c ./etc/manticoresearch/manticore.conf ## Run indexer FULL_SHARE_DIR=./share/manticore ./bin/indexer -c ./etc/manticoresearch/manticore.conf ``` 解压存档后,Manticore 的配置文件是 `./etc/manticoresearch/manticore.conf`。 --> <!-- proofread -->