Skip to content

Commit eb8a87f

Browse files
Add specific version instructions for NGINX Agent v2 installation
1 parent 186043f commit eb8a87f

File tree

3 files changed

+34
-34
lines changed

3 files changed

+34
-34
lines changed

content/agent/installation-upgrade/installation-oss.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
5050
module_hotfixes=true
5151
```
5252

53-
1. To install `nginx-agent`, run the following command:
53+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
5454

5555
```shell
56-
sudo yum install nginx-agent
56+
sudo yum install -y nginx-agent-2.42.0
5757
```
5858

5959
When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -105,11 +105,11 @@ Before you install NGINX Agent for the first time on your system, you need to se
105105
| sudo tee /etc/apt/sources.list.d/nginx-agent.list
106106
```
107107

108-
1. To install `nginx-agent`, run the following commands:
108+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
109109

110110
```shell
111111
sudo apt update
112-
sudo apt install nginx-agent
112+
sudo apt install -y nginx-agent=2.42.0~`lsb_release -cs`
113113
```
114114

115115
1. Verify the installation:
@@ -166,11 +166,11 @@ Before you install NGINX Agent for the first time on your system, you need to se
166166
http://packages.nginx.org/nginx-agent/debian/ `lsb_release -cs` agent" \ | sudo tee /etc/apt/sources.list.d/nginx-agent.list
167167
```
168168

169-
1. To install `nginx-agent`, run the following commands:
169+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
170170

171171
```shell
172172
sudo apt update
173-
sudo apt install nginx-agent
173+
sudo apt install -y nginx-agent=2.42.0~`lsb_release -cs`
174174
```
175175

176176
1. Verify the installation:
@@ -229,10 +229,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
229229
sudo rpmkeys --import /tmp/nginx_signing.key
230230
```
231231
232-
1. To install `nginx-agent`, run the following command:
232+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
233233
234234
```shell
235-
sudo zypper install nginx-agent
235+
sudo zypper install -y nginx-agent=2.42.0
236236
```
237237
238238
1. Verify the installation:
@@ -303,10 +303,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
303303
sudo mv /tmp/nginx_signing.rsa.pub /etc/apk/keys/
304304
```
305305

306-
1. To install `nginx-agent`, run the following command:
306+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
307307

308308
```shell
309-
sudo apk add nginx-agent
309+
sudo apk add nginx-agent=2.42.0
310310
```
311311

312312
1. Verify the installation:
@@ -334,10 +334,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
334334
module_hotfixes=true
335335
```
336336

337-
1. To install `nginx-agent`, run the following command:
337+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
338338

339339
```shell
340-
sudo dnf install nginx-agent
340+
sudo dnf install -y nginx-agent-2.42.0
341341
```
342342

343343
1. When prompted to accept the GPG key, verify that the fingerprint matches
@@ -370,10 +370,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
370370
module_hotfixes=true
371371
```
372372

373-
1. To install `nginx-agent`, run the following command:
373+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
374374

375375
```shell
376-
sudo yum install nginx-agent
376+
sudo yum install -y nginx-agent-2.42.0
377377
```
378378

379379
1. When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -396,10 +396,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
396396
}
397397
```
398398

399-
1. To install `nginx-agent`, run the following command:
399+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
400400

401401
```shell
402-
sudo pkg install nginx-agent
402+
sudo pkg install nginx-agent-2.42.0
403403
```
404404

405405
1. Verify the installation:

content/agent/installation-upgrade/installation-plus.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
7373
enabled=1
7474
```
7575

76-
1. To install `nginx-agent`, run the following command:
76+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
7777

7878
```shell
79-
sudo yum install nginx-agent
79+
sudo yum install -y nginx-agent-2.42.0
8080
```
8181

8282
When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -131,11 +131,11 @@ Before you install NGINX Agent for the first time on your system, you need to se
131131
| sudo tee /etc/apt/sources.list.d/nginx-agent.list
132132
```
133133

134-
1. To install `nginx-agent`, run the following commands:
134+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
135135

136136
```shell
137137
sudo apt update
138-
sudo apt install nginx-agent
138+
sudo apt install -y nginx-agent=2.42.0~`lsb_release -cs`
139139
```
140140

141141
1. Verify the installation:
@@ -183,11 +183,11 @@ Before you install NGINX Agent for the first time on your system, you need to se
183183
Acquire::https::pkgs.nginx.com::SslKey "/etc/ssl/nginx/nginx-repo.key";
184184
```
185185

186-
1. To install `nginx-agent`, run the following commands:
186+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
187187

188188
```shell
189189
sudo apt update
190-
sudo apt install nginx-agent
190+
sudo apt install -y nginx-agent=2.42.0~`lsb_release -cs`
191191
```
192192

193193
1. Verify the installation:
@@ -265,10 +265,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
265265
sudo rpmkeys --import /tmp/nginx_signing.key
266266
```
267267
268-
1. To install `nginx-agent`, run the following command:
268+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
269269
270270
```shell
271-
sudo zypper install nginx-agent
271+
sudo zypper install -y nginx-agent=2.42.0
272272
```
273273
274274
1. Verify the installation:
@@ -394,10 +394,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
394394
enabled=1
395395
```
396396

397-
1. To install `nginx-agent`, run the following command:
397+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
398398

399399
```shell
400-
sudo dnf install nginx-agent
400+
sudo dnf install -y nginx-agent-2.42.0
401401
```
402402

403403
1. When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -442,10 +442,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
442442
enabled=1
443443
```
444444

445-
1. To install `nginx-agent`, run the following command:
445+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
446446

447447
```shell
448-
sudo yum install nginx-agent
448+
sudo yum install -y nginx-agent-2.42.0
449449
```
450450

451451
1. When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -496,10 +496,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
496496
SSL_CLIENT_KEY_FILE: "/etc/ssl/nginx/nginx-repo.key" }
497497
```
498498
499-
1. To install `nginx-agent`, run the following command:
499+
1. To install `nginx-agent`, with a specific version (example: 2.42.0):
500500
501501
```shell
502-
sudo pkg install nginx-agent
502+
sudo pkg install nginx-agent-2.42.0
503503
```
504504
505505
1. Verify the installation:

content/agent/installation-upgrade/upgrade.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ To upgrade NGINX Agent to a specific **v2.x version**, follow these steps:
6060
sudo apt-get install -y nginx-agent=<specific-version> -o Dpkg::Options::="--force-confold"
6161
```
6262

63-
Example (to upgrade to version 2.41.1~noble):
63+
Example (to upgrade to version 2.42.0~noble):
6464

6565
```shell
66-
sudo apt-get install -y nginx-agent=2.41.1~noble -o Dpkg::Options::="--force-confold"
66+
sudo apt-get install -y nginx-agent=2.42.0~noble -o Dpkg::Options::="--force-confold"
6767
```
6868

6969
- CentOS, RHEL, RPM-Based
@@ -72,10 +72,10 @@ To upgrade NGINX Agent to a specific **v2.x version**, follow these steps:
7272
sudo yum install -y nginx-agent-<specific-version>
7373
```
7474

75-
Example (to upgrade to version `2.41.1`):
75+
Example (to upgrade to version `2.42.0`):
7676

7777
```shell
78-
sudo yum install -y nginx-agent-2.41.1
78+
sudo yum install -y nginx-agent-2.42.0
7979
```
8080

8181
1. Verify the installed version:

0 commit comments

Comments
 (0)