From ab35f01874bde3120e956aa5f10ba37917dc79d1 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 and add some new ones. There are newer releases of Fedora and Ubuntu, but we don't have packages yet (next release maybe). Link: Link: Link: Signed-off-by: Andrew Clayton --- source/installation.rst | 1148 +++++---------------------------------- 1 file changed, 127 insertions(+), 1021 deletions(-) diff --git a/source/installation.rst b/source/installation.rst index 3a05a1de..4e33bfb5 100644 --- a/source/installation.rst +++ b/source/installation.rst @@ -98,38 +98,19 @@ 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:`41 ` + +- 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, @@ -448,120 +429,40 @@ 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 - - .. code-block:: console - - # apt install unit - - .. code-block:: console - - # apt install :nxt_hint:`unit-dev ` unit-jsc11 unit-perl \ - unit-php unit-python2.7 unit-python3.7 unit-ruby - - .. 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:: 9 - - .. warning:: - - Unit's 1.22+ packages aren't built for Debian 9. - This distribution is obsolete; - please update. - - Supported architectures: i386, x86-64. +.. _installation-precomp-fedora: - #. Download and save NGINX's signing key: +====== +Fedora +====== - .. code-block:: console +.. tabs:: + :prefix: fedora - # curl --output /usr/share/keyrings/nginx-keyring.gpg \ - https://unit.nginx.org/keys/nginx-keyring.gpg + .. tab:: 41 - This eliminates the - "packages cannot be authenticated" - warnings - during installation. + Supported architecture: x86-64. #. To configure Unit's repository, create the following file named - **/etc/apt/sources.list.d/unit.list**: + **/etc/yum.repos.d/unit.repo**: - .. code-block:: none + .. code-block:: ini - 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 + [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 - # apt update - - .. code-block:: console - - # apt install unit - - .. code-block:: console - - # apt install :nxt_hint:`unit-dev ` unit-jsc8 unit-perl \ - unit-php unit-python2.7 unit-python3.5 unit-ruby - - .. code-block:: console - + # 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: @@ -569,25 +470,26 @@ Debian .. list-table:: * - Control :ref:`socket ` - - **/var/run/control.unit.sock** + - **/var/run/unit/control.sock** * - Log :ref:`file ` - - **/var/log/unit.log** + - **/var/log/unit/unit.log** * - Non-privileged :ref:`user and group ` - **unit** -.. _installation-precomp-fedora: +.. _installation-precomp-centos: +.. _installation-precomp-rhel: -====== -Fedora -====== +==================== +RHEL and derivatives +==================== .. tabs:: - :prefix: fedora + :prefix: rhel - .. tab:: 38 + .. tab:: 9.x Supported architecture: x86-64. @@ -599,7 +501,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 @@ -613,8 +515,8 @@ Fedora .. code-block:: console - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python311 unit-ruby + # yum install :nxt_hint:`unit-devel ` unit-go unit-jsc8 unit-jsc11 \ + unit-perl unit-php unit-python39 unit-wasm .. code-block:: console @@ -634,7 +536,7 @@ Fedora - **unit** - .. tab:: 37 + .. tab:: 8.x Supported architecture: x86-64. @@ -646,7 +548,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 @@ -660,8 +562,8 @@ Fedora .. code-block:: console - # 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-jsc8 unit-jsc11 \ + unit-perl unit-php unit-python27 unit-python36 unit-python38 unit-python39 unit-wasm .. code-block:: console @@ -680,41 +582,65 @@ Fedora * - Non-privileged :ref:`user and group ` - **unit** +.. note:: + + Use these steps + for binary-compatible distributions: + AlmaLinux, + CentOS, + Oracle Linux, + or Rocky Linux. - .. tab:: 36, 35 - .. warning:: +.. _installation-precomp-ubuntu: - Unit's 1.31+ packages aren't built for Fedora 36 and Fedora 35. - These distributions are obsolete; - please update. +====== +Ubuntu +====== - Supported architecture: x86-64. +.. 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/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/ 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 - # yum install unit + # apt update + + .. code-block:: console + + # apt install unit .. code-block:: console - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python39 unit-python310 unit-ruby unit-wasm + # apt install :nxt_hint:`unit-dev ` unit-go unit-jsc11 unit-jsc17 unit-jsc21 \ + unit-perl unit-php unit-python3.12 unit-ruby unit-wasm .. code-block:: console @@ -725,49 +651,55 @@ 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:: 34, 33 + .. tab:: 22.04 - .. warning:: + Supported architectures: arm64, x86-64. - Unit's 1.27+ packages aren't built for Fedora 33 and Fedora 34. - 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 + # apt update .. code-block:: console - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python39 unit-ruby + # apt install unit + + .. code-block:: console + + # 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 .. code-block:: console @@ -778,811 +710,50 @@ 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:: 32 + .. tab:: 20.04 - .. warning:: + Supported architectures: arm64, x86-64. - Unit's 1.24+ packages aren't built for Fedora 32. - 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/ focal unit + deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit #. Install the core package and other packages you need: .. code-block:: console - # yum install unit + # apt update .. code-block:: console - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python38 unit-ruby - - .. 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/unit/control.sock** - - * - Log :ref:`file ` - - **/var/log/unit/unit.log** - - * - Non-privileged :ref:`user and group ` - - **unit** - - - .. tab:: 31, 30 - - .. warning:: - - 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. - - 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 - - .. code-block:: console - - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 unit-perl \ - unit-php unit-python27 unit-python37 unit-ruby - - .. 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/unit/control.sock** - - * - Log :ref:`file ` - - **/var/log/unit/unit.log** - - * - Non-privileged :ref:`user and group ` - - **unit** - - - .. tab:: 29 - - .. warning:: - - Unit's 1.20+ packages aren't built for Fedora 29. - This distribution is obsolete; - please update. - - 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 - - .. code-block:: console - - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-perl \ - unit-php unit-python27 unit-python37 unit-ruby - - .. 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/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 - - .. code-block:: console - - # yum install :nxt_hint:`unit-devel ` unit-go unit-jsc8 unit-jsc11 \ - unit-perl unit-php unit-python39 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/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 - - .. code-block:: console - - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 \ - unit-perl unit-php unit-python27 unit-python36 unit-python38 unit-python39 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/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 - - .. code-block:: console - - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-jsc11 \ - unit-perl unit-php unit-python27 unit-python36 - - .. 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/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 - - .. code-block:: console - - # yum install :nxt_hint:`unit-devel ` unit-jsc8 unit-perl \ - unit-php unit-python - - .. 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/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 - - .. 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.11 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:: 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 - - .. 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-perl unit-php unit-python2.7 unit-python3.10 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:: 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 - - .. code-block:: console - - # apt install unit - - .. code-block:: console - - # 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 - - .. 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:: 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 - - .. code-block:: console - - # apt install unit - - .. code-block:: console - - # 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 - - .. 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:: 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 - - .. code-block:: console - - # apt install unit - - .. code-block:: console - - # 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 - - .. code-block:: console - - # apt install unit - - .. code-block:: console - - # apt install :nxt_hint:`unit-dev ` unit-jsc11 unit-jsc13 unit-jsc14 unit-jsc15 \ - unit-perl unit-php unit-python3.8 unit-ruby - - .. 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:: 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. - - #. 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/ focal unit - deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit - - #. Install the core package - and other packages you need: - - .. code-block:: console - - # apt update - - .. code-block:: console - - # apt install unit + # apt install unit .. code-block:: console @@ -1607,71 +778,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 - - .. code-block:: console - - # apt install unit - - .. code-block:: console - - # apt install :nxt_hint:`unit-dev ` unit-jsc11 unit-perl \ - unit-php unit-python2.7 unit-python3.7 unit-python3.8 unit-ruby - - .. 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:: 18.04 .. warning::