How to Install ZincSearch on Ubuntu Server Latest

In this tutorial, we will go through the step-by-step process of installing ZincSearch on Ubuntu Server Latest.

Prerequisites

Step 1: Download ZincSearch

Firstly, open terminal on your Ubuntu server and navigate to a directory where you want to download ZincSearch.

Next, use the following command to download ZincSearch from its official website:

wget https://zincsearch.com/download/linux64

Step 2: Extract the Zip Archive

After you have finished downloading, now it's time to extract the downloaded ZIP archive. You can use the following command to extract the file:

unzip linux64

Step 3: Move Files to Appropriate Locations

Now, move the extracted content (the zinc-search-server and the zinc-search-indexer) to appropriate locations (e.g., /usr/local/bin/).

sudo mv zinc-search-server /usr/local/bin/
sudo mv zinc-search-indexer /usr/local/bin/

Step 4: Add ZincSearch as Service

In this step, we're going to create a systemd service file for ZincSearch.

Create a file in /etc/systemd/system/ using the following command:

sudo nano /etc/systemd/system/zincsearch.service

And append the following content to the file. This content sets up a systemd unit file:

[Unit]
Description=ZincSearch
After=network-online.target

[Service]
ExecStart=/usr/local/bin/zinc-search-server
Restart=always
User=nobody
Group=nogroup
LimitNOFILE=65536

[Install]
WantedBy=multi-user.target

Save and close the file by pressing Ctrl+x, then y, and then Enter.

Enable the ZincSearch service by running the following command:

sudo systemctl enable zincsearch

Finally, start the ZincSearch service with the following command:

sudo systemctl start zincsearch

Step 5: Verify the Installation

To check whether the ZincSearch is running, use the following command:

systemctl status zincsearch

You should see the output similar to:

● zincsearch.service - ZincSearch
Loaded: loaded (/etc/systemd/system/zincsearch.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-12-12 14:01:43 UTC; 2s ago
Main PID: 4783 (zinc-search-serv)
 Tasks: 76 (limit: 4672)
Memory: 53.4M
CGroup: /system.slice/zincsearch.service
        ├─4783 /usr/local/bin/zinc-search-server
        ├─4800 /usr/local/bin/zinc-search-server
        └─4805 /usr/local/bin/zinc-search-server

Conclusion

Congratulations! You've successfully installed ZincSearch on Ubuntu server. Now, you can start using it to search for things on the web.

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!