@@ -7,36 +7,70 @@ content: |
7
7
.. tabs::
8
8
9
9
.. tab:: MongoDB Community Edition
10
- :tabid: mdb-ent
10
+ :tabid: mdb-comm
11
11
12
12
Create a ``/etc/yum.repos.d/mongodb-org-{+mdbVersion+}.repo``
13
13
file so that you can install {+mcli+} directly using ``yum``.
14
14
15
- .. code-block:: text
15
+ .. tabs::
16
+
17
+ .. tab:: RHEL
18
+ :tabid: rhel
19
+
20
+ .. code-block:: text
16
21
17
- [mongodb-org-{+mdbVersion+}]
18
- name=MongoDB Repository
19
- baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/{+mdbVersion+}/x86_64/
20
- gpgcheck=1
21
- enabled=1
22
- gpgkey=https://www.mongodb.org/static/pgp/server-{+mdbVersion+}.asc
22
+ [mongodb-org-{+mdbVersion+}]
23
+ name=MongoDB Repository
24
+ baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/{+mdbVersion+}/x86_64/
25
+ gpgcheck=1
26
+ enabled=1
27
+ gpgkey=https://www.mongodb.org/static/pgp/server-{+mdbVersion+}.asc
28
+
29
+ .. tab:: Amazon Linux
30
+ :tabid: amazon
31
+
32
+ .. code-block:: text
33
+
34
+ [mongodb-org-{+mdbVersion+}]
35
+ name=MongoDB Repository
36
+ baseurl=https://repo.mongodb.org/yum/amazon/2/mongodb-org/{+mdbVersion+}/x86_64/
37
+ gpgcheck=1
38
+ enabled=1
39
+ gpgkey=https://www.mongodb.org/static/pgp/server-{+mdbVersion+}.asc
23
40
24
41
.. tab:: MongoDB Enterprise Edition
25
- :tabid: mdb-comm
42
+ :tabid: mdb-ent
26
43
27
44
Create a
28
45
``/etc/yum.repos.d/mongodb-enterprise-{+mdbVersion+}.repo`` file
29
46
so that you can install {+mcli+} directly using
30
47
``yum``:
31
48
32
- .. code-block:: text
49
+ .. tabs::
50
+
51
+ .. tab:: RHEL
52
+ :tabid: rhel
53
+
54
+ .. code-block:: text
33
55
34
- [mongodb-enterprise-{+mdbVersion+}]
35
- name=MongoDB Repository
36
- baseurl=https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/{+mdbVersion+}/$basearch/
37
- gpgcheck=1
38
- enabled=1
39
- gpgkey=https://www.mongodb.org/static/pgp/server-{+mdbVersion+}.asc
56
+ [mongodb-enterprise-{+mdbVersion+}]
57
+ name=MongoDB Repository
58
+ baseurl=https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/{+mdbVersion+}/$basearch/
59
+ gpgcheck=1
60
+ enabled=1
61
+ gpgkey=https://www.mongodb.org/static/pgp/server-{+mdbVersion+}.asc
62
+
63
+ .. tab:: Amazon Linux
64
+ :tabid: amazon
65
+
66
+ .. code-block:: text
67
+
68
+ [mongodb-enterprise-{+mdbVersion+}]
69
+ name=MongoDB Enterprise Repository
70
+ baseurl=https://repo.mongodb.com/yum/amazon/2/mongodb-enterprise/{+mdbVersion+}/$basearch/
71
+ gpgcheck=1
72
+ enabled=1
73
+ gpgkey=https://www.mongodb.org/static/pgp/server-{+mdbVersion+}.asc
40
74
41
75
---
42
76
stepnum : 2
0 commit comments