From e4b8d980cbe9f5294f84857ed65d4561c7f86637 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Wed, 11 Sep 2024 22:04:46 +0100 Subject: [PATCH] Prune and update OS list/install steps Removed a bunch of old Debian, Ubuntu RHEL, and Fedora versions. Link: Link: Link: Signed-off-by: Andrew Clayton --- source/installation.rst | 969 ++++------------------------------------ 1 file changed, 95 insertions(+), 874 deletions(-) diff --git a/source/installation.rst b/source/installation.rst index d07e605e..87b2541c 100644 --- a/source/installation.rst +++ b/source/installation.rst @@ -94,38 +94,20 @@ they're available for: Amazon |_| Linux |_| :ref:`2 `, Amazon |_| Linux |_| :ref:`2023 ` -- Debian |_| :ref:`9 `, - :ref:`10 `, - :ref:`11 `, +- Debian |_| :ref:`11 `, :ref:`12 ` -- Fedora |_| :ref:`29 `, - :ref:`30 `, - :ref:`31 `, - :ref:`32 `, - :ref:`33 `, - :ref:`34 `, - :ref:`35 `, - :ref:`36 `, - :ref:`37 `, - :ref:`38 ` - -- RHEL |_| :ref:`6 `, - :ref:`7 `, - :ref:`8 `, +- Fedora |_| :ref:`39 `, + :ref:`40 ` + +- RHEL |_| :ref:`8 `, :ref:`9 ` - Ubuntu |_| :ref:`16.04 `, - :ref:`18.04 - `, - :ref:`19.10 `, + :ref:`18.04 `, :ref:`20.04 `, - :ref:`20.10 `, - :ref:`21.04 `, - :ref:`21.10 `, :ref:`22.04 `, - :ref:`22.10 `, - :ref:`23.04 ` + :ref:`24.04 ` The packages include core executables, developer files, @@ -405,118 +387,6 @@ Debian - **unit** - .. tab:: 10 - - .. warning:: - - Unit's 1.28+ packages aren't built for Debian 10. - This distribution is obsolete; - please update. - - Supported architectures: i386, 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/debian/ buster unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/debian/ buster unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - # apt install unit - # apt install :nxt_hint:`unit-dev ` unit-jsc11 unit-perl \ - unit-php unit-python2.7 unit-python3.7 unit-ruby - # 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:: 9 - - .. warning:: - - Unit's 1.22+ packages aren't built for Debian 9. - This distribution is obsolete; - please update. - - Supported architectures: i386, 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/debian/ stretch unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/debian/ stretch unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - # apt install unit - # apt install :nxt_hint:`unit-dev ` unit-jsc8 unit-perl \ - unit-php unit-python2.7 unit-python3.5 unit-ruby - # 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** - - .. _installation-precomp-fedora: ====== @@ -526,7 +396,7 @@ Fedora .. tabs:: :prefix: fedora - .. tab:: 38 + .. tab:: 40, 39 Supported architecture: x86-64. @@ -548,9 +418,9 @@ Fedora .. code-block:: console - # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python311 unit-ruby + # dnf install unit + # dnf install :nxt_hint:`unit-devel ` unit-jsc17 unit-perl \ + unit-php unit-python312 unit-ruby # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup Runtime details: @@ -567,7 +437,17 @@ Fedora - **unit** - .. tab:: 37 +.. _installation-precomp-centos: +.. _installation-precomp-rhel: + +==================== +RHEL and derivatives +==================== + +.. tabs:: + :prefix: rhel + + .. tab:: 9.x Supported architecture: x86-64. @@ -579,7 +459,7 @@ Fedora [unit] name=unit repo - baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ + baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg gpgcheck=1 enabled=1 @@ -590,8 +470,8 @@ Fedora .. code-block:: console # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python311 unit-ruby unit-wasm + # yum install :nxt_hint:`unit-devel ` unit-go unit-jsc8 unit-jsc11 \ + unit-perl unit-php unit-python39 unit-wasm # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup Runtime details: @@ -608,13 +488,7 @@ Fedora - **unit** - .. tab:: 36, 35 - - .. warning:: - - Unit's 1.31+ packages aren't built for Fedora 36 and Fedora 35. - These distributions are obsolete; - please update. + .. tab:: 8.x Supported architecture: x86-64. @@ -626,7 +500,7 @@ Fedora [unit] name=unit repo - baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ + baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg gpgcheck=1 enabled=1 @@ -637,8 +511,8 @@ Fedora .. code-block:: console # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python39 unit-python310 unit-ruby unit-wasm + # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 \ + unit-perl unit-php unit-python27 unit-python36 unit-python38 unit-python39 unit-wasm # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup Runtime details: @@ -654,85 +528,59 @@ Fedora * - Non-privileged :ref:`user and group ` - **unit** +.. note:: - .. tab:: 34, 33 + Use these steps + for binary-compatible distributions: + AlmaLinux, + CentOS, + Oracle Linux, + or Rocky Linux. - .. warning:: - Unit's 1.27+ packages aren't built for Fedora 33 and Fedora 34. - These distributions are obsolete; - please update. +.. _installation-precomp-ubuntu: - Supported architecture: x86-64. +====== +Ubuntu +====== - #. To configure Unit's repository, - create the following file named - **/etc/yum.repos.d/unit.repo**: +.. tabs:: + :prefix: ubuntu - .. code-block:: ini + .. tab:: 24.04 - [unit] - name=unit repo - baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg - gpgcheck=1 - enabled=1 + Supported architectures: arm64, x86-64. - #. Install the core package - and other packages you need: + #. Download and save NGINX's signing key: .. code-block:: console - # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python39 unit-ruby - # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup - - Runtime details: - - .. list-table:: - - * - Control :ref:`socket ` - - **/var/run/unit/control.sock** - - * - Log :ref:`file ` - - **/var/log/unit/unit.log** - - * - Non-privileged :ref:`user and group ` - - **unit** - - - .. tab:: 32 - - .. warning:: - - Unit's 1.24+ packages aren't built for Fedora 32. - These distributions are obsolete; - please update. + # curl --output /usr/share/keyrings/nginx-keyring.gpg \ + https://unit.nginx.org/keys/nginx-keyring.gpg - Supported architecture: x86-64. + This eliminates the + "packages cannot be authenticated" + warnings + during installation. #. To configure Unit's repository, create the following file named - **/etc/yum.repos.d/unit.repo**: + **/etc/apt/sources.list.d/unit.list**: - .. code-block:: ini + .. code-block:: none - [unit] - name=unit repo - baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg - gpgcheck=1 - enabled=1 + deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ lunar unit + deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ lunar unit #. Install the core package and other packages you need: .. code-block:: console - # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python38 unit-ruby + # apt update + # apt install unit + # apt install :nxt_hint:`unit-dev ` unit-go unit-jsc11 unit-jsc17 unit-jsc18 unit-jsc19 unit-jsc20 \ + unit-perl unit-php unit-python3.11 unit-ruby unit-wasm # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup Runtime details: @@ -740,47 +588,49 @@ Fedora .. list-table:: * - Control :ref:`socket ` - - **/var/run/unit/control.sock** + - **/var/run/control.unit.sock** * - Log :ref:`file ` - - **/var/log/unit/unit.log** + - **/var/log/unit.log** * - Non-privileged :ref:`user and group ` - **unit** - .. tab:: 31, 30 + .. tab:: 22.04 - .. warning:: + Supported architectures: arm64, x86-64. - Unit's 1.20+ packages aren't built for Fedora 30; - 1.22+ packages aren't built for Fedora 31. - These distributions are obsolete; - please update. + #. Download and save NGINX's signing key: - Supported architecture: x86-64. + .. 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/yum.repos.d/unit.repo**: + **/etc/apt/sources.list.d/unit.list**: - .. code-block:: ini + .. code-block:: none - [unit] - name=unit repo - baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg - gpgcheck=1 - enabled=1 + deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ jammy unit + deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ jammy unit #. Install the core package and other packages you need: .. code-block:: console - # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python27 unit-python37 unit-ruby + # apt update + # apt install unit + # apt install :nxt_hint:`unit-dev ` unit-go unit-jsc11 unit-jsc16 unit-jsc17 unit-jsc18 \ + unit-perl unit-php unit-python2.7 unit-python3.10 unit-ruby unit-wasm # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup Runtime details: @@ -788,603 +638,30 @@ Fedora .. list-table:: * - Control :ref:`socket ` - - **/var/run/unit/control.sock** + - **/var/run/control.unit.sock** * - Log :ref:`file ` - - **/var/log/unit/unit.log** + - **/var/log/unit.log** * - Non-privileged :ref:`user and group ` - **unit** - .. tab:: 29 + .. tab:: 20.04 - .. warning:: + Supported architectures: arm64, x86-64. - Unit's 1.20+ packages aren't built for Fedora 29. - This distribution is obsolete; - please update. + #. Download and save NGINX's signing key: - Supported architecture: x86-64. - - #. To configure Unit's repository, - create the following file named - **/etc/yum.repos.d/unit.repo**: - - .. code-block:: ini - - [unit] - name=unit repo - baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg - gpgcheck=1 - enabled=1 - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-perl \ - unit-php unit-python27 unit-python37 unit-ruby - # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup - - Runtime details: - - .. list-table:: - - * - Control :ref:`socket ` - - **/var/run/unit/control.sock** - - * - Log :ref:`file ` - - **/var/log/unit/unit.log** - - * - Non-privileged :ref:`user and group ` - - **unit** - - -.. _installation-precomp-centos: -.. _installation-precomp-rhel: - -==================== -RHEL and derivatives -==================== - -.. tabs:: - :prefix: rhel - - .. tab:: 9.x - - Supported architecture: x86-64. - - #. To configure Unit's repository, - create the following file named - **/etc/yum.repos.d/unit.repo**: - - .. code-block:: ini - - [unit] - name=unit repo - baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ - gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg - gpgcheck=1 - enabled=1 - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-go unit-jsc8 unit-jsc11 \ - unit-perl unit-php unit-python39 unit-wasm - # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup - - Runtime details: - - .. list-table:: - - * - Control :ref:`socket ` - - **/var/run/unit/control.sock** - - * - Log :ref:`file ` - - **/var/log/unit/unit.log** - - * - Non-privileged :ref:`user and group ` - - **unit** - - - .. tab:: 8.x - - Supported architecture: x86-64. - - #. To configure Unit's repository, - create the following file named - **/etc/yum.repos.d/unit.repo**: - - .. code-block:: ini - - [unit] - name=unit repo - baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ - gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg - gpgcheck=1 - enabled=1 - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 \ - unit-perl unit-php unit-python27 unit-python36 unit-python38 unit-python39 unit-wasm - # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup - - Runtime details: - - .. list-table:: - - * - Control :ref:`socket ` - - **/var/run/unit/control.sock** - - * - Log :ref:`file ` - - **/var/log/unit/unit.log** - - * - Non-privileged :ref:`user and group ` - - **unit** - - - .. tab:: 7.x - - .. note:: - - Official packages for CentOS 7.x are also available. - - Supported architecture: x86-64. - - #. To configure Unit's repository, - create the following file named - **/etc/yum.repos.d/unit.repo**: - - .. code-block:: ini - - [unit] - name=unit repo - baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ - gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg - gpgcheck=1 - enabled=1 - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 \ - unit-perl unit-php unit-python27 unit-python36 - # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup - - Runtime details: - - .. list-table:: - - * - Control :ref:`socket ` - - **/var/run/unit/control.sock** - - * - Log :ref:`file ` - - **/var/log/unit/unit.log** - - * - Non-privileged :ref:`user and group ` - - **unit** - - - .. tab:: 6.x - - .. warning:: - - Unit's 1.20+ packages aren't built for RHEL 6. - This distribution is obsolete; - please update. - - Supported architectures: i386, x86-64. - - #. To configure Unit's repository, - create the following file named - **/etc/yum.repos.d/unit.repo**: - - .. code-block:: ini - - [unit] - name=unit repo - baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ - gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg - gpgcheck=1 - enabled=1 - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # yum install unit - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-perl \ - unit-php unit-python - # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup - - Runtime details: - - .. list-table:: - - * - Control :ref:`socket ` - - **/var/run/unit/control.sock** - - * - Log :ref:`file ` - - **/var/log/unit/unit.log** - - * - Non-privileged :ref:`user and group ` - - **unit** - -.. note:: - - Use these steps - for binary-compatible distributions: - AlmaLinux, - CentOS, - Oracle Linux, - or Rocky Linux. - - -.. _installation-precomp-ubuntu: - -====== -Ubuntu -====== - -.. tabs:: - :prefix: ubuntu - - .. tab:: 23.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/ lunar unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ lunar unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - # apt install unit - # apt install :nxt_hint:`unit-dev ` unit-go unit-jsc11 unit-jsc17 unit-jsc18 unit-jsc19 unit-jsc20 \ - unit-perl unit-php unit-python3.11 unit-ruby unit-wasm - # 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:: 22.10 - - .. warning:: - - Unit's 1.31+ packages aren't built for Ubuntu 22.10. - This distribution is obsolete; - please update. - - 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/ kinetic unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ kinetic unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - # apt install unit - # apt install :nxt_hint:`unit-dev ` unit-go unit-jsc11 unit-jsc17 unit-jsc18 unit-jsc19 \ - unit-perl unit-php unit-python2.7 unit-python3.10 unit-ruby unit-wasm - # 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:: 22.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/ jammy unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ jammy unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - # apt install unit - # apt install :nxt_hint:`unit-dev ` unit-go unit-jsc11 unit-jsc16 unit-jsc17 unit-jsc18 \ - unit-perl unit-php unit-python2.7 unit-python3.10 unit-ruby unit-wasm - # 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:: 21.10 - - .. warning:: - - Unit's 1.28+ packages aren't built for Ubuntu 21.10. - This distribution is obsolete; - please update. - - 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/ impish unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ impish unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - # apt install unit - # apt install :nxt_hint:`unit-dev ` unit-jsc11 unit-jsc16 unit-jsc17 unit-jsc18 \ - unit-perl unit-php unit-python2.7 unit-python3.9 unit-python3.10 unit-ruby - # 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:: 21.04 - - .. warning:: - - Unit's 1.27+ packages aren't built for Ubuntu 21.04. - This distribution is obsolete; - please update. - - 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/ hirsute unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ hirsute unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - # apt install unit - # apt install :nxt_hint:`unit-dev ` unit-jsc11 unit-jsc15 unit-jsc16 unit-jsc17 \ - unit-perl unit-php unit-python2.7 unit-python3.9 unit-ruby - # 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:: 20.10 - - .. warning:: - - Unit's 1.25+ packages aren't built for Ubuntu 20.10. - This distribution is obsolete; - please update. - - 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/ groovy unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ groovy unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - # apt install unit - # apt install :nxt_hint:`unit-dev ` unit-jsc11 unit-jsc13 unit-jsc14 unit-jsc15 \ - unit-perl unit-php unit-python3.8 unit-ruby - # 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:: 20.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. + .. 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 @@ -1420,62 +697,6 @@ Ubuntu - **unit** - .. tab:: 19.10 - - .. warning:: - - Unit's 1.20+ packages aren't built for Ubuntu 19.10. - This distribution is obsolete; - please update. - - Supported architecture: 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/ eoan unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ eoan unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - # apt install unit - # apt install :nxt_hint:`unit-dev ` unit-jsc11 unit-perl \ - unit-php unit-python2.7 unit-python3.7 unit-python3.8 unit-ruby - # 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:: 18.04 .. warning::