diff --git a/source/includes/steps-install-mongodb-enterprise-on-suse-manually.yaml b/source/includes/steps-install-mongodb-enterprise-on-suse-manually.yaml new file mode 100644 index 00000000000..77015bb2bea --- /dev/null +++ b/source/includes/steps-install-mongodb-enterprise-on-suse-manually.yaml @@ -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 +... diff --git a/source/includes/steps-install-mongodb-enterprise-on-suse.yaml b/source/includes/steps-install-mongodb-enterprise-on-suse.yaml index a03f1e93d10..79eeedea0a4 100644 --- a/source/includes/steps-install-mongodb-enterprise-on-suse.yaml +++ b/source/includes/steps-install-mongodb-enterprise-on-suse.yaml @@ -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 ... diff --git a/source/includes/steps-uninstall-mongodb-enterprise-on-suse.yaml b/source/includes/steps-uninstall-mongodb-enterprise-on-suse.yaml index b521762ebfc..d969acb61da 100644 --- a/source/includes/steps-uninstall-mongodb-enterprise-on-suse.yaml +++ b/source/includes/steps-uninstall-mongodb-enterprise-on-suse.yaml @@ -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 ... diff --git a/source/tutorial/install-mongodb-enterprise-on-suse.txt b/source/tutorial/install-mongodb-enterprise-on-suse.txt index b01d9efe8e4..0d7e2ef9320 100644 --- a/source/tutorial/install-mongodb-enterprise-on-suse.txt +++ b/source/tutorial/install-mongodb-enterprise-on-suse.txt @@ -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 ------------- @@ -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