Skip to content

Commit c42afad

Browse files
authored
Docsp 35854 ubuntu url v6.0 (#6133)
* DOCSP-35854 Fixes Installation URL's (#6008) * DOCSP-35854 Fixes Ubuntu Community/Enterprise URL * Fixes Debian key * Fixes url * Fixes url * Fixes url * Fixes link * Refactors Debian calls * Fixes Debian curl include * Adds blank line to force build * Fixes build issue
1 parent d2e5a01 commit c42afad

6 files changed

+28
-11
lines changed

source/includes/curl-apt-org-gpg.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
From a terminal, install ``gnupg`` and ``curl`` if they are not already
3+
available:
4+
5+
.. code-block:: bash
6+
7+
sudo apt-get install gnupg curl
8+
9+
To import the MongoDB public GPG key from
10+
`https://www.mongodb.org/static/pgp/server-{+version+}.asc`__, run the
11+
following command:
12+
13+
.. code-block:: bash
14+
15+
curl -fsSL https://www.mongodb.org/static/pgp/server-{+version+}.asc | \
16+
sudo gpg -o /usr/share/keyrings/mongodb-server-{+version+}.gpg \
17+
--dearmor

source/includes/steps-install-mongodb-enterprise-on-debian.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
stepnum: 1
22
level: 4
3-
source:
4-
file: steps-install-mongodb-on-debian.yaml
5-
ref: import-key
3+
ref: import-key
4+
content: |
5+
.. include:: /includes/curl-apt-com-gpg
66
---
77
title: Create a ``/etc/apt/sources.list.d/mongodb-enterprise.list`` file for MongoDB.
88
stepnum: 2

source/includes/steps-install-mongodb-enterprise-on-ubuntu.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
stepnum: 1
22
level: 4
3-
ref: import-deb-key
4-
source:
5-
file: steps-install-mongodb-on-ubuntu.yaml
6-
ref: import-key
3+
ref: import-key
4+
content: |
5+
.. include:: /includes/curl-apt-com-gpg
76
---
87
title: Create a list file for MongoDB
98
stepnum: 2

source/includes/steps-install-mongodb-on-debian.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
stepnum: 1
22
level: 4
3-
source:
4-
file: steps-install-mongodb-on-ubuntu.yaml
5-
ref: import-key
3+
ref: import-key
4+
content: |
5+
.. include:: /includes/curl-apt-org-gpg
66
---
77
title: Create a ``/etc/apt/sources.list.d/mongodb-org-{+version+}.list`` file for MongoDB.
88
stepnum: 2

source/includes/steps-install-mongodb-on-ubuntu.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ stepnum: 1
33
level: 4
44
ref: import-key
55
content: |
6-
.. include:: /includes/curl-apt-gpg
6+
.. include:: /includes/curl-apt-org-gpg
77
---
88
title: Create a list file for MongoDB
99
stepnum: 2
@@ -34,6 +34,7 @@ content: |
3434
.. code-block:: bash
3535
3636
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-{+version+}.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
37+
3738
3839
- id: focal
3940
name: Ubuntu 20.04 (Focal)

0 commit comments

Comments
 (0)