Skip to content

Commit d56f2d1

Browse files
kennethdyerKenneth P. J. Dyer
andauthored
DOCS-16140 Updates Debian/Ubuntu 7.0 Installation (#3380)
* DOCSP-4271 Adds Troubleshooting link to MongoDB Enterprise on Ubuntu page (#3149) * DOCSP-28712 Ubuntu Jammy Tar Install (#3150) * DOCSP-28712 Ubuntu Jammy Tar Install * Fixes build * Adds Jammy for Community Tar * DOCS-15499 Debian 11 Installation (#2157) * DOCSP-15499 Debian 11 installation instructions * Fixes build issue * Fixes build issue * Debian community install * Fixes per Aaron Morand * Fixes per Aaron Morand * DOCS-15945 Fixes Repo URL for Enterprise Jammy Install (#2793) * DOCS-15945 Changes repo from community to enterprise * Fixes per Arturo Costa * DOCS-16140 Removes Ubuntu 18.04 and 16.04 from 7.0 install docs * DOCS-16138 Adds support for Debian 12 install of MongoDB 7.0 * DOCS-16139 Removes Debian 10 and 9 from install pages * Fixes build issue * Removes Buster * Fixes build issue * Fixes platform on Debian Enterprise * Fixes build issue * Fixes build issue * Fixes build issue * Fixes build issue * Fixes build issue * Fixes build issue * Fixes build issue * Fixes build issue * Fixes build issue * Fixes build issue * Fixes build issue * Fixes build issue --------- Co-authored-by: Kenneth P. J. Dyer <[email protected]>
1 parent 0a16741 commit d56f2d1

11 files changed

+89
-96
lines changed

snooty.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ sbe = "slot-based query execution engine"
242242
sbe-short = "slot-based execution engine"
243243
sbe-title = "Slot-Based Query Execution Engine"
244244
version = "{+version+}"
245+
version-last = "{+version-last+}"
245246
year = "2022"
246247

247248

@@ -253,9 +254,10 @@ package-name-enterprise = "mongodb-enterprise"
253254
package-name = "mongodb"
254255
version = "7.0"
255256
latest-lts-version = "6.0"
256-
last-supported-version = "5.0"
257+
last-supported-version = "6.0"
257258
release = "7.0"
258259
version-dev = "7.0"
260+
version-last = "6.0"
259261
pgp-version = "{+version+}"
260262
rsa-key = "4B7C549A058F8B6B"
261263
pgp-fingerprint = "E162F504A20CDF15827F718D4B7C549A058F8B6B"

source/includes/curl-apt-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+
Issue the following command to import the
10+
MongoDB public GPG Key from `<https://pgp.mongodb.com/server-{+version+}.asc>`_:
11+
12+
.. code-block:: bash
13+
14+
curl -fsSL https://pgp.mongodb.com/server-{+version+}.asc | \
15+
sudo gpg -o /usr/share/keyrings/mongodb-server-{+version+}.gpg \
16+
--dearmor
17+

source/includes/extracts-install-mongodb-manually.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,22 @@ content: |
5757
.. code-block:: bash
5858
5959
sudo apt-get install libcurl3 openssl liblzma5
60+
6061
---
62+
6163
ref: install-mongodb-enterprise-manually-ubuntu-22
6264
content: |
6365
.. code-block:: bash
6466
65-
sudo apt-get install libcurl4 libgssapi-krb5-2 libldap-2.4-2 libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit openssl liblzma5
67+
sudo apt-get install libcurl4 libgssapi-krb5-2 libldap-2.5-0 libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit snmp openssl liblzma5
68+
69+
---
70+
ref: install-mongodb-community-manually-ubuntu-22
71+
content: |
72+
.. code-block:: bash
73+
74+
sudo apt-get install libcurl4 libgssapi-krb5-2 libldap-2.5-0 libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit openssl liblzma5
75+
6676
---
6777
ref: install-mongodb-enterprise-manually-ubuntu-20
6878
content: |
@@ -82,12 +92,6 @@ content: |
8292
8393
sudo apt-get install libcurl3 libgssapi-krb5-2 libldap-2.4-2 libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit openssl liblzma5
8494
---
85-
ref: install-mongodb-community-manually-ubuntu-22
86-
content: |
87-
.. code-block:: bash
88-
89-
sudo apt-get install libcurl4 openssl liblzma5
90-
---
9195
ref: install-mongodb-community-manually-ubuntu-20
9296
content: |
9397
.. code-block:: bash

source/includes/fact-platform-support-debian.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ MongoDB {+version+} Community Edition supports the following
66

77
- Debian 11 "Bullseye"
88

9-
- Debian 10 "Buster"
10-
119
MongoDB only supports the 64-bit versions of these platforms.
1210

1311
See :ref:`prod-notes-supported-platforms` for more information.

source/includes/fact-platform-support-enterprise-debian.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ MongoDB {+version+} Enterprise Edition supports the following
66

77
- Debian 11 "Bullseye"
88

9-
- Debian 10 "Buster"
10-
119
MongoDB only supports the 64-bit versions of these platforms.
1210

1311
See :ref:`prod-notes-supported-platforms` for more information.

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

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,43 +15,45 @@ content: |
1515
1616
.. tabs::
1717
18-
.. tab:: Debian 10 "Buster"
19-
:tabid: debian-10-buster
18+
.. tab:: Debian 12 "Bookworm"
19+
:tabid: debian-12-bookworm
2020
2121
.. code-block:: bash
2222
23-
echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
23+
echo "deb http://repo.mongodb.com/apt/debian bookworm/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
2424
25-
.. tab:: Debian 9 "Stretch"
26-
:tabid: debian-9-stretch
25+
.. tab:: Debian 11 "Bullseye"
26+
:tabid: debian-11-bullseye
2727
2828
.. code-block:: bash
2929
30-
echo "deb http://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
30+
echo "deb http://repo.mongodb.com/apt/debian bullseye/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
3131
3232
If you'd like to install MongoDB Enterprise packages from a
3333
particular :ref:`release series <release-version-numbers>`, you can
3434
specify the release series of a version of MongoDB that is supported
3535
for your Debian build in the repository configuration. For example,
36-
to restrict your system to the 4.2 release series, add the following
37-
repository:
36+
to restrict your system to the {+version-last+} release series,
37+
add the following repository:
3838
3939
.. tabs::
4040
:hidden:
41-
42-
.. tab:: Debian 10 "Buster"
43-
:tabid: debian-10-buster
41+
42+
.. tab:: Debian 12 "Bookworm"
43+
:tabid: debian-11-bullseye
4444
4545
.. code-block:: bash
4646
47-
echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-enterprise/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-4.2.list
47+
echo "deb http://repo.mongodb.com/apt/debian bookworm/mongodb-enterprise/{+version-last+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version-last+}.list
4848
49-
.. tab:: Debian 9 "Stretch"
50-
:tabid: debian-9-stretch
49+
50+
.. tab:: Debian 11 "Bullseye"
51+
:tabid: debian-11-bullseye
5152
5253
.. code-block:: bash
5354
54-
echo "deb http://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-4.2.list
55+
echo "deb http://repo.mongodb.com/apt/debian bullseye/mongodb-enterprise/{+version-last+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version-last+}.list
56+
5557
---
5658
stepnum: 3
5759
level: 4

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

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,28 @@ content: |
1515
1616
.. tabs::
1717
18-
tabs:
19-
20-
- id: jammy
21-
name: Ubuntu 22.04 (Jammy)
22-
content: |
18+
.. tab:: Ubuntu 22.04
19+
:tabid: jammy
20+
21+
The following instruction is for **Ubuntu 22.04 (Jammy)**.
2322
24-
The following instruction is for **Ubuntu 22.04 (Jammy)**.
23+
Create the list file for **Ubuntu 22.04 (Jammy)**:
2524
26-
Create the list file for Ubuntu 22.04 (Jammy).
25+
.. code-block:: bash
2726
28-
.. code-block:: bash
27+
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.com/apt/ubuntu jammy/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version+}.list
2928
30-
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.com/apt/ubuntu jammy/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
29+
.. tab:: Ubuntu 20.04
30+
:tabid: focal
3131
32-
- id: focal
33-
name: Ubuntu 20.04 (Focal)
34-
content: |
32+
The following instruction is for **Ubuntu 20.04
33+
(Focal)**.
3534
36-
The following instruction is for **Ubuntu 20.04
37-
(Focal)**.
35+
Create the list file for Ubuntu 20.04 (Focal).
3836
39-
Create the list file for Ubuntu 20.04 (Focal).
37+
.. code-block:: bash
4038
41-
.. code-block:: bash
42-
43-
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.com/apt/ubuntu focal/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
39+
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.com/apt/ubuntu focal/mongodb-enterprise/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
4440
4541
---
4642
stepnum: 3

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,20 @@ content: |
1515
1616
.. tabs::
1717
18-
.. tab:: Debian 10 "Buster"
19-
:tabid: debian-10-buster
18+
.. tab:: Debian 12 "Bookworm"
19+
:tabid: debian-12-bookworm
2020
2121
.. code-block:: bash
2222
23-
echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
23+
echo "deb http://repo.mongodb.org/apt/debian bookworm/mongodb-org/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
2424
25-
.. tab:: Debian 9 "Stretch"
26-
:tabid: debian-9-stretch
25+
.. tab:: Debian 11 "Bullseye"
26+
:tabid: debian-11-bullseye
2727
2828
.. code-block:: bash
2929
30-
echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
30+
echo "deb http://repo.mongodb.org/apt/debian bullseye/mongodb-org/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
31+
3132
---
3233
stepnum: 3
3334
level: 4

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

Lines changed: 15 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,7 @@ stepnum: 1
33
level: 4
44
ref: import-key
55
content: |
6-
From a terminal, issue the following command to import the
7-
MongoDB public GPG Key from `<https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc>`_:
8-
9-
.. code-block:: bash
10-
11-
wget -qO - https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc | sudo apt-key add -
12-
13-
The operation should respond with an ``OK``.
14-
15-
However, if you receive an error indicating that ``gnupg`` is not
16-
installed, you can:
17-
18-
#. Install ``gnupg`` and its required libraries using the following command:
19-
20-
.. code-block:: bash
21-
22-
sudo apt-get install gnupg
23-
24-
#. Once installed, retry importing the key:
25-
26-
.. code-block:: bash
27-
28-
wget -qO - https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc | sudo apt-key add -
29-
6+
.. include:: /includes/curl-apt-gpg
307
---
318
title: Create a list file for MongoDB.
329
stepnum: 2
@@ -44,35 +21,29 @@ content: |
4421
4522
.. tabs::
4623
47-
tabs:
48-
49-
- id: jammy
50-
name: Ubuntu 22.04 (Jammy)
51-
content: |
24+
.. tab:: Ubuntu 22.04 (Jammy)
25+
:tabid: jammy
5226
53-
The following instruction is for **Ubuntu 22.04 (Jammy)**.
27+
The following instruction is for **Ubuntu 22.04 (Jammy)**.
5428
55-
Create the
56-
``/etc/apt/sources.list.d/mongodb-org-{+version+}.list``
57-
file for Ubuntu 22.04 (Jammy):
29+
Create the ``/etc/apt/sources.list.d/mongodb-org-{+version+}.list``
30+
file for Ubuntu 22.04 (Focal):
5831
59-
.. code-block:: bash
32+
.. code-block:: bash
6033
61-
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
34+
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
6235
63-
- id: focal
64-
name: Ubuntu 20.04 (Focal)
65-
content: |
36+
.. tab:: Ubuntu 20.04 (Focal)
37+
:tabid: focal
6638
67-
The following instruction is for **Ubuntu 20.04 (Focal)**.
39+
The following instruction is for **Ubuntu 20.04 (Focal)**.
6840
69-
Create the
70-
``/etc/apt/sources.list.d/mongodb-org-{+version+}.list``
71-
file for Ubuntu 20.04 (Focal):
41+
Create the ``/etc/apt/sources.list.d/mongodb-org-{+version+}.list``
42+
file for Ubuntu 20.04 (Focal):
7243
73-
.. code-block:: bash
44+
.. code-block:: bash
7445
75-
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
46+
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/{+version+} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
7647
7748
---
7849
title: Reload local package database.

source/tutorial/install-mongodb-enterprise-on-ubuntu.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Follow these steps to install MongoDB |edition| Edition using the
7878

7979
.. include:: /includes/install-mongodb-apt-get-commands.rst
8080

81+
For help with troubleshooting errors encountered while installing
82+
MongoDB on Ubuntu, see our
83+
:ref:`troubleshooting <install-ubuntu-troubleshooting>` guide.
84+
8185
Run MongoDB Enterprise Edition
8286
------------------------------
8387

source/tutorial/install-mongodb-on-ubuntu-tarball.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Prerequisites
7171
.. tabs::
7272

7373
.. tab:: Ubuntu 22.04 (Jammy)
74-
:tabid: ubuntu-22-focal
74+
:tabid: ubuntu-22-jammy
7575

7676
.. include:: /includes/extracts/install-mongodb-community-manually-ubuntu-22.rst
7777

0 commit comments

Comments
 (0)