Skip to content

Commit 851fa37

Browse files
committed
DOCS-5500: Add 2.6 SUSE RPM instructions
1 parent f9cdd4e commit 851fa37

4 files changed

+77
-24
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
title: Install dependencies
2+
stepnum: 1
3+
ref: install-deps
4+
action:
5+
pre: |
6+
.. code-block:: sh
7+
8+
sudo zypper install cyrus-sasl krb5 libgcc46 libopenssl0_9_8 libsnmp15 libstdc++46 zlib
9+
---
10+
stepnum: 2
11+
source:
12+
file: steps-install-mongodb-enterprise-on-linux.yaml
13+
ref: sequence
14+
# The content of the following include is auto-generated:
15+
action:
16+
pre: |
17+
.. include:: /includes/release/curl-release-ent-suse11.rst
18+
---
19+
title: Install the MongoDB packages and associated tools.
20+
stepnum: 3
21+
source:
22+
file: steps-install-mongodb-enterprise-on-linux.yaml
23+
ref: ensure-binaries-in-path
24+
...
Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,42 @@
1+
title: Configure the package management system (``zypper``).
12
stepnum: 1
2-
source:
3-
file: steps-install-mongodb-enterprise-on-linux.yaml
4-
ref: sequence
5-
# The content of the following include is auto-generated:
3+
ref: config-zypper
4+
pre: |
5+
Add the repository so that you can install MongoDB using ``zypper``.
66
action:
7-
pre: |
8-
.. include:: /includes/release/curl-release-ent-suse11.rst
7+
- pre: |
8+
Use the following command to specify the MongoDB 2.6 branch:
9+
language: sh
10+
code: |
11+
sudo zypper addrepo --no-gpgcheck https://repo.mongodb.com/zypper/suse/11/mongodb-enterprise/2.6/x86_64/ mongodb
912
---
13+
title: Install the MongoDB packages and associated tools.
1014
stepnum: 2
11-
source:
12-
file: steps-install-mongodb-enterprise-on-linux.yaml
13-
ref: ensure-binaries-in-path
15+
ref: install
16+
pre: |
17+
action:
18+
- pre: |
19+
To install the latest release of MongoDB 2.6, issue the following
20+
command:
21+
language: sh
22+
code: |
23+
sudo zypper install mongodb-enterprise
24+
- pre: |
25+
To install a specific release of MongoDB, specify each
26+
component package individually and append the version number to the
27+
package name, as in the following example:
28+
29+
.. code-block:: sh
30+
31+
sudo zypper install mongodb-enterprise-2.6.10 mongodb-enterprise-server-2.6.10 mongodb-enterprise-shell-2.6.10 mongodb-enterprise-mongos-2.6.10 mongodb-enterprise-tools-2.6.10
32+
33+
- pre: |
34+
You can specify any available version of MongoDB. However ``zypper``
35+
will upgrade the packages when a newer version becomes available. To
36+
prevent unintended upgrades, pin the packages by running the following
37+
command:
38+
39+
.. code-block:: sh
40+
41+
sudo zypper addlock mongodb-enterprise-2.6.10 mongodb-enterprise-server-2.6.10 mongodb-enterprise-shell-2.6.10 mongodb-enterprise-mongos-2.6.10 mongodb-enterprise-tools-2.6.10
1442
...

source/includes/steps-uninstall-mongodb-enterprise-on-suse.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ source:
1515
file: steps-uninstall-mongodb-on-linux.yaml
1616
ref: remove-db
1717
replacement:
18-
database_path: /data/db
18+
database_path: /var/lib/mongo
1919
...

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

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Use this tutorial to install :products:`MongoDB Enterprise
1212
MongoDB Enterprise is available on select platforms and contains support
1313
for several features related to security and monitoring.
1414

15+
.. include:: /includes/list-mongodb-enterprise-packages.rst
16+
1517
Prerequisites
1618
-------------
1719

@@ -20,31 +22,30 @@ Enterprise Linux version 11.
2022

2123
.. include:: /includes/fact-use-distribution-package.rst
2224

23-
MongoDB only provides Enterprise packages for 64-bit builds of SUSE
24-
Enterprise Linux version 11.
25-
26-
.. include:: /includes/fact-use-distribution-package.rst
27-
28-
To manually install all dependencies, run the following command:
29-
30-
.. code-block:: sh
31-
32-
zypper install cyrus-sasl krb5 libgcc46 libopenssl0_9_8 libsnmp15 libstdc++46 zlib
33-
3425
Install MongoDB Enterprise
3526
--------------------------
3627

28+
.. include:: /includes/steps/install-mongodb-enterprise-on-suse.rst
29+
30+
Install MongoDB Enterprise From Tarball
31+
---------------------------------------
32+
3733
.. note::
3834

39-
The Enterprise packages include an example SNMP configuration file
35+
The Enterprise tarball includes an example SNMP configuration file
4036
named ``mongod.conf``. This file is not a MongoDB configuration file.
4137

42-
.. include:: /includes/steps/install-mongodb-enterprise-on-suse.rst
38+
.. include:: /includes/steps/install-mongodb-enterprise-on-suse-manually.rst
4339

4440
Run MongoDB Enterprise
4541
----------------------
4642

47-
.. include:: /includes/steps/run-mongodb-on-linux.rst
43+
.. |mongod-user| replace:: ``mongod``
44+
.. |mongod-datadir| replace:: ``/var/lib/mongo``
45+
46+
.. include:: /includes/fact-installation-directories.rst
47+
48+
.. include:: /includes/steps/run-mongodb-on-a-linux-distribution.rst
4849

4950

5051
Uninstall MongoDB

0 commit comments

Comments
 (0)