Skip to content

Commit 8aaa5e4

Browse files
committed
feat: Finish OS-specific set-up instructions
1 parent a7fdc21 commit 8aaa5e4

File tree

1 file changed

+165
-5
lines changed

1 file changed

+165
-5
lines changed

content/waf/install/plus/virtual-environment.md

Lines changed: 165 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Add F5 WAF for NGINX dependencies:
9999
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.amazonlinux2023.repo
100100
```
101101

102-
Install the latest version of F5 WAF for NGINX:
102+
Install the F5 WAF for NGINX package and its dependencies:
103103

104104
```shell
105105
sudo dnf install app-protect
@@ -123,7 +123,7 @@ gpgcheck=0
123123
enabled=1
124124
```
125125

126-
Install the latest version of F5 WAF for NGINX:
126+
Install the F5 WAF for NGINX package and its dependencies:
127127

128128
```shell
129129
sudo dnf install app-protect-module-plus
@@ -133,32 +133,116 @@ sudo dnf install app-protect-module-plus
133133

134134
{{< /tabs >}}
135135

136-
### Debian
136+
### Debian
137137

138138
{{< tabs name="debian-instructions" >}}
139139

140140
{{% tab name="V4" %}}
141141

142+
Add the F5 WAF for NGINX repositories:
143+
144+
```shell
145+
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
146+
https://pkgs.nginx.com/app-protect/debian `lsb_release -cs` nginx-plus\n" | \
147+
sudo tee /etc/apt/sources.list.d/nginx-app-protect.list
148+
149+
printf "deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg] \
150+
https://pkgs.nginx.com/app-protect-security-updates/debian `lsb_release -cs` nginx-plus\n" | \
151+
sudo tee /etc/apt/sources.list.d/app-protect-security-updates.list
152+
```
153+
154+
Update the repositories, then install the F5 WAF for NGINX package and its dependencies:
155+
156+
```shell
157+
sudo apt-get update
158+
sudo apt-get install app-protect
159+
```
160+
142161
{{% /tab %}}
143162

144163
{{% tab name="V5" %}}
145164

165+
Add the F5 WAF for NGINX repository:
166+
167+
```shell
168+
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
169+
https://pkgs.nginx.com/app-protect-x-plus/debian `lsb_release -cs` nginx-plus\n" | \
170+
sudo tee /etc/apt/sources.list.d/nginx-app-protect.list
171+
```
172+
173+
Update the repositories, then install the F5 WAF for NGINX package and its dependencies:
174+
175+
```shell
176+
sudo apt-get update
177+
sudo apt-get install app-protect-module-plus
178+
```
146179

147180
{{% /tab %}}
148181

149182
{{< /tabs >}}
150183

151184

152-
### Oracle Linux
185+
### Oracle Linux / RHEL / Rocky Linux 8
186+
187+
{{< call-out "important" >}}
188+
189+
These instructions apply to Oracle Linux 8.1, and RHEL / Rocky Linux 8.
190+
191+
Their packages are identical due to their similar architecture.
192+
193+
{{< /call-out>}}
153194

154195
{{< tabs name="oracle-instructions" >}}
155196

156197
{{% tab name="V4" %}}
157198

199+
Add the F5 WAF for NGINX repository:
200+
201+
```shell
202+
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/app-protect-8.repo
203+
```
204+
205+
Add F5 WAF for NGINX dependencies:
206+
207+
```shell
208+
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.repo
209+
```
210+
211+
Enable the _ol8_codeready_builder_ repository:
212+
213+
```shell
214+
sudo dnf config-manager --set-enabled ol8_codeready_builder
215+
```
216+
217+
Install the F5 WAF for NGINX package and its dependencies:
218+
219+
```shell
220+
sudo dnf install app-protect
221+
```
222+
158223
{{% /tab %}}
159224

160225
{{% tab name="V5" %}}
161226

227+
Create a file for the F5 WAF for NGINX repository:
228+
229+
**/etc/yum.repos.d/app-protect-x-plus.repo**
230+
231+
```shell
232+
[app-protect-x-plus]
233+
name=nginx-app-protect repo
234+
baseurl=https://pkgs.nginx.com/app-protect-x-plus/centos/8/$basearch/
235+
sslclientcert=/etc/ssl/nginx/nginx-repo.crt
236+
sslclientkey=/etc/ssl/nginx/nginx-repo.key
237+
gpgcheck=0
238+
enabled=1
239+
```
240+
241+
Install the F5 WAF for NGINX package and its dependencies:
242+
243+
```shell
244+
sudo dnf install app-protect-module-plus
245+
```
162246

163247
{{% /tab %}}
164248

@@ -170,25 +254,101 @@ sudo dnf install app-protect-module-plus
170254

171255
{{% tab name="V4" %}}
172256

257+
Add the F5 WAF for NGINX repositories:
258+
259+
```shell
260+
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
261+
https://pkgs.nginx.com/app-protect/ubuntu `lsb_release -cs` nginx-plus\n" | \
262+
sudo tee /etc/apt/sources.list.d/nginx-app-protect.list
263+
264+
printf "deb [signed-by=/usr/share/keyrings/app-protect-security-updates.gpg] \
265+
https://pkgs.nginx.com/app-protect-security-updates/ubuntu `lsb_release -cs` nginx-plus\n" | \
266+
sudo tee /etc/apt/sources.list.d/app-protect-security-updates.list
267+
```
268+
269+
Update the repositories, then install the F5 WAF for NGINX package and its dependencies:
270+
271+
```shell
272+
sudo apt-get update
273+
sudo apt-get install app-protect
274+
```
275+
173276
{{% /tab %}}
174277

175278
{{% tab name="V5" %}}
176279

280+
Add the F5 WAF for NGINX repositories:
281+
282+
```shell
283+
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
284+
https://pkgs.nginx.com/app-protect-x-plus/ubuntu `lsb_release -cs` nginx-plus\n" | \
285+
sudo tee /etc/apt/sources.list.d/nginx-app-protect.list
286+
```
287+
288+
Update the repository, then install the F5 WAF for NGINX package and its dependencies:
289+
290+
```shell
291+
sudo apt-get update
292+
sudo apt-get install app-protect-module-plus
293+
```
177294

178295
{{% /tab %}}
179296

180297
{{< /tabs >}}
181298

182-
### RHEL / Rocky Linux
299+
### RHEL / Rocky Linux 9
183300

184301
{{< tabs name="rhel-instructions" >}}
185302

186303
{{% tab name="V4" %}}
187304

305+
Add the F5 WAF for NGINX repository:
306+
307+
```shell
308+
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/app-protect-9.repo
309+
```
310+
311+
Add F5 WAF for NGINX dependencies:
312+
313+
```shell
314+
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.repo
315+
```
316+
317+
Enable the _codeready-builder_ repository:
318+
319+
```shell
320+
sudo subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms
321+
```
322+
323+
Install the F5 WAF for NGINX package and its dependencies:
324+
325+
```shell
326+
sudo dnf install app-protect
327+
```
328+
188329
{{% /tab %}}
189330

190331
{{% tab name="V5" %}}
191332

333+
Create a file for the F5 WAF for NGINX repository:
334+
335+
**/etc/yum.repos.d/app-protect-x-plus.repo**
336+
337+
```shell
338+
[app-protect-x-plus]
339+
name=nginx-app-protect repo
340+
baseurl=https://pkgs.nginx.com/app-protect-x-plus/centos/8/$basearch/
341+
sslclientcert=/etc/ssl/nginx/nginx-repo.crt
342+
sslclientkey=/etc/ssl/nginx/nginx-repo.key
343+
gpgcheck=0
344+
enabled=1
345+
```
346+
347+
Install the F5 WAF for NGINX package and its dependencies:
348+
349+
```shell
350+
sudo dnf install app-protect-module-plus
351+
```
192352

193353
{{% /tab %}}
194354

0 commit comments

Comments
 (0)