1. Edit file source.list.
# nano /etc/apt/sources.list
...
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
2. Tambahkan GPG key.
# apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
3. Update paket.
# apt-get update
4. Install Paket MongoDB.
# apt-get install mongodb-10gen
5. Pastikan mongodb berjalan dengan mulus
# mongo
6. Tampilan perdana.
MongoDB shell version: 2.2.2
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
Questions? Try the support group
http://groups.google.com/group/mongodb-user
>
Selesai.
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
Questions? Try the support group
http://groups.google.com/group/mongodb-user
>
Selesai.