Skip to content

DOCS-6108: Make Ubuntu installation instructions more explicit #2373

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
wants to merge 1 commit into from
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
19 changes: 15 additions & 4 deletions source/includes/steps-install-mongodb-enterprise-on-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,21 @@ 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/ubuntu "$(lsb_release -sc)"/mongodb-enterprise/stable multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
Create the list file using the command appropriate for your version of
Ubuntu:

Ubuntu 12.04

.. code-block:: sh

echo "deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/stable 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/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
Expand Down
17 changes: 13 additions & 4 deletions source/includes/steps-install-mongodb-on-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,19 @@ ref: sources-list
action:
pre: |
Create the ``/etc/apt/sources.list.d/mongodb-org-3.0.list`` list file using
the following command:
language: sh
code: |
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
the command appropriate for your version of Ubuntu:

Ubuntu 12.04

.. code-block:: sh

echo "deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list

Ubuntu 14.04

.. code-block:: sh

echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
---
title: Reload local package database.
stepnum: 3
Expand Down