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:

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:

  1. Open the terminal window and switch to the root user using the following command:

    sudo su
    
  2. Import the Manticore Search GPG key with the following command:

    wget -qO - https://repo.manticoresearch.com/manticore.asc | sudo apt-key add -
    
  3. 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:

  1. Update the package list:

    apt update
    
  2. Install 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:

  1. Start the Manticore Search service:

    systemctl start manticore
    
  2. Check the status of the service:

    systemctl status manticore
    

    This command should display the status of the Manticore Search service, which should be active and running.

  3. 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:

  1. 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.

  2. 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.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!