diff --git a/content/waf/install/virtual-environment.md b/content/waf/install/virtual-environment.md index a1d4e10ed..df6675623 100644 --- a/content/waf/install/virtual-environment.md +++ b/content/waf/install/virtual-environment.md @@ -127,27 +127,6 @@ Install the F5 WAF for NGINX package and its dependencies: sudo dnf install app-protect ``` -### Ubuntu - -Add the F5 WAF for NGINX repositories: - -```shell -printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \ -https://pkgs.nginx.com/app-protect/ubuntu `lsb_release -cs` nginx-plus\n" | \ -sudo tee /etc/apt/sources.list.d/nginx-app-protect.list - -printf "deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg] \ -https://pkgs.nginx.com/app-protect-security-updates/ubuntu `lsb_release -cs` nginx-plus\n" | \ -sudo tee /etc/apt/sources.list.d/app-protect-security-updates.list -``` - -Update the repositories, then install the F5 WAF for NGINX package and its dependencies: - -```shell -sudo apt-get update -sudo apt-get install app-protect -``` - ### RHEL / Rocky Linux 9 Add the F5 WAF for NGINX repository: @@ -174,6 +153,27 @@ Install the F5 WAF for NGINX package and its dependencies: sudo dnf install app-protect ``` +### Ubuntu + +Add the F5 WAF for NGINX repositories: + +```shell +printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \ +https://pkgs.nginx.com/app-protect/ubuntu `lsb_release -cs` nginx-plus\n" | \ +sudo tee /etc/apt/sources.list.d/nginx-app-protect.list + +printf "deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg] \ +https://pkgs.nginx.com/app-protect-security-updates/ubuntu `lsb_release -cs` nginx-plus\n" | \ +sudo tee /etc/apt/sources.list.d/app-protect-security-updates.list +``` + +Update the repositories, then install the F5 WAF for NGINX package and its dependencies: + +```shell +sudo apt-get update +sudo apt-get install app-protect +``` + ## Update configuration files {{< include "waf/install-update-configuration.md" >}} @@ -184,4 +184,4 @@ sudo dnf install app-protect ## Next steps -{{< include "waf/install-next-steps.md" >}} \ No newline at end of file +{{< include "waf/install-next-steps.md" >}}