Skip to content

DOCS-5500: Add 2.6 SUSE RPM instructions #2349

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

Closed
wants to merge 1 commit into from
Closed
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
title: Install dependencies
stepnum: 1
ref: install-deps
action:
pre: |
.. code-block:: sh

sudo zypper install cyrus-sasl krb5 libgcc46 libopenssl0_9_8 libsnmp15 libstdc++46 zlib
---
stepnum: 2
source:
file: steps-install-mongodb-enterprise-on-linux.yaml
ref: sequence
# The content of the following include is auto-generated:
action:
pre: |
.. include:: /includes/release/curl-release-ent-suse11.rst
---
title: Install the MongoDB packages and associated tools.
stepnum: 3
source:
file: steps-install-mongodb-enterprise-on-linux.yaml
ref: ensure-binaries-in-path
...
46 changes: 37 additions & 9 deletions source/includes/steps-install-mongodb-enterprise-on-suse.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,42 @@
title: Configure the package management system (``zypper``).
stepnum: 1
source:
file: steps-install-mongodb-enterprise-on-linux.yaml
ref: sequence
# The content of the following include is auto-generated:
ref: config-zypper
pre: |
Add the repository so that you can install MongoDB using ``zypper``.
action:
pre: |
.. include:: /includes/release/curl-release-ent-suse11.rst
- pre: |
Use the following command to specify the MongoDB 2.6 branch:
language: sh
code: |
sudo zypper addrepo --no-gpgcheck https://repo.mongodb.com/zypper/suse/11/mongodb-enterprise/2.6/x86_64/ mongodb
---
title: Install the MongoDB packages and associated tools.
stepnum: 2
source:
file: steps-install-mongodb-enterprise-on-linux.yaml
ref: ensure-binaries-in-path
ref: install
pre: |
action:
- pre: |
To install the latest release of MongoDB 2.6, issue the following
command:
language: sh
code: |
sudo zypper install mongodb-enterprise
- pre: |
To install a specific release of MongoDB, specify each
component package individually and append the version number to the
package name, as in the following example:

.. code-block:: sh

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

- pre: |
You can specify any available version of MongoDB. However ``zypper``
will upgrade the packages when a newer version becomes available. To
prevent unintended upgrades, pin the packages by running the following
command:

.. code-block:: sh

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
...
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ source:
file: steps-uninstall-mongodb-on-linux.yaml
ref: remove-db
replacement:
database_path: /data/db
database_path: /var/lib/mongo
...
29 changes: 15 additions & 14 deletions source/tutorial/install-mongodb-enterprise-on-suse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Use this tutorial to install :products:`MongoDB Enterprise
MongoDB Enterprise is available on select platforms and contains support
for several features related to security and monitoring.

.. include:: /includes/list-mongodb-enterprise-packages.rst

Prerequisites
-------------

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

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

MongoDB only provides Enterprise packages for 64-bit builds of SUSE
Enterprise Linux version 11.

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

To manually install all dependencies, run the following command:

.. code-block:: sh

zypper install cyrus-sasl krb5 libgcc46 libopenssl0_9_8 libsnmp15 libstdc++46 zlib

Install MongoDB Enterprise
--------------------------

.. include:: /includes/steps/install-mongodb-enterprise-on-suse.rst

Install MongoDB Enterprise From Tarball
---------------------------------------

.. note::

The Enterprise packages include an example SNMP configuration file
The Enterprise tarball includes an example SNMP configuration file
named ``mongod.conf``. This file is not a MongoDB configuration file.

.. include:: /includes/steps/install-mongodb-enterprise-on-suse.rst
.. include:: /includes/steps/install-mongodb-enterprise-on-suse-manually.rst

Run MongoDB Enterprise
----------------------

.. include:: /includes/steps/run-mongodb-on-linux.rst
.. |mongod-user| replace:: ``mongod``
.. |mongod-datadir| replace:: ``/var/lib/mongo``

.. include:: /includes/fact-installation-directories.rst

.. include:: /includes/steps/run-mongodb-on-a-linux-distribution.rst


Uninstall MongoDB
Expand Down