installation.rst 1.9 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. - `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. ====================
  19. The following will install a setup as shown in :ref:`architecture`. First you
  20. need to get a clone. The clone is only needed for the installation procedure
  21. and some maintenance tasks (alternatively you can create your own fork).
  22. .. code:: bash
  23. $ cd ~/Download
  24. $ git clone https://github.com/asciimoo/searx searx
  25. $ cd searx
  26. .. hint::
  27. The *tooling box* is not yet merged into `asciimoo/searx master
  28. <https://github.com/asciimoo/searx>`_. As long as PR is not merged, you need
  29. to merge the PR into your local clone (see below). The discussion takes
  30. place in :pull:`1803`. To merge the :pull:`1803` in your local branch use:
  31. .. code:: bash
  32. $ git pull origin refs/pull/1803/head
  33. **Install** :ref:`searx service <searx.sh>`
  34. This installs searx as described in :ref:`installation basic`.
  35. .. code:: bash
  36. $ sudo -H ./utils/searx.sh install all
  37. **Install** :ref:`filtron reverse proxy <filtron.sh>`
  38. .. code:: bash
  39. $ sudo -H ./utils/filtron.sh install all
  40. **Install** :ref:`result proxy <morty.sh>`
  41. .. code:: bash
  42. $ sudo -H ./utils/morty.sh install all