Skip to content

Commit 88e4224

Browse files
committed
added step for adding NGINX signing key for manual install
1 parent 9788926 commit 88e4224

File tree

11 files changed

+40
-24
lines changed

11 files changed

+40
-24
lines changed

content/includes/installation/add-nms-repo.md

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,39 @@ Add the NGINX Instance Manager repository:
3636

3737
{{%tab name="Debian, Ubuntu, Deb-Based"%}}
3838

39-
Add the NGINX Instance Manager repository:
40-
41-
- **Debian**
39+
1. Add the NGINX signing key:
4240

4341
```shell
44-
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/nms/debian `lsb_release -cs` nginx-plus\n" | sudo tee /etc/apt/sources.list.d/nms.list
45-
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
42+
wget -qO - https://cs.nginx.com/static/keys/nginx_signing.key \
43+
| gpg --dearmor \
44+
| sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
4645
```
4746

48-
<br>
47+
2. Add the NGINX Instance Manager repository:
4948

50-
- **Ubuntu**
49+
- **Debian**
5150

52-
```shell
53-
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/nms/ubuntu `lsb_release -cs` nginx-plus\n" | sudo tee /etc/apt/sources.list.d/nms.list
54-
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
55-
```
51+
```shell
52+
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
53+
https://pkgs.nginx.com/nms/debian $(lsb_release -cs) nginx-plus\n" | \
54+
sudo tee /etc/apt/sources.list.d/nms.list
55+
56+
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx \
57+
https://cs.nginx.com/static/files/90pkgs-nginx
58+
```
59+
60+
<br>
61+
62+
- **Ubuntu**
63+
64+
```shell
65+
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
66+
https://pkgs.nginx.com/nms/ubuntu $(lsb_release -cs) nginx-plus\n" | \
67+
sudo tee /etc/apt/sources.list.d/nms.list
68+
69+
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx \
70+
https://cs.nginx.com/static/files/90pkgs-nginx
71+
```
5672

5773
{{%/tab%}}
5874
{{</tabs>}}

content/includes/nim/clickhouse/clickhouse-defaults.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
docs: DOCS-1238
33
files:
44
- content/nim/system-configuration/configure-clickhouse.md
5-
- content/nim/deploy/vm-bare-metal/install-nim-deprecated.md
5+
- content/nim/deploy/vm-bare-metal/install-nim-manual.md
66
---
77

88
{{<bootstrap-table "table table-striped table-bordered">}}

content/includes/nim/clickhouse/clickhouse-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
docs:
33
files:
4-
- content/nim/deploy/vm-bare-metal/install-nim-deprecated.md
4+
- content/nim/deploy/vm-bare-metal/install-nim-manual.md
55
---
66

77
NGINX Instance Manager uses [ClickHouse](https://clickhouse.com) to store metrics, events, alerts, and configuration settings.

content/includes/nim/installation/optional-steps/configure-clickhouse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
docs:
33
files:
44
- content/nim/deploy/vm-bare-metal/install.md
5-
- content/nim/deploy/vm-bare-metal/install-nim-deprecated.md
5+
- content/nim/deploy/vm-bare-metal/install-nim-manual.md
66
- content/nim/disconnected/offline-install-guide.md
7-
- content/nim/disconnected/offline-install-guide-deprecated.md
7+
- content/nim/disconnected/offline-install-guide-manual.md
88
---
99

1010
If you installed ClickHouse and set a password (the default is an empty string), you must add it to the `clickhouse.password` setting in the `/etc/nms/nms.conf` file after installing NGINX Instance Manager. If the password is missing or incorrect, NGINX Instance Manager will not start.

content/includes/nim/installation/optional-steps/configure-selinux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
docs:
33
files:
4-
- content/nim/deploy/vm-bare-metal/install-nim-deprecated.md
4+
- content/nim/deploy/vm-bare-metal/install-nim-manual.md
55
- content/nim/deploy/vm-bare-metal/install.md
6-
- content/nim/disconnected/offline-install-guide-deprecated.md
6+
- content/nim/disconnected/offline-install-guide-manual.md
77
- content/nim/disconnected/offline-install-guide.md
88
---
99

content/includes/nim/installation/optional-steps/disable-metrics-collection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
docs:
33
files:
44
- content/nim/deploy/vm-bare-metal/install.md
5-
- content/nim/disconnected/offline-install-guide-deprecated.md
5+
- content/nim/disconnected/offline-install-guide-manual.md
66
- content/nim/disconnected/offline-install-guide.md
77
---
88

content/includes/nim/installation/optional-steps/install-configure-vault.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
docs:
33
files:
4-
- content/nim/deploy/vm-bare-metal/install-nim-deprecated.md
4+
- content/nim/deploy/vm-bare-metal/install-nim-manual.md
55
- content/nim/deploy/vm-bare-metal/install.md
6-
- content/nim/disconnected/offline-install-guide-deprecated.md
6+
- content/nim/disconnected/offline-install-guide-manual.md
77
- content/nim/disconnected/offline-install-guide.md
88
---
99

content/nim/deploy/vm-bare-metal/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The script installs:
2121
- ClickHouse by default, unless you choose to skip it
2222
- Optionally, NGINX Plus (requires a license and additional flags)
2323

24-
The script also installs all required operating system packages automatically. If you need to install earlier versions of NGINX or NGINX Instance Manager, follow the [manual installation process](({{< ref "nim/deploy/vm-bare-metal/install-nim-deprecated.md" >}})) instead.
24+
The script also installs all required operating system packages automatically. If you need to install earlier versions of NGINX or NGINX Instance Manager, follow the [manual installation process](({{< ref "nim/deploy/vm-bare-metal/install-nim-manual.md" >}})) instead.
2525

2626
---
2727

@@ -114,7 +114,7 @@ Ensure that the required `.crt` and `.key` files are available, preferably in th
114114

115115
#### Use the manual installation steps if needed
116116

117-
If the script fails or if you prefer more control over the process, consider using the [manual installation steps]({{< ref "nim/deploy/vm-bare-metal/install-nim-deprecated.md" >}}). These steps provide a reliable alternative for troubleshooting or handling complex setups.
117+
If the script fails or if you prefer more control over the process, consider using the [manual installation steps]({{< ref "nim/deploy/vm-bare-metal/install-nim-manual.md" >}}). These steps provide a reliable alternative for troubleshooting or handling complex setups.
118118

119119
### Run the installation script
120120

content/nim/disconnected/offline-install-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The script installs:
2121

2222
NGINX Plus is not supported in disconnected mode.
2323

24-
If you need to install earlier versions of NGINX or NGINX Instance Manager, follow the [manual installation process](({{< ref "nim/deploy/vm-bare-metal/install-nim-deprecated.md" >}})) instead.
24+
If you need to install earlier versions of NGINX or NGINX Instance Manager, follow the [manual installation process](({{< ref "nim/deploy/vm-bare-metal/install-nim-manual.md" >}})) instead.
2525

2626
---
2727

@@ -49,7 +49,7 @@ Ensure that the required `.crt` and `.key` files are available, preferably in th
4949

5050
#### Use the manual installation steps if needed
5151

52-
If the script fails or if you prefer more control over the process, consider using the [manual installation steps]({{< ref "nim/disconnected/offline-install-guide-deprecated.md" >}}). These steps provide a reliable alternative for troubleshooting or handling complex setups.
52+
If the script fails or if you prefer more control over the process, consider using the [manual installation steps]({{< ref "nim/disconnected/offline-install-guide-manual.md" >}}). These steps provide a reliable alternative for troubleshooting or handling complex setups.
5353

5454
### Download the SSL Certificate and Private Key from MyF5
5555

0 commit comments

Comments
 (0)