Sn0wlink IT



Setup Searxng on Debian 13

If you want your own private search engine, setup a fresh install of Debian on a machine and run the script.

Please make sure it is NOT publically accessable.

Installation Script:

apt update && apt upgrade -y
apt install sudo git python3 python-is-python3 python3-venv python3-pip nginx redis-server build-essential curl -y

cd /opt  
git clone https://github.com/searxng/searxng.git  
cd searxng
printf '\n' | ./utils/searxng.sh install all

## OPTIONAL:
## Make http://localhost/ the root directory again:

sed -i 's|location /searxng {|location / {|' /etc/nginx/default.d/searxng.conf
sed -i '/HTTP_X_SCRIPT_NAME/d' /etc/nginx/default.d/searxng.conf
sed -i '/location \/ {/,/}/d' /etc/nginx/sites-enabled/default
systemctl reload nginx