From 9f72d1c7f23f2d428a6bd0b7cd68956a456b35f0 Mon Sep 17 00:00:00 2001 From: Krzysztof Jeziorny <872730+krzysztofjeziorny@users.noreply.github.com> Date: Thu, 24 Oct 2024 16:30:45 +0200 Subject: [PATCH] Update installation.rst Addresses #1476 with installation instructions for Ubuntu 24.04 LTS. --- source/installation.rst | 62 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/source/installation.rst b/source/installation.rst index edce9d63..1abd5d5e 100644 --- a/source/installation.rst +++ b/source/installation.rst @@ -125,7 +125,8 @@ they're available for: :ref:`21.10 `, :ref:`22.04 `, :ref:`22.10 `, - :ref:`23.04 ` + :ref:`23.04 `, + :ref:`24.04 ` The packages include core executables, developer files, @@ -1169,6 +1170,65 @@ Ubuntu .. tabs:: :prefix: ubuntu + + .. tab:: 24.04 + + Supported architectures: arm64, x86-64. + + #. Download and save NGINX's signing key: + + .. code-block:: console + + # curl --output /usr/share/keyrings/nginx-keyring.gpg \ + https://unit.nginx.org/keys/nginx-keyring.gpg + + This eliminates the + "packages cannot be authenticated" + warnings + during installation. + + #. To configure Unit's repository, + create the following file named + **/etc/apt/sources.list.d/unit.list**: + + .. code-block:: none + + deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ noble unit + deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ noble unit + + #. Install the core package + and other packages you need: + + .. code-block:: console + + # apt update + + .. code-block:: console + + # apt install unit + + .. code-block:: console + + # apt install :nxt_hint:`unit-dev ` unit-go unit-jsc11 unit-jsc17 unit-jsc18 unit-jsc19 unit-jsc20 \ + unit-perl unit-php unit-python3.12 unit-ruby unit-wasm + + .. code-block:: console + + # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup + + Runtime details: + + .. list-table:: + + * - Control :ref:`socket ` + - **/var/run/control.unit.sock** + + * - Log :ref:`file ` + - **/var/log/unit.log** + + * - Non-privileged :ref:`user and group ` + - **unit** + .. tab:: 23.04 Supported architectures: arm64, x86-64.