How to Install Manticore Search on Debian Latest
Manticore Search is an open-source search engine that is designed to deliver fast, accurate, and reliable search results for your content. In this tutorial, we will show you how to install Manticore Search on Debian.
Prerequisites
Before you can install Manticore Search, you need to make sure that your system meets the following requirements:
- Debian latest version installed
- A regular user with sudo privileges
- A terminal window
Step 1 - Add Manticore Search Repository
The first step to install Manticore Search on Debian is to add the official Manticore Search repository to your system. You can follow the below steps to do that:
Open the terminal window and switch to the root user using the following command:
sudo suImport the Manticore Search GPG key with the following command:
wget -qO - https://repo.manticoresearch.com/manticore.asc | sudo apt-key add -Add the Manticore Search repository to your system by running the following command:
echo "deb https://repo.manticoresearch.com/ $(lsb_release -sc) contrib" > /etc/apt/sources.list.d/manticore.list
Step 2 - Install Manticore Search
Once you have added the Manticore Search repository to your system, you can proceed to install Manticore Search by following the below steps:
Update the package list:
apt updateInstall Manticore Search:
apt install manticoresearch
Step 3 - Configure Manticore Search
After the installation is complete, you need to configure Manticore Search to make it work on your system. You can follow the below steps to do that:
Start the Manticore Search service:
systemctl start manticoreCheck the status of the service:
systemctl status manticoreThis command should display the status of the Manticore Search service, which should be active and running.
Enable the Manticore Search service to start automatically on system boot:
systemctl enable manticore
Step 4 - Verify Manticore Search Installation
You can now verify the Manticore Search installation by following the below steps:
Query the Manticore Search service to ensure it is responding:
curl http://127.0.0.1:9308/This command should display the Manticore Search version and some basic information about the service.
Test the search functionality of the Manticore Search service:
curl "http://127.0.0.1:9308/search?index=test&query=test&limit=10&comment=my test search"This command should display the search result for the word "test".
Conclusion
In this tutorial, you learned how to install Manticore Search on Debian and configure it to work on your system. You can now use Manticore Search to quickly and accurately search your content.