How I Installed Searx Using Yunohost

How I Installed Searx Using Yunohost

I had an AWS account which offers 12 months of Amazon EC2 with 750 hours/month free on initial sign up. It’s called free tier by Amazon and offers a t2.micro instance having 1vCPU, 1 GB RAM and 30 GB of storage. I would fire up an instance now and then for trying out various services and just play around with it.

I found about YunoHost while trying to install Matrix homeserver (Synapse). I was trying it through an ansible playbook but failed to ssh into my instance using the playbook. I tried installing Synapse using YunoHost which too failed but I discovered various applications that can be installed on YunoHost.YunoHost installs on your Debian instance and give you a web interface to handle/install services. They explain it well here.You can try them on their website here. So amongst the list I was interested in Nextcloud and Searx. I dropped Nextcloud due to hardware limitations. I installed Searx and it’s been my daily driver ever since. It works well and returns results in under 1.5 sec on best cases and under 5 sec in worst cases scenarios. The average first load time is 2.4 sec and average full load time is 3.4 sec for my personal instance. Not relaying on external search provider due to privacy concern does feel good (though Searx is a meta-search engine, but you know what I mean).

Lets me tell you how I installed it.

Basic Requirements

  1. A server with root access.
  2. Public IP for the server.
  3. Debian 10 Buster.
  4. (Optional) A domain. YunoHost provides .nohost.me, .noho.st or .ynh.fr subdomains if you don’t have or want to use a personal one.

Table of Content

The installation process is divided into 5 step:

  1. Launch and configure instance
  2. Install YunoHost
  3. Configure DNS
  4. Configure YunoHost
  5. Install Searx

Installation

Launch and configure instance

sudo apt update && sudo apt upgrade -y

Install YunoHost

curl https://install.yunohost.org | sudo bash

Configure DNS

Note — Before proceeding further, wait for 10-15 min for DNS update to propagate, then check by using the dig command.

Configure YunoHost

Install Searx

Notes — If you want the Searx for your own usage, change permissions in Users section.

Complete documentation and forum links can be found here.