searx.sh.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .. _searx.sh:
  2. ==================
  3. ``utils/searx.sh``
  4. ==================
  5. .. sidebar:: further reading
  6. - :ref:`installation`
  7. - :ref:`architecture`
  8. - :ref:`filtron.sh`
  9. To simplify installation and maintenance of a searx instance you can use the
  10. script :origin:`utils/searx.sh`.
  11. Install
  12. =======
  13. In most cases you will install searx simply by running the command:
  14. .. code:: bash
  15. sudo -H ./utils/searx.sh install all
  16. The script adds a ``${SERVICE_USER}`` (default:``searx``) and installs searx
  17. into this user account. The installation is described in chapter
  18. :ref:`installation basic`.
  19. .. _intranet reverse proxy:
  20. Intranet Reverse Proxy
  21. ======================
  22. To install searx in your intranet HTTP server use:
  23. .. code:: bash
  24. sudo -H ./utils/searx.sh apache install
  25. .. warning::
  26. This setup is **not** suitable **for public instances**, go on with
  27. :ref:`reverse proxy`!
  28. .. tabs::
  29. .. group-tab:: apache
  30. .. literalinclude:: ../../utils/templates/etc/apache2/sites-available/searx.conf:uwsgi
  31. :language: apache
  32. .. tabs::
  33. .. group-tab:: Ubuntu / debian
  34. .. code-block:: sh
  35. $ sudo -H apt install libapache2-mod-uwsgi
  36. .. group-tab:: Arch Linux
  37. .. code-block:: sh
  38. $ sudo pacman -S uwsgi
  39. Overview
  40. ========
  41. The ``--help`` output of the script is largely self-explanatory
  42. (:ref:`toolboxing common`):
  43. .. program-output:: ../utils/searx.sh --help