searx.sh.rst 1.4 KB

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