How to Install Manticore Search on Ubuntu Server Latest

Manticore Search is an open-source search engine designed for scalability, ease of use, and full-text search. This tutorial will guide you on how to install Manticore Search on your Ubuntu Server Latest instance.

Prerequisites

Before you start with the installation process, make sure you have the following requirements:

Step 1: Update Your System

It's always a great practice to update your system before installing any new software. You can update your Ubuntu system by running the following command:

sudo apt update && sudo apt upgrade -y

Step 2: Install the Required Dependencies

Before you can start installing Manticore Search, you need to install some required dependencies. Run the following command to install them:

sudo apt install -y libmysqlclient-dev libpq-dev libicu-dev libstemmer-dev libssl-dev liblzma-dev libbz2-dev automake autoconf libtool make libgomp1

Step 3: Download and Extract the Package

You can download the latest version of Manticore Search from the official Github repository. Use the wget command to download the package:

wget https://github.com/manticoresoftware/manticoresearch/archive/4.2.0.tar.gz

Once the download is complete, extract the archive using the tar command:

tar -zxvf 4.2.0.tar.gz

Step 4: Configure and Compile the Package

After extracting the archive, navigate to the extracted directory:

cd manticoresearch-4.2.0

Next, you need to configure the package by running the following command:

./configure

Once the configuration process is complete, compile the source code using the make command:

make

The compilation process may take some time. Once it completes successfully, you can install Manticore Search on your system using the following command:

sudo make install

Step 5: Start and Verify the Manticore Search Service

Now that you have installed Manticore Search on your system, you can start the service by running the following command:

sudo systemctl start manticore

To verify that the service is running correctly, you can check the status by running:

sudo systemctl status manticore

If everything is running correctly, you should see the following output:

● manticore.service - Manticore Search Engine
     Loaded: loaded (/lib/systemd/system/manticore.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-06-10 14:46:32 UTC; 8s ago
       Docs: https://docs.manticoresearch.com/
   Main PID: 13105 (searchd)
      Tasks: 3 (limit: 2353)
     Memory: 66.5M
     CGroup: /system.slice/manticore.service
             ├─13105 /usr/bin/searchd
             └─13107 /usr/bin/searchd --config /usr/local/etc/manticoresearch/manticore.conf

You can also verify that the service is listening on the default port of 9306 using the netstat command:

sudo netstat -plntu | grep 9306

If everything is working correctly, you should see the following output:

tcp        0      0 0.0.0.0:9306            0.0.0.0:*               LISTEN      13105/searchd

Conclusion

Congratulations! You have successfully installed Manticore Search on your Ubuntu Server Latest instance. You can now use Manticore Search to index and search your data. For more details, you can check the official Manticore Search documentation.

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!

Alternatively, for the best virtual desktop, try Shells!