Running SearXNG on Linux Mint
Suspect that Google practices censorship and shadowbanning, contributes to a less informed society and a weakened education system. To mitigate these effects, consider using SearXNG. Here are the steps to install on Linux Mint. You need a working python environment as searxng is written in python.
sudo -H apt-get install -y \
python3-dev python3-babel python3-venv python-is-python3 python3 \
uwsgi uwsgi-plugin-python3 \
git build-essential libxslt-dev zlib1g-dev libffi-dev libssl-dev \
redis-server apache2
sudo ln -s /usr/bin/python3 /usr/bin/python
First thing to do is create a searxng user and log into it.
sudo userdel -r searxng
sudo rm -rf /usr/local/searxng
sudo rm -rf /usr/local/searxng-redis
sudo useradd -m -s /bin/bash searxng
sudo passwd searxng
sudo usermod -aG sudo searxng
sudo su - searxng
Download SearXNG. Clone it to the /tmp folder and not the home folder.
git clone https://github.com/searxng/searxng.git
cd searxng
echo "export SEARXNG_SRC=$HOME/searxng" >> ~/.bashrc
source ~/.bashrc
The docs are available at https://docs.searxng.org/
The only supported operating systems are...
ubuntu-*|debian-*)
# For uWSGI debian uses the LSB init process; for each configuration
# file new uWSGI daemon instance is started with additional option.
service uwsgi status "${SERVICE_NAME}"
;;
arch-*)
systemctl --no-pager -l status "uwsgi@${SERVICE_NAME%.*}"
;;
fedora-*)
You then need to change every instances of
ubuntu-*|debian-*)
to
ubuntu-*|debian-*|linuxmint-*)
The file it gets its Linux installation name is /etc/os-release variable ID
echo $(source /etc/os-release; echo "$ID");
or
cat /etc/os-release
the files in reference are...
- ./utils/searxng.sh
- ./utils/lib.sh
- ./utils/lib_redis.sh
IMMORTALITY