From 82d38544d65fc3be7d7fd2ab052d4cd1a6fbe4cf Mon Sep 17 00:00:00 2001 From: Ernie Hershey Date: Fri, 13 Jun 2014 19:47:55 -0400 Subject: [PATCH 1/4] DOCS-3599 Replace 'ubuntu' with 'debian' --- .../install-mongodb-enterprise-on-debian.txt | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 source/tutorial/install-mongodb-enterprise-on-debian.txt diff --git a/source/tutorial/install-mongodb-enterprise-on-debian.txt b/source/tutorial/install-mongodb-enterprise-on-debian.txt new file mode 100644 index 00000000000..4f3a3743dce --- /dev/null +++ b/source/tutorial/install-mongodb-enterprise-on-debian.txt @@ -0,0 +1,29 @@ +==================================== +Install MongoDB Enterprise on Debian +==================================== + +.. default-domain:: mongodb + +Overview +-------- + +Use this tutorial to install MongoDB Enterprise on Debian Linux systems. +The tutorial uses ``.deb`` packages to install. + +.. include:: /includes/list-mongodb-enterprise-packages.rst + +Install MongoDB Enterprise +-------------------------- + +.. include:: /includes/steps/install-mongodb-enterprise-on-debian.rst + +Run MongoDB Enterprise +---------------------- + +The MongoDB Enterprise instance stores its data files in ``/var/lib/mongo`` +and its log files in ``/var/log/mongo``, and runs using the ``mongod`` +user account. If you change the user that runs the MongoDB process, you +**must** modify the access control rights to the ``/var/lib/mongo`` and +``/var/log/mongo`` directories. + +.. include:: /includes/steps/run-mongodb-on-debian.rst From bf1928df535fbab205ba0e311fad459137028d8f Mon Sep 17 00:00:00 2001 From: Ernie Hershey Date: Fri, 13 Jun 2014 19:53:27 -0400 Subject: [PATCH 2/4] DOCS-3599 Add Enterprise Debian installation docs --- ...-install-mongodb-enterprise-on-debian.yaml | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 source/includes/steps-install-mongodb-enterprise-on-debian.yaml diff --git a/source/includes/steps-install-mongodb-enterprise-on-debian.yaml b/source/includes/steps-install-mongodb-enterprise-on-debian.yaml new file mode 100644 index 00000000000..2745839d23d --- /dev/null +++ b/source/includes/steps-install-mongodb-enterprise-on-debian.yaml @@ -0,0 +1,64 @@ +stepnum: 1 +source: + file: steps-install-mongodb-on-debian.yaml + ref: import-key +--- +title: Create a ``/etc/apt/sources.list.d/mongodb-enterprise.list`` file for MongoDB. +stepnum: 2 +ref: sources-list +action: + - pre: | + Create the list file using the following command: + language: sh + code: | + echo 'deb http://repo.mongodb.com/apt/debian wheezy/mongodb-enterprise/stable multiverse' | 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 `, 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, add the following repository: + language: sh + code: | + echo 'deb http://repo.mongodb.com/apt/debian precise/mongodb-enterprise/2.6 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-2.6.list +--- +stepnum: 3 +source: + file: steps-install-mongodb-on-debian.yaml + ref: reload +--- +title: Install the MongoDB Enterprise packages. +stepnum: 4 +ref: install +pre: | + When you install the packages, you choose whether to install the current + release or a previous one. This step provides instructions for both. +action: + - pre: | + To install the latest stable version of MongoDB Enterprise, issue + the following command: + language: sh + code: | + sudo apt-get install mongodb-enterprise + - pre: | + To install a specific release of MongoDB Enterprise, specify + each component package individually and append the version number to + the package name, as in the following example that installs the + `2.6.1`` release of MongoDB Enterprise: + language: sh + code: | + apt-get install mongodb-enterprise=2.6.1 mongodb-enterprise-server=2.6.1 mongodb-enterprise-shell=2.6.1 mongodb-enterprise-mongos=2.6.1 mongodb-enterprise-tools=2.6.1 + - pre: | + You can specify any available version of MongoDB Enterprise. However + ``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 Enterprise 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 +... From fda4d88c05589253666e8ab1f30a25e34c4a0f5a Mon Sep 17 00:00:00 2001 From: Ernie Hershey Date: Fri, 13 Jun 2014 19:54:19 -0400 Subject: [PATCH 3/4] DOCS-3599 Add Enterprise Debian installation docs --- source/includes/toc-installation-enterprise.yaml | 4 ++++ source/includes/toc-spec-installation.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/source/includes/toc-installation-enterprise.yaml b/source/includes/toc-installation-enterprise.yaml index 519bee4695e..84b3d50703d 100644 --- a/source/includes/toc-installation-enterprise.yaml +++ b/source/includes/toc-installation-enterprise.yaml @@ -6,6 +6,10 @@ file: /tutorial/install-mongodb-enterprise-on-ubuntu name: Install MongoDB Enterprise on Ubuntu description: "Install the MongoDB Enterprise build and required dependencies on Ubuntu Linux Systems using packages." --- +file: /tutorial/install-mongodb-enterprise-on-debian +name: Install MongoDB Enterprise on Debian +description: "Install the MongoDB Enterprise build and required dependencies on Debian Linux Systems using packages." +--- file: /tutorial/install-mongodb-enterprise-on-suse name: Install MongoDB Enterprise on SUSE description: "Install the MongoDB Enterprise build and required dependencies on SUSE Enterprise Linux." diff --git a/source/includes/toc-spec-installation.yaml b/source/includes/toc-spec-installation.yaml index 5e8d76cb37c..02c72c326aa 100644 --- a/source/includes/toc-spec-installation.yaml +++ b/source/includes/toc-spec-installation.yaml @@ -26,6 +26,8 @@ files: level: 2 - file: /tutorial/install-mongodb-enterprise-on-ubuntu level: 2 + - file: /tutorial/install-mongodb-enterprise-on-debian + level: 2 - file: /tutorial/install-mongodb-enterprise-on-suse level: 2 - file: /tutorial/install-mongodb-enterprise-on-amazon From 1fc7b61f59c042dce143bd4cb29111aaafbd3c2d Mon Sep 17 00:00:00 2001 From: Ernie Hershey Date: Thu, 19 Jun 2014 18:15:25 -0400 Subject: [PATCH 4/4] DOCS-3599 Use 'main' section for Debian packages --- .../includes/steps-install-mongodb-enterprise-on-debian.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/includes/steps-install-mongodb-enterprise-on-debian.yaml b/source/includes/steps-install-mongodb-enterprise-on-debian.yaml index 2745839d23d..b9c41c2a84f 100644 --- a/source/includes/steps-install-mongodb-enterprise-on-debian.yaml +++ b/source/includes/steps-install-mongodb-enterprise-on-debian.yaml @@ -11,7 +11,7 @@ action: Create the list file using the following command: language: sh code: | - echo 'deb http://repo.mongodb.com/apt/debian wheezy/mongodb-enterprise/stable multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list + echo 'deb http://repo.mongodb.com/apt/debian wheezy/mongodb-enterprise/stable 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 `, such as @@ -20,7 +20,7 @@ action: release series, add the following repository: language: sh code: | - echo 'deb http://repo.mongodb.com/apt/debian precise/mongodb-enterprise/2.6 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-2.6.list + echo 'deb http://repo.mongodb.com/apt/debian precise/mongodb-enterprise/2.6 main' | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-2.6.list --- stepnum: 3 source: