Skip to content

minor: hardcode release into URLs for curl #358

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
8 changes: 3 additions & 5 deletions source/tutorial/install-mongodb-on-linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,16 @@ most cases you will want to download the 64-bit version of MongoDB.

.. code-block:: sh

curl http://downloads.mongodb.org/linux/mongodb-linux-x86_64-x.y.z.tgz > mongo.tgz
curl http://downloads.mongodb.org/linux/mongodb-linux-x86_64-2.2.0.tgz > mongo.tgz

If you need to run the 32-bit version, use the following command.

.. code-block:: sh

curl http://downloads.mongodb.org/linux/mongodb-linux-i686-x.y.z.tgz > mongo.tgz
curl http://downloads.mongodb.org/linux/mongodb-linux-i686-2.2.0.tgz > mongo.tgz

.. note::

Replace x.y.z with the current stable version (i.e. |version|).

You may also choose to install a development release, in which case
you will need to specify that version number above.

Expand All @@ -71,7 +69,7 @@ extract the files from the archive:

.. code-block:: sh

cp -R -n mongodb-osx-20??-??-??/ mongodb
cp -R -n mongodb-linux-x86_64-2.2.0/ mongodb

You can find the :program:`mongod` binary, and the binaries all of the
associated MongoDB utilities, in the ``bin/`` directory within the
Expand Down
6 changes: 2 additions & 4 deletions source/tutorial/install-mongodb-on-os-x.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,16 @@ most cases you will want to download the 64-bit version of MongoDB.

.. code-block:: sh

curl http://downloads.mongodb.org/osx/mongodb-osx-x86_64-x.y.z.tgz > mongo.tgz
curl http://downloads.mongodb.org/osx/mongodb-osx-x86_64-2.2.0.tgz > mongo.tgz

If you need to run the 32-bit version, use the following command:

.. code-block:: sh

curl http://downloads.mongodb.org/osx/mongodb-osx-i386-x.y.z.tgz > mongo.tgz
curl http://downloads.mongodb.org/osx/mongodb-osx-i386-2.2.0.tgz > mongo.tgz

.. note::

Replace x.y.z with the current stable version (i.e. |version|).

You may also choose to install a development release, in which case
you will need to specify that version number above.

Expand Down