From 6a6d5d48d6fc6b9438ef0413a543e1d90b9b6248 Mon Sep 17 00:00:00 2001 From: Raanan <59834489+rnitzan@users.noreply.github.com> Date: Tue, 16 Sep 2025 15:40:14 +0300 Subject: [PATCH 1/2] fix: missing epel-release installation for Rocky8/9 installation --- .../learn-about-deployment.md | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/content/nap-dos/deployment-guide/learn-about-deployment.md b/content/nap-dos/deployment-guide/learn-about-deployment.md index b4eeb180b..6c1feeabe 100644 --- a/content/nap-dos/deployment-guide/learn-about-deployment.md +++ b/content/nap-dos/deployment-guide/learn-about-deployment.md @@ -413,7 +413,7 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s 6. Enable Yum repositories to pull NGINX App Protect DoS dependencies: - If you have a RHEL subscription: + For RHEL subscription: ```shell sudo subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms @@ -421,14 +421,20 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm ``` -7. Add NGINX Plus and NGINX App Protect DoS repository: + For RockyLinux + + ```shell + sudo dnf -y install epel-release + ``` + +8. Add NGINX Plus and NGINX App Protect DoS repository: ```shell sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/nginx-plus-8.repo sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/app-protect-dos-8.repo ``` -8. In case of fresh installation, update the repository and install the most recent version of the NGINX Plus App Protect DoS package (which includes NGINX Plus): +9. In case of fresh installation, update the repository and install the most recent version of the NGINX Plus App Protect DoS package (which includes NGINX Plus): ```shell sudo dnf install app-protect-dos @@ -457,7 +463,7 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s sudo dnf install app-protect-dos-27+2.4.0 ``` -9. In case of upgrading from previously installed NGINX Plus App Protect DoS package (which includes NGINX Plus): +10. In case of upgrading from previously installed NGINX Plus App Protect DoS package (which includes NGINX Plus): ```shell sudo dnf remove nginx-plus @@ -621,7 +627,7 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s 6. Enable the yum repositories to pull NGINX App Protect DoS dependencies: - If you have a RHEL subscription: + for RHEL subscription: ```shell sudo subscription-manager repos --enable=rhel-9-for-x86_64-baseos-rpms @@ -629,6 +635,12 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm ``` + For RockyLinux + + ```shell + sudo dnf -y install epel-release + ``` + 7. Add the NGINX Plus and NGINX App Protect DoS repositories: ```shell From 5d8b3ebd604909cb8a0388b810c13422a76f60f4 Mon Sep 17 00:00:00 2001 From: Raanan <59834489+rnitzan@users.noreply.github.com> Date: Wed, 17 Sep 2025 08:19:09 +0300 Subject: [PATCH 2/2] fix: Rockylinux --- .../deployment-guide/learn-about-deployment.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/content/nap-dos/deployment-guide/learn-about-deployment.md b/content/nap-dos/deployment-guide/learn-about-deployment.md index 6c1feeabe..8a281efb4 100644 --- a/content/nap-dos/deployment-guide/learn-about-deployment.md +++ b/content/nap-dos/deployment-guide/learn-about-deployment.md @@ -421,11 +421,11 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm ``` - For RockyLinux + For RockyLinux: - ```shell - sudo dnf -y install epel-release - ``` + ```shell + sudo dnf -y install epel-release + ``` 8. Add NGINX Plus and NGINX App Protect DoS repository: @@ -627,7 +627,7 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s 6. Enable the yum repositories to pull NGINX App Protect DoS dependencies: - for RHEL subscription: + For RHEL subscription: ```shell sudo subscription-manager repos --enable=rhel-9-for-x86_64-baseos-rpms @@ -635,11 +635,11 @@ When deploying App Protect DoS on NGINX Plus take the following precautions to s sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm ``` - For RockyLinux + For RockyLinux: - ```shell - sudo dnf -y install epel-release - ``` + ```shell + sudo dnf -y install epel-release + ``` 7. Add the NGINX Plus and NGINX App Protect DoS repositories: