@@ -240,20 +240,23 @@ error when creating the nginx repo retriever - NGINX repo certificates not found
240
240
241
241
If needed, you can also [install the WAF compiler manually](# install-the-waf-compiler).
242
242
243
+
243
244
# # Install or update the WAF compiler in a disconnected environment
244
245
245
246
To install the WAF compiler on a system without internet access, complete these steps:
246
247
247
248
- ** Step 1:** Generate the WAF compiler package on a system that has internet access.
248
249
- ** Step 2:** Move the generated package to the offline target system and install it.
249
250
251
+
250
252
Note : Version of NAP compiler can be referred from the table at the top of this page.
251
253
Current latest version 5.442.0 at the point of writing this document is used in below commands.
252
254
253
255
{{< tabs name=" WAF compiler installation in offline environment" > }}
254
256
255
257
{{%tab name=" Ubuntu" %}}
256
258
259
+
257
260
# ## Install on Ubuntu 24.04, 22.04
258
261
259
262
# ### Step 1: On a system with internet access
@@ -276,10 +279,12 @@ sudo tee /etc/apt/sources.list.d/nms.list
276
279
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
277
280
mkdir -p compiler && cd compiler
278
281
sudo apt-get update
282
+
279
283
sudo apt-get download nms-nap-compiler-v5.442.0
280
284
cd ../
281
285
mkdir -p compiler/compiler.deps
282
286
sudo apt-get install --download-only --reinstall --yes --print-uris nms-nap-compiler-v5.442.0 | grep ^\' | cut -d\' -f2 | xargs -n 1 wget -P ./compiler/compiler.deps
287
+
283
288
tar -czvf compiler.tar.gz compiler/
284
289
` ` `
285
290
@@ -320,6 +325,7 @@ sudo tee /etc/apt/sources.list.d/nms.list
320
325
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
321
326
mkdir -p compiler && cd compiler
322
327
sudo apt-get update
328
+
323
329
sudo apt-get download nms-nap-compiler-v5.442.0
324
330
cd ../
325
331
mkdir -p compiler/compiler.deps
@@ -340,6 +346,7 @@ sudo dpkg -i ./compiler/*.deb
340
346
341
347
{{%/tab%}}
342
348
349
+
343
350
{{%tab name=" RHEL9, Oracle-9 " %}}
344
351
345
352
# ## Install on RHEL 9 or Oracle Linux 9
@@ -359,6 +366,7 @@ sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/nms.repo
359
366
sudo yum-config-manager --disable rhel-9-appstream-rhui-rpms
360
367
sudo yum update -y
361
368
sudo mkdir -p nms-nap-compiler
369
+
362
370
sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442.0
363
371
tar -czvf compiler.tar.gz nms-nap-compiler/
364
372
` ` `
@@ -376,6 +384,7 @@ sudo dnf install *.rpm --disablerepo=*
376
384
377
385
{{%/tab%}}
378
386
387
+
379
388
{{%tab name=" Redhat-8, Oracle-8" %}}
380
389
381
390
# ## Install on RHEL-8 or Oracle Linux 8
401
410
402
411
sudo yum update -y
403
412
sudo mkdir -p nms-nap-compiler
413
+
404
414
sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442.0
415
+
405
416
tar -czvf compiler.tar.gz nms-nap-compiler/
406
417
` ` `
407
418
0 commit comments