Skip to content

Commit 4041d2c

Browse files
committed
DOCSP-6592: rm ref to downloads-distro for older versions 2.6 and earlier
1 parent c93d22b commit 4041d2c

6 files changed

+17
-508
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.. note::
2+
3+
The ``downloads-distro.mongodb.org`` host has been decommissioned.
4+
To get the binaries for MongoDB 2.2 (which has reached end of life):
5+
6+
- For the Community Edition, you can download from
7+
https://www.mongodb.org/dl/linux/x86_64.
8+
9+
- For the Enterprise Edition, you can download from
10+
https://www.mongodb.com/download-center/enterprise/releases/archive.
11+
12+
Once downloaded, you can follow the instructions on
13+
:doc:`/tutorial/install-mongodb-on-linux`.

source/includes/steps-install-configure-debian-packages.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

source/tutorial/install-mongodb-on-debian.txt

Lines changed: 1 addition & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -4,121 +4,5 @@ Install MongoDB on Debian
44

55
.. default-domain:: mongodb
66

7-
.. contents:: On this page
8-
:local:
9-
:backlinks: none
10-
:depth: 1
11-
:class: singlecol
7+
.. include:: /includes/fact-download-mongodb-linux.rst
128

13-
This tutorial outlines the steps to install :term:`MongoDB` on Debian
14-
systems. The tutorial uses ``.deb`` packages to install. While some
15-
Debian distributions include their own MongoDB packages, the official
16-
MongoDB packages are generally more up to date.
17-
18-
.. note::
19-
20-
This tutorial applies to both Debian systems and versions of Ubuntu
21-
Linux prior to 9.10 "Karmic" which do not use Upstart. Other Ubuntu
22-
users will want to follow the :doc:`/tutorial/install-mongodb-on-ubuntu`
23-
tutorial.
24-
25-
Package Options
26-
---------------
27-
28-
The downloads repository provides the ``mongodb-10gen`` package,
29-
which contains the latest **stable** release. Additionally you can
30-
:ref:`install previous releases <install-debian-version-pinning>` of MongoDB.
31-
32-
You cannot install this package concurrently with the ``mongodb``,
33-
``mongodb-server``, or ``mongodb-clients`` packages that
34-
your release of Debian may include.
35-
36-
Install MongoDB
37-
---------------
38-
39-
Configure Package Management System (APT)
40-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41-
42-
The Debian package management tools (i.e. ``dpkg`` and ``apt``) ensure
43-
package consistency and authenticity by requiring that distributors
44-
sign packages with GPG keys.
45-
46-
.. include:: /includes/steps/install-configure-debian-packages.rst
47-
48-
49-
Install Packages
50-
~~~~~~~~~~~~~~~~
51-
52-
Issue the following command to install the latest stable version of
53-
MongoDB:
54-
55-
.. code-block:: sh
56-
57-
sudo apt-get install mongodb-10gen
58-
59-
When this command completes, you have successfully installed MongoDB!
60-
61-
.. _install-debian-version-pinning:
62-
63-
Manage Installed Versions
64-
~~~~~~~~~~~~~~~~~~~~~~~~~
65-
66-
You can use the ``mongodb-10gen`` package to install previous versions
67-
of MongoDB. To install a specific release, append the version number
68-
to the package name, as in the following example:
69-
70-
.. code-block:: sh
71-
72-
apt-get install mongodb-10gen=2.2.3
73-
74-
This will install the ``2.2.3`` release of MongoDB. You can specify
75-
any available version of MongoDB; however ``apt-get`` **will** upgrade
76-
the ``mongodb-10gen`` package when a newer version becomes available. Use
77-
the following *pinning* procedure to prevent unintended upgrades.
78-
79-
To pin a package, issue the following command at the system prompt to
80-
*pin* the version of MongoDB at the currently installed version:
81-
82-
.. code-block:: sh
83-
84-
echo "mongodb-10gen hold" | sudo dpkg --set-selections
85-
86-
Control Scripts
87-
---------------
88-
89-
.. include:: /includes/fact-unix-control-scripts.rst
90-
91-
Run MongoDB
92-
-----------
93-
94-
.. include:: /includes/fact-unix-data-and-log-dir.rst
95-
96-
Start MongoDB
97-
~~~~~~~~~~~~~
98-
99-
Issue the following command to start :binary:`~bin.mongod`:
100-
101-
.. code-block:: sh
102-
103-
sudo /etc/init.d/mongodb start
104-
105-
You can verify that :binary:`~bin.mongod` has started successfully by checking the
106-
contents of the log file at ``/var/log/mongodb/mongodb.log``.
107-
108-
Stop MongoDB
109-
~~~~~~~~~~~~
110-
111-
Issue the following command to stop :binary:`~bin.mongod`:
112-
113-
.. code-block:: sh
114-
115-
sudo /etc/init.d/mongodb stop
116-
117-
Restart MongoDB
118-
~~~~~~~~~~~~~~~
119-
120-
Issue the following command to restart :binary:`~bin.mongod`:
121-
122-
.. code-block:: sh
123-
124-
sudo /etc/init.d/mongodb restart

source/tutorial/install-mongodb-on-os-x.txt

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -10,56 +10,8 @@ Install MongoDB on OS X
1010
:depth: 1
1111
:class: singlecol
1212

13-
.. admonition:: Platform Support
1413

15-
Starting in version 2.4, MongoDB only supports OS X versions 10.6
16-
(Snow Leopard) on Intel x86-64 and later.
17-
18-
MongoDB is available through the popular OS X package manager `Homebrew
19-
<http://brew.sh/>`_ or through the MongoDB Download
20-
site.
21-
22-
Install MongoDB with Homebrew
23-
-----------------------------
24-
25-
`Homebrew <http://brew.sh/>`_ [#homebrew-setup]_
26-
installs binary packages based on published "formulae". The following
27-
commands will update ``brew`` to the latest packages and install
28-
MongoDB.
29-
30-
In a terminal shell, use the following sequence of commands to
31-
update``brew`` to the latest packages and install MongoDB:
32-
33-
.. code-block:: sh
34-
35-
brew update
36-
brew install mongodb
37-
38-
Later, if you need to upgrade MongoDB, run the following
39-
sequence of commands to update the MongoDB installation on your system:
40-
41-
.. code-block:: sh
42-
43-
brew update
44-
brew upgrade mongodb
45-
46-
Optionally, you can choose to build MongoDB from source. Use the
47-
following command to build MongoDB with SSL support:
48-
49-
.. code-block:: sh
50-
51-
brew install mongodb --with-openssl
52-
53-
You can also install the latest development release of MongoDB for
54-
testing and developemnt with the following command:
55-
56-
.. code-block:: sh
57-
58-
brew install mongodb --devel
59-
60-
.. [#homebrew-setup] Homebrew requires some initial
61-
setup and configuration. This configuration is beyond the scope of
62-
this document.
14+
MongoDB 2.2 is available through the MongoDB Download site.
6315

6416
.. _install-manual-osx:
6517

0 commit comments

Comments
 (0)