Skip to content
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
12 changes: 6 additions & 6 deletions source/includes/steps-install-mongodb-enterprise-on-amazon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ action:
code: |
[mongodb-enterprise]
name=MongoDB Enterprise Repository
baseurl=https://repo.mongodb.com/yum/amazon/2013.03/mongodb-enterprise/3.3/$basearch/
baseurl=https://repo.mongodb.com/yum/amazon/2013.03/mongodb-enterprise/testing/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc
Expand All @@ -25,13 +25,13 @@ stepnum: 2
source:
file: steps-install-mongodb-enterprise-on-red-hat.yaml
ref: install
# ---
# stepnum: 3
# source:
# file: steps-install-mongodb-enterprise-on-red-hat.yaml
# ref: manage-installed-versions
---
stepnum: 3
source:
file: steps-install-mongodb-enterprise-on-red-hat.yaml
ref: manage-installed-versions
---
stepnum: 4
source:
file: steps-install-mongodb-enterprise-on-red-hat.yaml
ref: install-completes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ action:
Debian 7 "Wheezy"
.. code-block:: sh

echo "deb http://repo.mongodb.com/apt/debian wheezy/mongodb-enterprise/3.3 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
echo "deb http://repo.mongodb.com/apt/debian wheezy/mongodb-enterprise/testing main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list

Debian 8 "Jessie"
.. code-block:: sh

echo "deb http://repo.mongodb.com/apt/debian jessie/mongodb-enterprise/3.3 main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
echo "deb http://repo.mongodb.com/apt/debian jessie/mongodb-enterprise/testing main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
- pre: |
If you'd like to install MongoDB Enterprise packages from a
particular :ref:`release series <release-version-numbers>`, such as
Expand Down
74 changes: 37 additions & 37 deletions source/includes/steps-install-mongodb-enterprise-on-red-hat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ action:
code: |
[mongodb-enterprise]
name=MongoDB Enterprise Repository
baseurl=https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/3.3/$basearch/
baseurl=https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/testing/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc
Expand All @@ -24,49 +24,49 @@ action:
title: Install the MongoDB Enterprise packages and associated tools.
ref: install
stepnum: 2
pre: |
You can install either the latest stable version of MongoDB Enterprise or a
specific version of MongoDB Enterprise.
# pre: |
# You can install either the latest stable version of MongoDB Enterprise or a
# specific version of MongoDB Enterprise.
action:
pre: "To install the latest stable version of MongoDB Enterprise, issue the following command:"
language: sh
code: |
sudo yum install -y mongodb-enterprise
---
title: Manage Installed Version
ref: manage-installed-versions
optional: true
stepnum: 3
action:
- heading:
text: Install a specific release of MongoDB Enterprise.
character: "'"
pre: |
Specify each component package individually and append the
version number to the package name.
# ---
# title: Manage Installed Version
# ref: manage-installed-versions
# optional: true
# stepnum: 3
# action:
# - heading:
# text: Install a specific release of MongoDB Enterprise.
# character: "'"
# pre: |
# Specify each component package individually and append the
# version number to the package name.

For example, to instal the ``3.4.0`` release of MongoDB:
language: sh
code: |
sudo yum install -y mongodb-enterprise-3.4.0 mongodb-enterprise-server-3.4.0 mongodb-enterprise-shell-3.4.0 mongodb-enterprise-mongos-3.4.0 mongodb-enterprise-tools-3.4.0
- heading:
text: Pin a specific version of MongoDB Enterprise.
character: "'"
pre: |
Although you can specify any available version of MongoDB
Enterprise, ``yum`` will upgrade the packages when a newer
version becomes available. To prevent unintended upgrades, pin
the package by adding the following ``exclude`` directive to your
``/etc/yum.conf`` file:
language: ini
code: |
exclude=mongodb-enterprise,mongodb-enterprise-server,mongodb-enterprise-shell,mongodb-enterprise-mongos,mongodb-enterprise-tools
post: |
Previous versions of MongoDB packages use different naming conventions.
See the :v2.4:`2.4 version of documentation for more information
</tutorial/install-mongodb-on-linux>`.
# For example, to instal the ``3.4.0`` release of MongoDB:
# language: sh
# code: |
# sudo yum install -y mongodb-enterprise-3.4.0 mongodb-enterprise-server-3.4.0 mongodb-enterprise-shell-3.4.0 mongodb-enterprise-mongos-3.4.0 mongodb-enterprise-tools-3.4.0
# - heading:
# text: Pin a specific version of MongoDB Enterprise.
# character: "'"
# pre: |
# Although you can specify any available version of MongoDB
# Enterprise, ``yum`` will upgrade the packages when a newer
# version becomes available. To prevent unintended upgrades, pin
# the package by adding the following ``exclude`` directive to your
# ``/etc/yum.conf`` file:
# language: ini
# code: |
# exclude=mongodb-enterprise,mongodb-enterprise-server,mongodb-enterprise-shell,mongodb-enterprise-mongos,mongodb-enterprise-tools
# post: |
# Previous versions of MongoDB packages use different naming conventions.
# See the :v2.4:`2.4 version of documentation for more information
# </tutorial/install-mongodb-on-linux>`.
---
title: When the install completes, you can run MongoDB.
ref: install-completes
stepnum: 4
stepnum: 3
...
32 changes: 16 additions & 16 deletions source/includes/steps-install-mongodb-enterprise-on-suse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ action:
SUSE 11
.. code-block:: sh

sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/11/mongodb-enterprise/3.3/x86_64/" mongodb
sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/11/mongodb-enterprise/testing/x86_64/" mongodb

SUSE 12
.. code-block:: sh

sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/3.3/x86_64/" mongodb
sudo zypper addrepo --gpgcheck "https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/testing/x86_64/" mongodb
- pre: |
If you'd like to install MongoDB packages from a previous :ref:`release
series <release-version-numbers>`, such as 2.6, you can
Expand All @@ -34,29 +34,29 @@ action:
title: Install the MongoDB packages and associated tools.
stepnum: 3
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.
# 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 -n 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:
# - 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-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
# .. include:: /includes/release/pin-repo-suse-lock-enterprise.rst
post: |
Previous versions of MongoDB packages use a different repository location.
Refer to the version of the documentation appropriate for
Expand Down
58 changes: 29 additions & 29 deletions source/includes/steps-install-mongodb-enterprise-on-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ action:

.. code-block:: sh

echo "deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/3.3 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
echo "deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list

Ubuntu 14.04

.. code-block:: sh

echo "deb http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/3.3 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
echo "deb http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list

Ubuntu 16.04

.. code-block:: sh

echo "deb http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/3.3 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
echo "deb http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list

- pre: |
If you'd like to install MongoDB Enterprise packages from a
Expand All @@ -48,9 +48,9 @@ source:
title: Install the MongoDB Enterprise packages.
stepnum: 4
ref: install
pre: |
You can install either the latest stable version of MongoDB or a
specific version of MongoDB.
# pre: |
# You can install either the latest stable version of MongoDB or a
# specific version of MongoDB.
action:
- heading:
text: Install the latest stable version of MongoDB Enterprise.
Expand All @@ -59,29 +59,29 @@ action:
language: sh
code: |
sudo apt-get install -y mongodb-enterprise
- heading:
text: Install a specific release of MongoDB Enterprise.
character: "'"
pre: |
.. include:: /includes/release/pin-version-intro.rst
.. include:: /includes/release/pin-repo-to-version-deb-enterprise.rst
.. include:: /includes/release/pin-version-outro-enterprise.rst
- heading:
text: Pin a specific version of MongoDB Enterprise.
character: "'"
pre: |
Although you can specify any available version of MongoDB,
``apt-get`` will upgrade the packages when a newer version
becomes available. To prevent unintended upgrades, pin the
package. To pin the version of MongoDB at the currently
installed version, issue the following command sequence:
language: sh
code: |
echo "mongodb-enterprise hold" | sudo dpkg --set-selections
echo "mongodb-enterprise-server hold" | sudo dpkg --set-selections
echo "mongodb-enterprise-shell hold" | sudo dpkg --set-selections
echo "mongodb-enterprise-mongos hold" | sudo dpkg --set-selections
echo "mongodb-enterprise-tools hold" | sudo dpkg --set-selections
# - heading:
# text: Install a specific release of MongoDB Enterprise.
# character: "'"
# pre: |
# .. include:: /includes/release/pin-version-intro.rst
# .. include:: /includes/release/pin-repo-to-version-deb-enterprise.rst
# .. include:: /includes/release/pin-version-outro-enterprise.rst
# - heading:
# text: Pin a specific version of MongoDB Enterprise.
# character: "'"
# pre: |
# Although you can specify any available version of MongoDB,
# ``apt-get`` will upgrade the packages when a newer version
# becomes available. To prevent unintended upgrades, pin the
# package. To pin the version of MongoDB at the currently
# installed version, issue the following command sequence:
# language: sh
# code: |
# echo "mongodb-enterprise hold" | sudo dpkg --set-selections
# echo "mongodb-enterprise-server hold" | sudo dpkg --set-selections
# echo "mongodb-enterprise-shell hold" | sudo dpkg --set-selections
# echo "mongodb-enterprise-mongos hold" | sudo dpkg --set-selections
# echo "mongodb-enterprise-tools hold" | sudo dpkg --set-selections
post: |
Versions of the MongoDB packages before 2.6 use a different repository
location. Refer to the version of the documentation appropriate for
Expand Down
4 changes: 2 additions & 2 deletions source/includes/steps-install-mongodb-on-debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ action:
Debian 7 "Wheezy"
.. code-block:: sh

echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.3 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/testing main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

Debian 8 "Jessie"
.. code-block:: sh

echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.3 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/testing main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

Currently packages are only available for Debian 7 "Wheezy" and Debian 8 "Jessie".
---
Expand Down
34 changes: 17 additions & 17 deletions source/includes/steps-install-mongodb-on-red-hat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ action:
code: |
[mongodb-org-3.4]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/{{distro_name}}/{{distro_release}}/mongodb-org/3.3/x86_64/
baseurl=https://repo.mongodb.org/yum/{{distro_name}}/{{distro_release}}/mongodb-org/testing/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc
Expand Down Expand Up @@ -49,28 +49,28 @@ replacement:
title: Install the MongoDB packages and associated tools.
stepnum: 2
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.
# 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 yum install -y mongodb-org
- 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:
# - 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-to-version-yum.rst
- pre: |
You can specify any available version of MongoDB. However ``yum``
will upgrade the packages when a newer version becomes available. To
prevent unintended upgrades, pin the package. To pin a package, add
the following ``exclude`` directive to your ``/etc/yum.conf`` file:
language: ini
code: |
exclude=mongodb-org,mongodb-org-server,mongodb-org-shell,mongodb-org-mongos,mongodb-org-tools
# .. include:: /includes/release/pin-repo-to-version-yum.rst
# - pre: |
# You can specify any available version of MongoDB. However ``yum``
# will upgrade the packages when a newer version becomes available. To
# prevent unintended upgrades, pin the package. To pin a package, add
# the following ``exclude`` directive to your ``/etc/yum.conf`` file:
# language: ini
# code: |
# exclude=mongodb-org,mongodb-org-server,mongodb-org-shell,mongodb-org-mongos,mongodb-org-tools
...
Loading