Skip to content

Commit c0bd5f1

Browse files
andf-mongodbkay-kim
authored andcommitted
add support for Debian 10 with 4.2.1
1 parent 82a4de1 commit c0bd5f1

10 files changed

+130
-42
lines changed

source/administration/production-notes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ While MongoDB supports a variety of platforms, the following operating
8181
systems are recommended for production use:
8282

8383
- Amazon Linux 2
84-
- Debian 9
84+
- Debian 9 and 10
8585
- RHEL / CentOS 6 and 7
8686
- SLES 12
8787
- Ubuntu LTS 16.04 and 18.04

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

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,25 @@ content: |
1414
---
1515

1616

17-
ref: install-mongodb-enterprise-manually-debian
17+
ref: install-mongodb-enterprise-manually-debian-10
18+
content: |
19+
.. code-block:: sh
20+
21+
sudo apt-get install libcurl4 libgssapi-krb5-2 libkrb5-dbg libldap-2.4-2 libpcap0.8 libsasl2-2 snmp openssl
22+
---
23+
ref: install-mongodb-enterprise-manually-debian-9
1824
content: |
1925
.. code-block:: sh
2026
2127
sudo apt-get install libcurl3 libgssapi-krb5-2 libkrb5-dbg libldap-2.4-2 libpcap0.8 libsasl2-2 snmp openssl
2228
---
23-
ref: install-mongodb-community-manually-debian
29+
ref: install-mongodb-community-manually-debian-10
30+
content: |
31+
.. code-block:: sh
32+
33+
sudo apt-get install libcurl4 openssl
34+
---
35+
ref: install-mongodb-community-manually-debian-9
2436
content: |
2537
.. code-block:: sh
2638
@@ -30,17 +42,17 @@ content: |
3042
---
3143

3244

33-
ref: install-mongodb-enterprise-manually-redhat-6
45+
ref: install-mongodb-enterprise-manually-redhat-7
3446
content: |
3547
.. code-block:: sh
3648
37-
yum install cyrus-sasl cyrus-sasl-plain cyrus-sasl-gssapi krb5-libs libcurl libpcap net-snmp openldap openssl
49+
yum install cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-plain krb5-libs libcurl libpcap lm_sensors-libs net-snmp net-snmp-agent-libs openldap openssl rpm-libs tcp_wrappers-libs
3850
---
39-
ref: install-mongodb-enterprise-manually-redhat-7
51+
ref: install-mongodb-enterprise-manually-redhat-6
4052
content: |
4153
.. code-block:: sh
4254
43-
yum install cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-plain krb5-libs libcurl libpcap lm_sensors-libs net-snmp net-snmp-agent-libs openldap openssl rpm-libs tcp_wrappers-libs
55+
yum install cyrus-sasl cyrus-sasl-plain cyrus-sasl-gssapi krb5-libs libcurl libpcap net-snmp openldap openssl
4456
---
4557
ref: install-mongodb-community-manually-redhat
4658
content: |

source/includes/fact-platform-x86_64.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@
7171
- 3.6.5+
7272
-
7373

74+
* - Debian 10
75+
- 4.2.1+
76+
-
77+
-
78+
-
79+
7480
* - RHEL/CentOS/Oracle Linux [#oracle-linux]_ 6.2 and later
7581
- |checkmark|
7682
- |checkmark|

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

Lines changed: 39 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,50 @@ title: Create a ``/etc/apt/sources.list.d/mongodb-enterprise.list`` file for Mon
88
stepnum: 2
99
level: 4
1010
ref: sources-list
11-
action:
12-
- pre: |
13-
Create the list file using the command:
11+
content: |
12+
13+
Create the list file using the command appropriate for your version
14+
of Debian:
15+
16+
.. tabs::
17+
18+
.. tab:: Debian 10 "Buster"
19+
:tabid: debian-10-buster
20+
21+
.. code-block:: sh
22+
23+
echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+package-branch+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
24+
25+
.. tab:: Debian 9 "Stretch"
26+
:tabid: debian-9-stretch
1427
15-
Debian 9 "Stretch"
1628
.. code-block:: sh
1729
1830
echo "deb http://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/{+package-branch+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
19-
- pre: |
20-
If you'd like to install MongoDB Enterprise packages from a
21-
particular :ref:`release series <release-version-numbers>` such as
22-
4.0, you can specify the release series in the repository
23-
configuration. For example, to restrict your system to the 4.0
24-
release series, add the following repository:
25-
language: sh
26-
code: |
27-
echo "deb http://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/4.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-4.0.list
2831
32+
If you'd like to install MongoDB Enterprise packages from a
33+
particular :ref:`release series <release-version-numbers>`, you can
34+
specify the release series of a version of MongoDB that is supported
35+
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:
38+
39+
.. tabs::
40+
:hidden:
41+
42+
.. tab:: Debian 10 "Buster"
43+
:tabid: debian-10-buster
44+
45+
.. code-block:: sh
46+
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
48+
49+
.. tab:: Debian 9 "Stretch"
50+
:tabid: debian-9-stretch
51+
52+
.. code-block:: sh
53+
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
2955
---
3056
stepnum: 3
3157
level: 4

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ title: Install the MongoDB Enterprise packages.
5555
stepnum: 4
5656
level: 4
5757
ref: install
58-
# pre: |
59-
# You can install either the latest stable version of MongoDB or a
60-
# specific version of MongoDB.
6158
action:
6259
- heading:
6360
text: Install MongoDB Enterprise.

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

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,26 @@ title: Create a ``/etc/apt/sources.list.d/mongodb-org-{+version+}.list`` file fo
88
stepnum: 2
99
level: 4
1010
ref: sources-list
11-
action:
12-
pre: |
13-
Create the list file using the command appropriate for your version
14-
of Debian:
11+
content: |
1512
16-
Debian 9 "Stretch"
17-
.. code-block:: sh
13+
Create the list file using the command appropriate for your version
14+
of Debian:
1815
19-
echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/{+package-branch+} main" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
16+
.. tabs::
17+
18+
.. tab:: Debian 10 "Buster"
19+
:tabid: debian-10-buster
20+
21+
.. code-block:: sh
22+
23+
echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-org/{+package-branch+} main" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
24+
25+
.. tab:: Debian 9 "Stretch"
26+
:tabid: debian-9-stretch
27+
28+
.. code-block:: sh
29+
30+
echo "deb http://repo.mongodb.com/apt/debian stretch/mongodb-org/{+package-branch+} main" | sudo tee /etc/apt/sources.list.d/mongodb-org-{+version+}.list
2031
---
2132
stepnum: 3
2233
level: 4

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ content: |
1010
1111
wget -qO - https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc | sudo apt-key add -
1212
13-
The operation should respond with an ``OK``.
13+
The operation should respond with an ``OK``. If you receive an
14+
error indicating that ``gnupg`` is not installed, you can install
15+
it and its required libraries using the following command:
16+
17+
.. code-block:: sh
18+
19+
sudo apt-get install gnupg
1420
1521
---
1622
title: Create a list file for MongoDB.

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

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,14 @@ Platform Support
3838

3939
MongoDB 4.2 removes support for Debian 8 ("Jessie").
4040

41-
MongoDB 4.2 only provides packages for 64-bit builds of Debian 9. See
42-
:ref:`mongodb-supported-platforms` for more information.
41+
MongodDB 4.2 supports:
42+
43+
- Debian 10 "Buster" (Starting in version 4.2.1)
44+
45+
- Debian 9 "Stretch"
46+
47+
MongoDB only provides packages for the 64-bit builds of these releases.
48+
See :ref:`mongodb-supported-platforms` for more information.
4349

4450
Install MongoDB Enterprise
4551
--------------------------
@@ -63,7 +69,17 @@ Prerequisites
6369

6470
.. include:: /includes/fact-tarball-dependencies.rst
6571

66-
.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian.rst
72+
.. tabs::
73+
74+
.. tab:: Debian 10 "Buster"
75+
:tabid: debian-10-buster
76+
77+
.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian-10.rst
78+
79+
.. tab:: Debian 9 "Stretch"
80+
:tabid: debian-9-stretch
81+
82+
.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian-9.rst
6783

6884
Procedure
6985
`````````

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,15 @@ Select the tab corresponding to your version of Ubuntu.
8686

8787
For Ubuntu 18.04 (Bionic), MongoDB .tar.gz tarballs have the following dependencies:
8888

89-
.. code-block:: sh
90-
91-
sudo apt-get install libcurl4 libgssapi-krb5-2 libkrb5-dbg libldap-2.4-2 libpcap0.8 libsasl2-2 snmp openssl
89+
.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian-10.rst
9290

9391
- id: xenial
9492
name: Ubuntu 16.04 (Xenial)
9593
content: |
9694

9795
For Ubuntu 16.04 (Xenial), MongoDB .tar.gz tarballs have the following dependencies:
9896

99-
.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian.rst
97+
.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian-9.rst
10098

10199
Procedure
102100
`````````

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

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,15 @@ Platform Support
3838
.. topic:: EOL Notice
3939

4040
MongoDB 4.2 removes support for Debian 8 ("Jessie").
41-
42-
MongoDB 4.2 only provides packages for 64-bit builds of Debian 9. See
43-
:ref:`mongodb-supported-platforms` for more information.
41+
42+
MongodDB 4.2 supports:
43+
44+
- Debian 10 "Buster" (Starting in version 4.2.1)
45+
46+
- Debian 9 "Stretch"
47+
48+
MongoDB only provides packages for the 64-bit builds of these releases.
49+
See :ref:`mongodb-supported-platforms` for more information.
4450

4551
.. include:: /includes/admonition-wsl.rst
4652

@@ -71,7 +77,17 @@ Using ``.tgz`` Tarballs
7177

7278
.. include:: /includes/fact-tarball-dependencies.rst
7379

74-
.. include:: /includes/extracts/install-mongodb-community-manually-debian.rst
80+
.. tabs::
81+
82+
.. tab:: Debian 10 "Buster"
83+
:tabid: debian-10-buster
84+
85+
.. include:: /includes/extracts/install-mongodb-community-manually-debian-10.rst
86+
87+
.. tab:: Debian 9 "Stretch"
88+
:tabid: debian-9-stretch
89+
90+
.. include:: /includes/extracts/install-mongodb-community-manually-debian-9.rst
7591

7692
Procedure
7793
`````````

0 commit comments

Comments
 (0)