Skip to content

Commit c944d55

Browse files
authored
DOCS-15499 Debian 11 Installation (#2157) (#2221)
* DOCS-15499 Debian 11 Installation (#2157) * Fixes build error * version-last variable replaced with version on instllation pages to reflect Debian 11 only being available for MongoDB 5.0+
1 parent 9fce6ee commit c944d55

8 files changed

+57
-4
lines changed

snooty.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,10 @@ compass = "MongoDB Compass"
196196
mdb-shell = "MongoDB Shell"
197197
copy = "©"
198198
ent-build = "MongoDB Enterprise"
199+
version = "{+version+}"
200+
version-last = "{+version-last+}"
199201
year = "2022"
200202
bi = "MongoDB Connector for BI"
201-
version = "{+version+}"
202203

203204

204205
[constants]
@@ -209,6 +210,7 @@ package-name-enterprise = "mongodb-enterprise"
209210
version = "5.0"
210211
release = "5.0.14"
211212
version-dev = "5.3"
213+
version-last = "4.4"
212214
pgp-version = "{+version+}"
213215
rsa-key = "4B7C549A058F8B6B"
214216
pgp-fingerprint = "E162F504A20CDF15827F718D4B7C549A058F8B6B"

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ content: |
2323
sudo zypper install libcurl4 libopenssl1_0_0 liblzma5
2424
---
2525

26+
ref: install-mongodb-enterprise-manually-debian-11
27+
content: |
28+
.. code-block:: bash
29+
30+
sudo apt-get install libcurl4 libgssapi-krb5-2 libldap-2.4-2 libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit snmp openssl liblzma5
31+
32+
---
2633

2734
ref: install-mongodb-enterprise-manually-debian-10
2835
content: |
@@ -36,6 +43,12 @@ content: |
3643
3744
sudo apt-get install libcurl3 libgssapi-krb5-2 libldap-2.4-2 libwrap0 libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit snmp openssl liblzma5
3845
---
46+
ref: install-mongodb-community-manually-debian-11
47+
content: |
48+
.. code-block:: bash
49+
50+
sudo apt-get install libcurl4 openssl liblzma5
51+
---
3952
ref: install-mongodb-community-manually-debian-10
4053
content: |
4154
.. code-block:: bash

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ MongoDB {+version+} Community Edition supports the following
22
:red:`64-bit` Debian releases on
33
:ref:`x86_64 <prod-notes-supported-platforms-x86_64>` architecture:
44

5+
- Debian 11 "Bullseye"
6+
57
- Debian 10 "Buster"
68

79
- Debian 9 "Stretch"

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ MongoDB {+version+} Enterprise Edition supports the following
22
:red:`64-bit` Debian releases on
33
:ref:`x86_64 <prod-notes-supported-platforms-x86_64>` architecture:
44

5+
- Debian 11 "Bullseye"
6+
57
- Debian 10 "Buster"
68

79
- Debian 9 "Stretch"

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

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ content: |
1515
1616
.. tabs::
1717
18+
.. tab:: Debian 11 "Bullseye"
19+
:tabid: debian-11-bullseye
20+
21+
.. code-block:: bash
22+
23+
echo "deb http://repo.mongodb.com/apt/debian bullseye/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
24+
1825
.. tab:: Debian 10 "Buster"
1926
:tabid: debian-10-buster
2027
@@ -33,25 +40,32 @@ content: |
3340
particular :ref:`release series <release-version-numbers>`, you can
3441
specify the release series of a version of MongoDB that is supported
3542
for your Debian build in the repository configuration. For example,
36-
to restrict your system to the 4.2 release series, add the following
43+
to restrict your system to the {+version+} release series, add the following
3744
repository:
3845
3946
.. tabs::
4047
:hidden:
4148
49+
.. tab:: Debian 11 "Bullseye"
50+
:tabid: debian-11-bullseye
51+
52+
.. code-block:: bash
53+
54+
echo "deb http://repo.mongodb.com/apt/debian bullseye/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version+}.list
55+
4256
.. tab:: Debian 10 "Buster"
4357
:tabid: debian-10-buster
4458
4559
.. code-block:: bash
4660
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
61+
echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version+}.list
4862
4963
.. tab:: Debian 9 "Stretch"
5064
:tabid: debian-9-stretch
5165
5266
.. code-block:: bash
5367
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
68+
echo "deb http://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version+}.list
5569
---
5670
stepnum: 3
5771
level: 4

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ content: |
1515
1616
.. tabs::
1717
18+
.. tab:: Debian 11 "Bullseye"
19+
:tabid: debian-11-bullseye
20+
21+
.. code-block:: bash
22+
23+
echo "deb http://repo.mongodb.org/apt/debian bullseye/mongodb-org/{+version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
24+
25+
1826
.. tab:: Debian 10 "Buster"
1927
:tabid: debian-10-buster
2028

source/tutorial/install-mongodb-enterprise-on-debian-tarball.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ Prerequisites
7474

7575
.. tabs::
7676

77+
.. tab:: Debian 11 (Bullseye)
78+
:tabid: debian-10-buster
79+
80+
.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian-11.rst
81+
82+
7783
.. tab:: Debian 10 (Buster)
7884
:tabid: debian-10-buster
7985

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ Prerequisites
6969

7070
.. tabs::
7171

72+
.. tab:: Debian 11 (Bullseye)
73+
:tabid: debian-11-bullseye
74+
75+
.. include:: /includes/extracts/install-mongodb-community-manually-debian-11.rst
76+
77+
7278
.. tab:: Debian 10 (Buster)
7379
:tabid: debian-10-buster
7480

0 commit comments

Comments
 (0)