diff --git a/source/includes/release-pinning.yaml b/source/includes/release-pinning.yaml index cbb008a23a6..5c00495cd3a 100644 --- a/source/includes/release-pinning.yaml +++ b/source/includes/release-pinning.yaml @@ -13,8 +13,18 @@ language: 'sh' code: | sudo zypper install mongodb-org-{{version}} mongodb-org-server-{{version}} mongodb-org-shell-{{version}} mongodb-org-mongos-{{version}} mongodb-org-tools-{{version}} --- +ref: pin-repo-suse-enterprise +language: 'sh' +code: | + sudo zypper install mongodb-enterprise-{{version}} mongodb-enterprise-server-{{version}} mongodb-enterprise-shell-{{version}} mongodb-enterprise-mongos-{{version}} mongodb-enterprise-tools-{{version}} +--- ref: pin-repo-suse-lock language: 'sh' code: | sudo zypper addlock mongodb-org-{{version}} mongodb-org-server-{{version}} mongodb-org-shell-{{version}} mongodb-org-mongos-{{version}} mongodb-org-tools-{{version}} -... \ No newline at end of file +--- +ref: pin-repo-suse-lock-enterprise +language: 'sh' +code: | + sudo zypper addlock mongodb-enterprise-{{version}} mongodb-enterprise-server-{{version}} mongodb-enterprise-shell-{{version}} mongodb-enterprise-mongos-{{version}} mongodb-enterprise-tools-{{version}} +... diff --git a/source/includes/steps-install-mongodb-enterprise-on-suse.yaml b/source/includes/steps-install-mongodb-enterprise-on-suse.yaml index a03f1e93d10..7229aa7a21d 100644 --- a/source/includes/steps-install-mongodb-enterprise-on-suse.yaml +++ b/source/includes/steps-install-mongodb-enterprise-on-suse.yaml @@ -1,14 +1,52 @@ +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 latest stable release of MongoDB. + language: sh + code: | + sudo zypper addrepo --no-gpgcheck http://repo.mongodb.com/zypper/suse/11/mongodb-enterprise/stable/x86_64/ mongodb + - pre: | + If you'd like to install MongoDB packages from a previous :ref:`release + series `, such as 2.6, you can + specify the release series in the repository configuration. For + example, to restrict your system to the 2.6 release series, + use the following command: + language: sh + code: | + sudo zypper addrepo --no-gpgcheck http://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: | + When you install the packages, you choose whether to install the current + release or a previous one. This step provides the commands for both. +action: + - pre: | + To install the latest stable version of MongoDB, 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: + + .. include:: /includes/release/pin-repo-suse-enterprise.rst + - 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: + + .. include:: /includes/release/pin-repo-suse-lock-enterprise.rst +post: | + Previous versions of MongoDB packages use a different repository location. + See the :v2.6:`2.6 version of documentation for more information + `. ... diff --git a/source/includes/steps-install-mongodb-on-suse.yaml b/source/includes/steps-install-mongodb-on-suse.yaml index 376047192e0..ffac1da0573 100644 --- a/source/includes/steps-install-mongodb-on-suse.yaml +++ b/source/includes/steps-install-mongodb-on-suse.yaml @@ -2,7 +2,7 @@ title: Configure the package management system (``zypper``). stepnum: 1 ref: config-yum pre: | - Add the repository so that you can install MongoDB directly, using ``zypper``. + Add the repository so that you can install MongoDB using ``zypper``. action: - pre: | Use the following command to specify the *latest* stable release of MongoDB. @@ -10,9 +10,8 @@ action: code: | zypper addrepo --no-gpgcheck http://repo.mongodb.org/zypper/suse/11/mongodb-org/3.0/x86_64/ mongodb - pre: | - Use the following repository for *only* versions of - MongoDB for the ``3.0`` release. If you'd like to install - MongoDB packages from a particular :ref:`release + This repository only offers the ``3.0`` MongoDB release. If you'd like + to install MongoDB packages from a previous :ref:`release series `, such as 2.6, you can specify the release series in the repository configuration. For example, to restrict your system to the 2.6 release series, @@ -43,12 +42,12 @@ action: - 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. To pin the packages, run - the following command: + prevent unintended upgrades, pin the packages by running the following + command: .. include:: /includes/release/pin-repo-suse-lock.rst post: | - Previous versions of MongoDB packages use a different repo location. + Previous versions of MongoDB packages use a different repository location. Refer to the version of the documentation appropriate for your MongoDB version. ... diff --git a/source/tutorial/install-mongodb-enterprise-on-suse.txt b/source/tutorial/install-mongodb-enterprise-on-suse.txt index 1eb119f9eb7..fac5554c333 100644 --- a/source/tutorial/install-mongodb-enterprise-on-suse.txt +++ b/source/tutorial/install-mongodb-enterprise-on-suse.txt @@ -11,36 +11,19 @@ Use this tutorial to install :term:`MongoDB Enterprise` on SUSE Linux. MongoDB Enterprise is available on select platforms and contains support for several features related to security and monitoring. -Prerequisites -------------- - -To use MongoDB Enterprise on SUSE Enterprise Linux, you must install -several prerequisite packages: - -- ``libopenssl0_9_8`` -- ``libsnmp15`` -- ``net-snmp`` -- ``snmp-mibs`` -- ``cyrus-sasl`` -- ``cyrus-sasl-gssapi`` - -To install these packages, you can issue the following command: - -.. code-block:: sh - - sudo zypper install libopenssl0_9_8 net-snmp libsnmp15 snmp-mibs cyrus-sasl cyrus-sasl-gssapi +.. include:: /includes/list-mongodb-enterprise-packages.rst Install MongoDB Enterprise -------------------------- -.. note:: - - The Enterprise packages include 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 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