-
Notifications
You must be signed in to change notification settings - Fork 1.7k
DOCS-3599 Add Enterprise Debian installation docs #1836
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
Closed
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
82d3854
DOCS-3599 Replace 'ubuntu' with 'debian'
ehershey bf1928d
DOCS-3599 Add Enterprise Debian installation docs
ehershey fda4d88
DOCS-3599 Add Enterprise Debian installation docs
ehershey 1fc7b61
DOCS-3599 Use 'main' section for Debian packages
ehershey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
source/includes/steps-install-mongodb-enterprise-on-debian.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <release-version-numbers>`, 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 | ||
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't multiverse an ubuntu idiom?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, let me rework this and the repo generation script.