Skip to main content

Script Installtion on Debian 11

Prerequisites

Install Git

sudo apt install git

Screenshot 2022-10-24 233503.png

Install curl

sudo apt install curl

Screenshot 2022-10-25 002709.png

Install

Clone the github repository to a local folder.

The official repository is at: https://github.com/searxng/searxng. Documentation can be found at https://docs.searxng.org/admin/installation-scripts.html#installation-scripts

git clone https://github.com/searxng/searxng.git searxng

Screenshot 2022-10-25 000139.png

Change directory into the searxng folder.

cd searxng

Screenshot 2022-10-25 002906.png

Run the official script installer. Details of the script can be found at https://github.com/searxng/searxng/blob/master/utils/searxng.sh

sudo -H ./utils/searxng.sh install all


Screenshot 2022-10-25 003215.png

The script will start off by updating repository and installing the required packages. Once packages are installed, script will pause and ask for user interaction to continue to the next phase, which is creating a searx user.

Press ANY Key to continue.

Screenshot 2022-10-25 003515.png

Cloning source into searx user directory.

Screenshot 2022-10-25 004046.png

Creating python virtual env.

Screenshot 2022-10-25 004142.png

Create initial settings file.

Screenshot 2022-10-25 004338.png

Automated initial testing.

Screenshot 2022-10-25 004454.png

Install uwsgi

Screenshot 2022-10-25 004645.png

Install redis

Screenshot 2022-10-25 004816.png

Screenshot 2022-10-25 004848.png

Screenshot 2022-10-25 005034.png

And finally, the script is finish.

Screenshot 2022-10-25 005110.png

Install Webserver

Before SearXNG can be use, we will need to install a webserver. SearXNG does not have any preference for which web server to use, so choose the web server you're most familiar with. 

I am using NGINX as my web server.