Skip to content

Commit ccf779a

Browse files
vvnginxtravisamartinmjang
authored
fix: "Updated manual install steps of NIM for RHEL-9 distro. Updated NAP compiler version in offline installation steps " (#1000)
* fix: Add Offline steps to install WAF compiler on NIM * fix: Update setup-waf-config-management.md * fix: Update content/nim/nginx-app-protect/setup-waf-config-management.md Co-authored-by: Travis Martin <[email protected]> * fix: Update content/nim/nginx-app-protect/setup-waf-config-management.md Co-authored-by: Travis Martin <[email protected]> * fix: Update content/nim/nginx-app-protect/setup-waf-config-management.md Co-authored-by: Travis Martin <[email protected]> * fix: Update content/nim/nginx-app-protect/setup-waf-config-management.md Co-authored-by: Travis Martin <[email protected]> * fix: Update content/nim/nginx-app-protect/setup-waf-config-management.md Co-authored-by: Travis Martin <[email protected]> * fix: Update content/nim/nginx-app-protect/setup-waf-config-management.md Co-authored-by: Travis Martin <[email protected]> * fix: Update content/nim/nginx-app-protect/setup-waf-config-management.md Co-authored-by: Travis Martin <[email protected]> * fix: Update content/nim/nginx-app-protect/setup-waf-config-management.md Co-authored-by: Travis Martin <[email protected]> * fix: Update content/nim/nginx-app-protect/setup-waf-config-management.md Co-authored-by: Travis Martin <[email protected]> * fix: Update setup-waf-config-management.md --------- Co-authored-by: Travis Martin <[email protected]> Co-authored-by: Mike Jang <[email protected]>
1 parent 70aac3a commit ccf779a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/nim/nginx-app-protect/setup-waf-config-management.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,20 +240,23 @@ error when creating the nginx repo retriever - NGINX repo certificates not found
240240

241241
If needed, you can also [install the WAF compiler manually](#install-the-waf-compiler).
242242

243+
243244
## Install or update the WAF compiler in a disconnected environment
244245

245246
To install the WAF compiler on a system without internet access, complete these steps:
246247

247248
- **Step 1:** Generate the WAF compiler package on a system that has internet access.
248249
- **Step 2:** Move the generated package to the offline target system and install it.
249250

251+
250252
Note : Version of NAP compiler can be referred from the table at the top of this page.
251253
Current latest version 5.442.0 at the point of writing this document is used in below commands.
252254

253255
{{<tabs name="WAF compiler installation in offline environment">}}
254256

255257
{{%tab name="Ubuntu"%}}
256258

259+
257260
### Install on Ubuntu 24.04, 22.04
258261

259262
#### Step 1: On a system with internet access
@@ -276,10 +279,12 @@ sudo tee /etc/apt/sources.list.d/nms.list
276279
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
277280
mkdir -p compiler && cd compiler
278281
sudo apt-get update
282+
279283
sudo apt-get download nms-nap-compiler-v5.442.0
280284
cd ../
281285
mkdir -p compiler/compiler.deps
282286
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+
283288
tar -czvf compiler.tar.gz compiler/
284289
```
285290

@@ -320,6 +325,7 @@ sudo tee /etc/apt/sources.list.d/nms.list
320325
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
321326
mkdir -p compiler && cd compiler
322327
sudo apt-get update
328+
323329
sudo apt-get download nms-nap-compiler-v5.442.0
324330
cd ../
325331
mkdir -p compiler/compiler.deps
@@ -340,6 +346,7 @@ sudo dpkg -i ./compiler/*.deb
340346

341347
{{%/tab%}}
342348

349+
343350
{{%tab name="RHEL9, Oracle-9 "%}}
344351

345352
### 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
359366
sudo yum-config-manager --disable rhel-9-appstream-rhui-rpms
360367
sudo yum update -y
361368
sudo mkdir -p nms-nap-compiler
369+
362370
sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442.0
363371
tar -czvf compiler.tar.gz nms-nap-compiler/
364372
```
@@ -376,6 +384,7 @@ sudo dnf install *.rpm --disablerepo=*
376384

377385
{{%/tab%}}
378386

387+
379388
{{%tab name="Redhat-8, Oracle-8"%}}
380389

381390
### Install on RHEL-8 or Oracle Linux 8
@@ -401,7 +410,9 @@ EOF
401410
402411
sudo yum update -y
403412
sudo mkdir -p nms-nap-compiler
413+
404414
sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442.0
415+
405416
tar -czvf compiler.tar.gz nms-nap-compiler/
406417
```
407418

0 commit comments

Comments
 (0)