searx.sh.rst 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. Overview
  21. ========
  22. The ``--help`` output of the script is largely self-explanatory
  23. (:ref:`toolboxing common`):
  24. .. program-output:: ../utils/searx.sh --help
  25. Intranet Reverse Proxy
  26. ======================
  27. .. warning::
  28. This setup is **not** suitable **for public instances**, go on with
  29. :ref:`reverse proxy`!
  30. To install searx in your intranet HTTP server use:
  31. .. code:: bash
  32. sudo -H ./utils/searx.sh apache install
  33. .. tabs::
  34. .. group-tab:: apache
  35. .. literalinclude:: ../../utils/templates/etc/apache2/sites-available/searx.conf:uwsgi
  36. :language: apache
  37. .. tabs::
  38. .. group-tab:: Ubuntu / debian
  39. .. code-block:: sh
  40. $ sudo -H apt install libapache2-mod-uwsgi
  41. .. group-tab:: Arch Linux
  42. .. code-block:: sh
  43. $ sudo -H pacman -S uwsgi
  44. .. group-tab:: Fedora / RHEL
  45. .. code-block:: sh
  46. $ sudo -H dnf install uwsgi