地球人

地球人的空间

世上本没有路
tg_channel
mastodon
pleroma

Detailed commands for installing Manticore Search on Linux devices

Manticore Search is a lightweight full-text search engine, and this article explains the installation process on Linux devices.

Manticore Search itself is an open-source database (available on GitHub), created in 2017 as a continuation of the Sphinx Search engine.

Installation Requirements#

To install directly using a package, the requirements are:

Devices with ARM64 architecture, such as Raspberry Pi, Apple M1/M2, etc.

Check Installation Requirements#

You only need to confirm that the architecture is arm64 or x86_64.

Check the CPU architecture.

uname -m

aarch64 x86_64

Confirm if the CPU supports 64-bit.

lscpu

Check if the kernel supports it. Even if your CPU is 64-bit, the operating system might be 32-bit; run the following command to confirm:

getconf LONG_BIT

All three commands should output 64.

If the conditions are not met, you can choose to reinstall the operating system or change devices.

Install Manticore#

Taking a device with arm64 architecture and a Debian or Ubuntu operating system as an example, the installation process is as follows:

Create a folder in the home directory.

mkdir manticore && cd manticore

Download and install manticore-repo.noarch.deb, adding the Manticore Search software's APT repository so that it can be installed and updated via apt.

wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
sudo dpkg -i manticore-repo.noarch.deb

Update the local APT package index.

sudo apt update

If an error occurs:

N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://repo.manticoresearch.com/repository/ InRelease' doesn't support architecture 'armhf'

It indicates that there are no packages for the armhf architecture.

Try using packages for the arm64 architecture.

sudo dpkg --add-architecture arm64
sudo apt update

Install the ARM64 architecture version of the manticore package.

sudo apt install manticore:arm64 manticore-extra:arm64

After successful installation, try querying the installed packages.

dpkg -l | grep manticore
sudo apt list --installed | grep manticore

Configuration files are saved in /etc/manticoresearch/manticore.conf, please modify as needed.

After installation, the Manticore Search service will not start automatically. To start Manticore, run the following command:

sudo systemctl start manticore

To check the status of the Manticore service, run the following command:

sudo systemctl status manticore

To stop Manticore, run the following command:

sudo systemctl stop manticore

To enable Manticore to start at boot, run:

sudo systemctl enable manticore

The searchd process logs startup information in the systemd logs. If systemd logging is enabled, you can use the following command to view the logged information:

sudo journalctl -u manticore

References#

Official documentation https://manual.manticoresearch.com

After installation, please refer to the official documentation for configuration.

Other Versions of This Page#

This article is available in multiple languages.

If you would like to leave a comment, please visit the following pages:

ZH EN ZH-TW JA

These pages are for browsing only and do not support comments or messages, but they offer more language options and load faster:

ZH EN ZH-TW JA RU KO CS ES AR FR PT DE TR IT NL SV DA FI PL UK HE RO HU EL HR TH HI BN ID SW VI NO

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.