Manticore Search is a lightweight full-text search engine. This article will guide you through 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
. Installing directly with a package requires:
- Architecture: arm64 or x86_64
- Manticore Columnar Library provides columnar storage and secondary indexes ; if you want to use them, you need a CPU with SSE >= 4.2.
- No specific disk space or RAM requirements. An empty Manticore Search instance only uses about 40MB of RSS RAM.
Devices with ARM64 architecture, such as Raspberry Pi, Apple M1/M2, etc.
Checking Compliance with 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 may 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 replace the device.
Installing Manticore
Taking an arm64 device with debian or ubuntu as the 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
to add the APT repository for Manticore Search software, 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 is no package with the armhf
architecture.
Try using the arm64
architecture package.
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
The configuration file is saved in /etc/manticoresearch/manticore.conf
. Please modify it as needed.
After installation, the Manticore Search service does not start automatically. To start Manticore, run the following command:
sudo systemctl start manticore
To view 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 make Manticore start on boot, run:
sudo systemctl enable manticore
The searchd
process logs startup information in the systemd
logs. If systemd
logging is enabled, you can view the recorded information using the following command:
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 has versions in multiple languages.
If you want to leave a comment, please visit the following pages:
These pages only support browsing, and you can’t post comments or leave messages, but they provide 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
This article is translated from Chinese (Simplified) to English by AI.