Skip to content

add support for Debian 10 with 4.2.1 #3689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/administration/production-notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ While MongoDB supports a variety of platforms, the following operating
systems are recommended for production use:

- Amazon Linux 2
- Debian 9
- Debian 9 and 10
- RHEL / CentOS 6 and 7
- SLES 12
- Ubuntu LTS 16.04 and 18.04
Expand Down
24 changes: 18 additions & 6 deletions source/includes/extracts-install-mongodb-manually.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,25 @@ content: |
---


ref: install-mongodb-enterprise-manually-debian
ref: install-mongodb-enterprise-manually-debian-10
content: |
.. code-block:: sh

sudo apt-get install libcurl4 libgssapi-krb5-2 libkrb5-dbg libldap-2.4-2 libpcap0.8 libsasl2-2 snmp openssl
---
ref: install-mongodb-enterprise-manually-debian-9
content: |
.. code-block:: sh

sudo apt-get install libcurl3 libgssapi-krb5-2 libkrb5-dbg libldap-2.4-2 libpcap0.8 libsasl2-2 snmp openssl
---
ref: install-mongodb-community-manually-debian
ref: install-mongodb-community-manually-debian-10
content: |
.. code-block:: sh

sudo apt-get install libcurl4 openssl
---
ref: install-mongodb-community-manually-debian-9
content: |
.. code-block:: sh

Expand All @@ -30,17 +42,17 @@ content: |
---


ref: install-mongodb-enterprise-manually-redhat-6
ref: install-mongodb-enterprise-manually-redhat-7
content: |
.. code-block:: sh

yum install cyrus-sasl cyrus-sasl-plain cyrus-sasl-gssapi krb5-libs libcurl libpcap net-snmp openldap openssl
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
---
ref: install-mongodb-enterprise-manually-redhat-7
ref: install-mongodb-enterprise-manually-redhat-6
content: |
.. code-block:: sh

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
yum install cyrus-sasl cyrus-sasl-plain cyrus-sasl-gssapi krb5-libs libcurl libpcap net-snmp openldap openssl
---
ref: install-mongodb-community-manually-redhat
content: |
Expand Down
6 changes: 6 additions & 0 deletions source/includes/fact-platform-x86_64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@
- 3.6.5+
-

* - Debian 10
- 4.2.1+
-
-
-

* - RHEL/CentOS/Oracle Linux [#oracle-linux]_ 6.2 and later
- |checkmark|
- |checkmark|
Expand Down
52 changes: 39 additions & 13 deletions source/includes/steps-install-mongodb-enterprise-on-debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,50 @@ title: Create a ``/etc/apt/sources.list.d/mongodb-enterprise.list`` file for Mon
stepnum: 2
level: 4
ref: sources-list
action:
- pre: |
Create the list file using the command:
content: |

Create the list file using the command appropriate for your version
of Debian:

.. tabs::

.. tab:: Debian 10 "Buster"
:tabid: debian-10-buster

.. code-block:: sh

echo "deb http://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+package-branch+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list

.. tab:: Debian 9 "Stretch"
:tabid: debian-9-stretch

Debian 9 "Stretch"
.. code-block:: sh

echo "deb http://repo.mongodb.com/apt/debian stretch/mongodb-enterprise/{+package-branch+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
- pre: |
If you'd like to install MongoDB Enterprise packages from a
particular :ref:`release series <release-version-numbers>` such as
4.0, you can specify the release series in the repository
configuration. For example, to restrict your system to the 4.0
release series, add the following repository:
language: sh
code: |
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

If you'd like to install MongoDB Enterprise packages from a
particular :ref:`release series <release-version-numbers>`, you can
specify the release series of a version of MongoDB that is supported
for your Debian build in the repository configuration. For example,
to restrict your system to the 4.2 release series, add the following
repository:

.. tabs::
:hidden:

.. tab:: Debian 10 "Buster"
:tabid: debian-10-buster

.. code-block:: sh

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

.. tab:: Debian 9 "Stretch"
:tabid: debian-9-stretch

.. code-block:: sh

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
---
stepnum: 3
level: 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ title: Install the MongoDB Enterprise packages.
stepnum: 4
level: 4
ref: install
# pre: |
# You can install either the latest stable version of MongoDB or a
# specific version of MongoDB.
action:
- heading:
text: Install MongoDB Enterprise.
Expand Down
25 changes: 18 additions & 7 deletions source/includes/steps-install-mongodb-on-debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,26 @@ title: Create a ``/etc/apt/sources.list.d/mongodb-org-{+version+}.list`` file fo
stepnum: 2
level: 4
ref: sources-list
action:
pre: |
Create the list file using the command appropriate for your version
of Debian:
content: |

Debian 9 "Stretch"
.. code-block:: sh
Create the list file using the command appropriate for your version
of Debian:

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
.. tabs::

.. tab:: Debian 10 "Buster"
:tabid: debian-10-buster

.. code-block:: sh

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

.. tab:: Debian 9 "Stretch"
:tabid: debian-9-stretch

.. code-block:: sh

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
---
stepnum: 3
level: 4
Expand Down
8 changes: 7 additions & 1 deletion source/includes/steps-install-mongodb-on-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ content: |

wget -qO - https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc | sudo apt-key add -

The operation should respond with an ``OK``.
The operation should respond with an ``OK``. If you receive an
error indicating that ``gnupg`` is not installed, you can install
it and its required libraries using the following command:

.. code-block:: sh

sudo apt-get install gnupg

---
title: Create a list file for MongoDB.
Expand Down
22 changes: 19 additions & 3 deletions source/tutorial/install-mongodb-enterprise-on-debian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ Platform Support

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

MongoDB 4.2 only provides packages for 64-bit builds of Debian 9. See
:ref:`mongodb-supported-platforms` for more information.
MongodDB 4.2 supports:

- Debian 10 "Buster" (Starting in version 4.2.1)

- Debian 9 "Stretch"

MongoDB only provides packages for the 64-bit builds of these releases.
See :ref:`mongodb-supported-platforms` for more information.

Install MongoDB Enterprise
--------------------------
Expand All @@ -63,7 +69,17 @@ Prerequisites

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

.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian.rst
.. tabs::

.. tab:: Debian 10 "Buster"
:tabid: debian-10-buster

.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian-10.rst

.. tab:: Debian 9 "Stretch"
:tabid: debian-9-stretch

.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian-9.rst

Procedure
`````````
Expand Down
6 changes: 2 additions & 4 deletions source/tutorial/install-mongodb-enterprise-on-ubuntu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,15 @@ Select the tab corresponding to your version of Ubuntu.

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

.. code-block:: sh

sudo apt-get install libcurl4 libgssapi-krb5-2 libkrb5-dbg libldap-2.4-2 libpcap0.8 libsasl2-2 snmp openssl
.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian-10.rst

- id: xenial
name: Ubuntu 16.04 (Xenial)
content: |

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

.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian.rst
.. include:: /includes/extracts/install-mongodb-enterprise-manually-debian-9.rst

Procedure
`````````
Expand Down
24 changes: 20 additions & 4 deletions source/tutorial/install-mongodb-on-debian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,15 @@ Platform Support
.. topic:: EOL Notice

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

MongoDB 4.2 only provides packages for 64-bit builds of Debian 9. See
:ref:`mongodb-supported-platforms` for more information.

MongodDB 4.2 supports:

- Debian 10 "Buster" (Starting in version 4.2.1)

- Debian 9 "Stretch"

MongoDB only provides packages for the 64-bit builds of these releases.
See :ref:`mongodb-supported-platforms` for more information.

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

Expand Down Expand Up @@ -71,7 +77,17 @@ Using ``.tgz`` Tarballs

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

.. include:: /includes/extracts/install-mongodb-community-manually-debian.rst
.. tabs::

.. tab:: Debian 10 "Buster"
:tabid: debian-10-buster

.. include:: /includes/extracts/install-mongodb-community-manually-debian-10.rst

.. tab:: Debian 9 "Stretch"
:tabid: debian-9-stretch

.. include:: /includes/extracts/install-mongodb-community-manually-debian-9.rst

Procedure
`````````
Expand Down