Skip to content

Commit 4c2691d

Browse files
authored
Update install.md (#650)
remove support Ubuntu 20.04
1 parent f8fedc0 commit 4c2691d

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

content/nap-waf/v4/admin-guide/install.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ NGINX App Protect WAF supports the following operating systems:
3333
- [Oracle Linux 8.1.x and above](#oracle-linux-81-installation)
3434
- [RHEL 8.1.x and above](#rhel-81-installation)
3535
- [RHEL 9 and above](#rhel-9-installation)
36-
- [Ubuntu 20.04 (Focal), 22.04 (Jammy) & 24.04 (Noble)](#ubuntu-installation)
36+
- [Ubuntu 22.04 (Jammy) & 24.04 (Noble)](#ubuntu-installation)
3737

3838
The NGINX App Protect WAF package has the following dependencies:
3939

@@ -870,7 +870,7 @@ If a user other than **nginx** is to be used, note the following:
870870
app-protect=23+3.263.0-1~[OS_CODENAME]
871871
```
872872
873-
Replace the [OS_CODENAME] in above the example with **focal** for Ubuntu 20.04, **jammy** for Ubuntu 22.04 and **noble** for Ubuntu 24.04.
873+
Replace the [OS_CODENAME] in above the example with **jammy** for Ubuntu 22.04 and **noble** for Ubuntu 24.04.
874874
<br>
875875
<br>
876876
@@ -917,7 +917,7 @@ If a user other than **nginx** is to be used, note the following:
917917
/opt/app_protect/bin/iprepd /etc/app_protect/tools/iprepd.cfg > ipi.log 2>&1 &
918918
```
919919
920-
{{< note >}} Ubuntu 20.04 / Ubuntu 22.04 / Ubuntu 24.04 activates **AppArmor** by default, but NGINX App Protect WAF will run in unconfined mode after being installed as it is shipped with no AppArmor profile. To benefit from AppArmor access control capabilities for NGINX App Protect WAF, you will have to write your own AppArmor profile for NGINX App Protect WAF executables found in `/opt/app_protect/bin` such that it best suits your environment.
920+
{{< note >}} Ubuntu 22.04 / Ubuntu 24.04 activates **AppArmor** by default, but NGINX App Protect WAF will run in unconfined mode after being installed as it is shipped with no AppArmor profile. To benefit from AppArmor access control capabilities for NGINX App Protect WAF, you will have to write your own AppArmor profile for NGINX App Protect WAF executables found in `/opt/app_protect/bin` such that it best suits your environment.
921921
{{< /note >}}
922922
923923
## Docker Deployments
@@ -1333,7 +1333,7 @@ CMD ["sh", "/root/entrypoint.sh"]
13331333
ARG OS_CODENAME
13341334
# Where OS_CODENAME can be: focal/jammy/noble
13351335
# syntax=docker/dockerfile:1
1336-
# For Ubuntu 20.04 / 22.04 / 24.04:
1336+
# For Ubuntu 22.04 / 24.04:
13371337
FROM ubuntu:${OS_CODENAME}
13381338
13391339
# Install prerequisite packages:
@@ -1664,13 +1664,13 @@ RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644
16641664
apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y app-protect-compiler
16651665
```
16661666
1667-
### Ubuntu 20.04 / Ubuntu 22.04 / Ubuntu 24.04 Converter Docker Deployment Example
1667+
### Ubuntu 22.04 / Ubuntu 24.04 Converter Docker Deployment Example
16681668
16691669
```dockerfile
16701670
ARG OS_CODENAME
16711671
# Where OS_CODENAME can be: bionic/focal/jammy/noble
16721672
# syntax=docker/dockerfile:1
1673-
# For Ubuntu 20.04 /22.04 / 24.04:
1673+
# For Ubuntu 22.04 / 24.04:
16741674
FROM ubuntu:${OS_CODENAME}
16751675
16761676
# Install prerequisite packages:
@@ -2041,7 +2041,7 @@ For Debian 12:
20412041
sudo apt-get install app-protect-attack-signatures=2020.04.30-1~bookworm
20422042
```
20432043
2044-
### Ubuntu 20.04 / Ubuntu 22.04
2044+
### Ubuntu 22.04 / Ubuntu 24.04
20452045
20462046
1. Add NGINX App Protect WAF Security Updates repository:
20472047
@@ -2076,12 +2076,6 @@ sudo apt-get install app-protect-attack-signatures=2020.04.30-1~bookworm
20762076
sudo apt-cache policy app-protect-attack-signatures
20772077
```
20782078
2079-
For Ubuntu 20.04:
2080-
2081-
```shell
2082-
sudo apt-get install app-protect-attack-signatures=2020.07.16-1~focal
2083-
```
2084-
20852079
For Ubuntu 22.04:
20862080
20872081
```shell
@@ -2294,7 +2288,7 @@ sudo apt-get install app-protect-threat-campaigns=2020.06.25-1~bullseye
22942288
sudo apt-get install app-protect-threat-campaigns=2020.06.25-1~bookworm
22952289
```
22962290
2297-
### Ubuntu 20.04 / Ubuntu 22.04
2291+
### Ubuntu 22.04
22982292
22992293
1. If not already configured, add the NGINX App Protect WAF Security Updates repository:
23002294
@@ -2500,7 +2494,7 @@ The App Protect Bot Signatures is named: app-protect-bot-signatures and it is a
25002494
```
25012495
25022496
2503-
### Ubuntu 20.04 / Ubuntu 22.04
2497+
### Ubuntu 22.04
25042498
25052499
1. If not already configured, add the NGINX App Protect WAF Security Updates repository:
25062500
@@ -2578,7 +2572,7 @@ You can uninstall the App Protect in below Operating Systems by using the follow
25782572
sudo dnf remove app-protect app-protect-selinux
25792573
```
25802574
2581-
### Debian 11 / Debian 12 / Ubuntu 20.04 / Ubuntu 22.04 / Ubuntu 24.04
2575+
### Debian 11 / Debian 12 / Ubuntu 22.04 / Ubuntu 24.04
25822576
25832577
```shell
25842578
sudo apt-get remove app-protect \
@@ -2640,7 +2634,7 @@ app-protect=27+3.1088.2-1~[OS_CODENAME]
26402634
26412635
**Note**: Replace the [OS_CODENAME] in the above command with **bullseye** for Debian 11 and **bookworm** for Debian 12.
26422636
2643-
### Ubuntu 20.04 / Ubuntu 22.04
2637+
### Ubuntu 22.04
26442638
26452639
1. Get the dependencies and their versions to be upgraded to by using the command:
26462640
@@ -2660,7 +2654,7 @@ app-protect=27+3.1088.2-1~[OS_CODENAME]
26602654
app-protect=27+3.1088.2-1~[OS_CODENAME]
26612655
```
26622656
2663-
**Note**: Replace the [OS_CODENAME] in the above command with **focal** for Ubuntu 20.04, **jammy** for Ubuntu 22.04, and **noble** for Ubuntu 24.04.
2657+
**Note**: Replace the [OS_CODENAME] in the above command with **jammy** for Ubuntu 22.04, and **noble** for Ubuntu 24.04.
26642658
26652659
## Upgrading App Protect to the latest version
26662660
@@ -2672,7 +2666,7 @@ Upgrade the NGINX App Protect WAF to the latest 4.x version:
26722666
sudo dnf -y update app-protect
26732667
```
26742668
2675-
### Debian 11 / Debian 12 / Ubuntu 20.04 / Ubuntu 22.04
2669+
### Debian 11 / Debian 12 / Ubuntu 22.04
26762670
26772671
Upgrade the NGINX App Protect WAF to the latest 4.x version:
26782672

0 commit comments

Comments
 (0)