Skip to content

Commit 9920da2

Browse files
(DOCSP-27120): fix mdb version on amazon install instructions (#244)
* (DOCSP-27120): fix mdb version on amazon install instructions * formatting * edits * Update source/includes/steps-install-shell-linux-rpm.yaml Co-authored-by: Anna Henningsen <[email protected]> * change tab title Co-authored-by: Anna Henningsen <[email protected]>
1 parent 3d1e470 commit 9920da2

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

source/includes/steps-install-shell-linux-rpm.yaml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,30 +31,41 @@ content: |
3131
3232
You can also download the ``.rpm`` files directly from the
3333
`MongoDB repository <https://repo.mongodb.org/yum/redhat/>`__.
34-
Downloads are organized by Red Hat or CentOS version (e.g.
35-
``8``), then by MongoDB
36-
:manual:`release version </reference/versioning>` (e.g.
37-
``{+mdb-version+}``), then by architecture (e.g. ``x86_64``).
34+
Downloads are organized in the following order:
35+
36+
1. Red Hat or CentOS version (for example, ``8``)
37+
38+
#. MongoDB edition (for example, ``mongodb-enterprise``)
39+
40+
#. MongoDB :manual:`release version </reference/versioning>`
41+
(for example, ``{+mdb-version+}``)
42+
43+
#. Architecture (for example, ``x86_64``)
3844
3945
- id: aws2-tab
40-
name: Amazon Linux 2
46+
name: Amazon Linux
4147
content: |
4248
4349
.. code-block:: shell
4450
45-
[mongodb-org-5.0]
51+
[mongodb-org-{+mdb-version+}]
4652
name=MongoDB Repository
47-
baseurl=https://repo.mongodb.org/yum/amazon/2/mongodb-org/5.0/x86_64/
53+
baseurl=https://repo.mongodb.org/yum/amazon/$releasever/mongodb-org/{+mdb-version+}/$basearch/
4854
gpgcheck=1
4955
enabled=1
50-
gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc
56+
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
5157
5258
You can also download the ``.rpm`` files directly from the
53-
`MongoDB repository <https://repo.mongodb.org/yum/amazon/>`__.
54-
Downloads are organized by Amazon Linux version (e.g.\
55-
``2``), then by MongoDB
56-
:manual:`release version </reference/versioning>` (e.g.
57-
``{+mdb-version+}``), then architecture (e.g. ``x86_64``).
59+
`MongoDB repository
60+
<https://repo.mongodb.org/yum/amazon/>`__. Downloads are
61+
organized in the following order:
62+
63+
1. Amazon Linux version (for example, ``2``)
64+
65+
#. MongoDB :manual:`release version </reference/versioning>`
66+
(for example, ``{+mdb-version+}``)
67+
68+
#. Architecture (for example, ``x86_64``)
5869
5970
---
6071
title: Install ``mongosh``.

0 commit comments

Comments
 (0)