added doc for installing from ubuntu package manager
This commit is contained in:
parent
0e0df7fb22
commit
1df94e7922
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
|
@ -47,8 +47,20 @@ If you're on **Mac OS X**, you already have Ruby on your system. Yay!
|
||||||
|
|
||||||
### MongoDB
|
### MongoDB
|
||||||
|
|
||||||
To install MongoDB on **Ubuntu**, run the following commands:
|
To install MongoDB on **Ubuntu**, add the official MongoDB repository from this link:
|
||||||
|
|
||||||
|
http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages
|
||||||
|
|
||||||
|
For Lucid, add the following line to your /etc/apt/sources.list:
|
||||||
|
|
||||||
|
deb http://downloads.mongodb.org/distros/ubuntu 10.4 10gen
|
||||||
|
|
||||||
|
And then run:
|
||||||
|
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install mongodb-stable
|
||||||
|
|
||||||
|
You can also run the binary directly by doing the following:
|
||||||
|
|
||||||
If you're running a 32-bit system, run `wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.6.2.tgz`. If you're running a 64-bit system, run `wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-1.6.2.tgz`.
|
If you're running a 32-bit system, run `wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.6.2.tgz`. If you're running a 64-bit system, run `wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-1.6.2.tgz`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue