Installing MeiliSearch on Debian Latest

MeiliSearch is a popular open-source search engine. In this tutorial, we will guide you through the process of installing MeiliSearch on Debian Latest. Let's get started.

Requirements

Step 1: Add the MeiliSearch Repository

The first step is to add the MeiliSearch repository to your Debian system. Follow the below command to import the MeiliSearch public key and add the repository to your system.

sudo apt update
sudo apt install apt-transport-https -y
wget -qO - https://api.meilisearch.com/pgp/public.key | sudo apt-key add -
echo "deb [arch=amd64] https://apt.meilisearch.com/ stable main" | sudo tee /etc/apt/sources.list.d/meilisearch.list

Step 2: Install MeiliSearch Server

Now that you have added the MeiliSearch repository to your system, install the MeiliSearch server using the following command.

sudo apt update
sudo apt install meilisearch -y

Step 3: Start MeiliSearch

The MeiliSearch server is now installed on your Debian system. To start the server, use the following command.

sudo systemctl start meilisearch

To make sure that MeiliSearch has started successfully, check the status of the service using the following command.

sudo systemctl status meilisearch

If everything is working correctly, the output should show that MeiliSearch is running:

● meilisearch.service - MeiliSearch
   Loaded: loaded (/lib/systemd/system/meilisearch.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-10-12 06:22:24 UTC; 13s ago
 Main PID: 12904 (meilisearch)
    Tasks: 2 (limit: 2349)
   Memory: 20.8M
   CGroup: /system.slice/meilisearch.service
           └─12904 /usr/bin/meilisearch

Congratulations! You have successfully installed and started MeiliSearch on your Debian system.

Conclusion

MeiliSearch is now up and running on your Debian system. You can now use MeiliSearch to power your search engine and start indexing your data. If you encounter any issues with the installation process, feel free to consult the MeiliSearch documentation or join their community for help.

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!