SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
update & fix install guide after install refactor
Noemi Vanyi08d26609a5cf
diff --git a/docs/dev/install/installation.rst b/docs/dev/install/installation.rstindex 2ce6a6b54..e15ff8b25 100644--- a/docs/dev/install/installation.rst+++ b/docs/dev/install/installation.rst@@ -1,25 +1,28 @@Installation============-Step by step installation for Debian / Ubuntu with virtualenv.+Step by step installation for Debian/Ubuntu with virtualenv.Source: https://about.okhin.fr/posts/Searx/ with some additionsHow to: `Setup searx in a couple of hours with a free SSLcertificate <https://www.reddit.com/r/privacytoolsIO/comments/366kvn/how_to_setup_your_own_privacy_respecting_search/>`__+.. contents::+ :depth: 3+Basic installation------------------For Ubuntu, be sure to have enable universe repository.-Install packages :+Install packages:.. code:: shsudo apt-get install git build-essential libxslt-dev python-dev python-virtualenv python-pybabel zlib1g-dev libffi-dev libssl-dev-Install searx :+Install searx:.. code:: sh@@ -28,7 +31,7 @@ Install searx :sudo useradd searx -d /usr/local/searxsudo chown searx:searx -R /usr/local/searx-Install dependencies in a virtualenv :+Install dependencies in a virtualenv:.. code:: sh@@ -36,8 +39,7 @@ Install dependencies in a virtualenv :cd /usr/local/searxvirtualenv searx-ve. ./searx-ve/bin/activate- pip install -r requirements.txt- python setup.py install+ ./manage.sh update_packagesConfiguration-------------@@ -51,7 +53,7 @@ Edit searx/settings.yml if necessary.Check------Start searx :+Start searx:.. code:: sh@@ -59,7 +61,7 @@ Start searx :Go to http://localhost:8888-If everything works fine, disable the debug option in settings.yml :+If everything works fine, disable the debug option in settings.yml:.. code:: sh@@ -73,14 +75,14 @@ twice).uwsgi------Install packages :+Install packages:.. code:: shsudo apt-get install uwsgi uwsgi-plugin-pythonCreate the configuration file /etc/uwsgi/apps-available/searx.ini with-this content :+this content:::@@ -111,7 +113,7 @@ this content :pythonpath = /usr/local/searx/chdir = /usr/local/searx/searx/-Activate the uwsgi application and restart :+Activate the uwsgi application and restart:.. code:: sh@@ -126,7 +128,7 @@ with nginx^^^^^^^^^^If nginx is not installed (uwsgi will not work with the package-nginx-light) :+nginx-light):.. code:: sh@@ -136,7 +138,7 @@ Hosted at /"""""""""""Create the configuration file /etc/nginx/sites-available/searx with this-content :+content:.. code:: nginx@@ -151,7 +153,7 @@ content :}}-Restart service :+Restart service:.. code:: sh@@ -159,10 +161,10 @@ Restart service :sudo service uwsgi restartfrom subdirectory URL (/searx)-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+""""""""""""""""""""""""""""""Add this configuration in the server config file-/etc/nginx/sites-available/default :+/etc/nginx/sites-available/default:.. code:: nginx@@ -183,7 +185,7 @@ Enable base\_url in searx/settings.ymlbase_url : http://your.domain.tld/searx/-Restart service :+Restart service:.. code:: sh@@ -195,7 +197,7 @@ disable logsfor better privacy you can disable nginx logs about searx.-how to proceed : below ``uwsgi_pass`` in+how to proceed: below ``uwsgi_pass`` in/etc/nginx/sites-available/default add::@@ -203,23 +205,23 @@ how to proceed : below ``uwsgi_pass`` inaccess_log /dev/null;error_log /dev/null;-Restart service :+Restart service:.. code:: shsudo service nginx restartwith apache------------+^^^^^^^^^^^-Add wsgi mod :+Add wsgi mod:.. code:: shsudo apt-get install libapache2-mod-uwsgisudo a2enmod uwsgi-Add this configuration in the file /etc/apache2/apache2.conf :+Add this configuration in the file /etc/apache2/apache2.conf:.. code:: apache@@ -233,29 +235,29 @@ Note that if your instance of searx is not at the root, you shouldchange ``<Location />`` by the location of your instance, like``<Location /searx>``.-Restart Apache :+Restart Apache:.. code:: shsudo /etc/init.d/apache2 restartdisable logs-------------+""""""""""""For better privacy you can disable Apache logs.-WARNING : not tested+WARNING: not tested-WARNING : you can only disable logs for the whole (virtual) server not+WARNING: you can only disable logs for the whole (virtual) server notfor a specific path.-Go back to /etc/apache2/apache2.conf and above ``<Location />`` add :+Go back to /etc/apache2/apache2.conf and above ``<Location />`` add:.. code:: apacheCustomLog /dev/null combined-Restart Apache :+Restart Apache:.. code:: sh@@ -272,6 +274,27 @@ How to updategit stashgit pull origin mastergit stash apply- pip install --upgrade -r requirements.txt+ ./manage.sh update_packagessudo service uwsgi restart+Docker+------++Make sure you have installed Docker. For instance, you can deploy searx like this:++.. code:: sh++ docker pull wonderfall/searx+ docker run -d --name searx -p $PORT:8888 wonderfall/searx++Go to http://localhost:$PORT.++See https://hub.docker.com/r/wonderfall/searx/ for more informations.++It's also possible to build searx from the embedded Dockerfile.++.. code:: sh++ git clone https://github.com/asciimoo/searx.git+ cd searx+ docker build -t whatever/searx .