@@ -99,7 +99,7 @@ Add F5 WAF for NGINX dependencies:
99
99
sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.amazonlinux2023.repo
100
100
```
101
101
102
- Install the latest version of F5 WAF for NGINX:
102
+ Install the F5 WAF for NGINX package and its dependencies :
103
103
104
104
``` shell
105
105
sudo dnf install app-protect
@@ -123,7 +123,7 @@ gpgcheck=0
123
123
enabled=1
124
124
```
125
125
126
- Install the latest version of F5 WAF for NGINX:
126
+ Install the F5 WAF for NGINX package and its dependencies :
127
127
128
128
``` shell
129
129
sudo dnf install app-protect-module-plus
@@ -133,32 +133,116 @@ sudo dnf install app-protect-module-plus
133
133
134
134
{{< /tabs >}}
135
135
136
- ### Debian
136
+ ### Debian
137
137
138
138
{{< tabs name="debian-instructions" >}}
139
139
140
140
{{% tab name="V4" %}}
141
141
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
+
142
161
{{% /tab %}}
143
162
144
163
{{% tab name="V5" %}}
145
164
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
+ ```
146
179
147
180
{{% /tab %}}
148
181
149
182
{{< /tabs >}}
150
183
151
184
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>}}
153
194
154
195
{{< tabs name="oracle-instructions" >}}
155
196
156
197
{{% tab name="V4" %}}
157
198
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
+
158
223
{{% /tab %}}
159
224
160
225
{{% tab name="V5" %}}
161
226
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
+ ```
162
246
163
247
{{% /tab %}}
164
248
@@ -170,25 +254,101 @@ sudo dnf install app-protect-module-plus
170
254
171
255
{{% tab name="V4" %}}
172
256
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
+
173
276
{{% /tab %}}
174
277
175
278
{{% tab name="V5" %}}
176
279
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
+ ```
177
294
178
295
{{% /tab %}}
179
296
180
297
{{< /tabs >}}
181
298
182
- ### RHEL / Rocky Linux
299
+ ### RHEL / Rocky Linux 9
183
300
184
301
{{< tabs name="rhel-instructions" >}}
185
302
186
303
{{% tab name="V4" %}}
187
304
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
+
188
329
{{% /tab %}}
189
330
190
331
{{% tab name="V5" %}}
191
332
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
+ ```
192
352
193
353
{{% /tab %}}
194
354
0 commit comments