installation.rst 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. .. _installation:
  2. ============
  3. Installation
  4. ============
  5. *You're spoilt for choice*, choose your preferred method of installation.
  6. - :ref:`installation docker`
  7. - :ref:`installation scripts`
  8. - :ref:`installation basic`
  9. The :ref:`installation basic` is good enough for intranet usage and it is a
  10. excellent illustration of *how a searx instance is build up*. If you place your
  11. instance public to the internet you should really consider to install a
  12. :ref:`filtron reverse proxy <filtron.sh>` and for privacy a :ref:`result proxy
  13. <morty.sh>` is mandatory.
  14. Therefore, if you do not have any special preferences, its recommend to use the
  15. :ref:`installation docker` or the `Installation scripts`_ from our :ref:`tooling
  16. box <toolboxing>` as described below.
  17. .. _installation scripts:
  18. Installation scripts
  19. ====================
  20. .. sidebar:: Update OS first!
  21. To avoid unwanted side effects, update your OS before installing searx.
  22. The following will install a setup as shown in :ref:`architecture`. First you
  23. need to get a clone. The clone is only needed for the installation procedure
  24. and some maintenance tasks (alternatively you can create your own fork).
  25. .. code:: bash
  26. $ cd ~/Downloads
  27. $ git clone https://github.com/asciimoo/searx searx
  28. $ cd searx
  29. **Install** :ref:`searx service <searx.sh>`
  30. This installs searx as described in :ref:`installation basic`.
  31. .. code:: bash
  32. $ sudo -H ./utils/searx.sh install all
  33. **Install** :ref:`filtron reverse proxy <filtron.sh>`
  34. .. code:: bash
  35. $ sudo -H ./utils/filtron.sh install all
  36. **Install** :ref:`result proxy <morty.sh>`
  37. .. code:: bash
  38. $ sudo -H ./utils/morty.sh install all
  39. If all services are running fine, you can add it to your HTTP server:
  40. - :ref:`installation apache`
  41. - :ref:`installation nginx`