Firts, edit your /etc/apt/sources.list. You can edit the sources.list using GEdit or any program that fits to you.
Second, add the line below:
# MongoDB
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
Third (the last), run the commands below in your Terminal:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
sudo apt-get update
sudo mkdir -p /data/db/
sudo apt-get install mongodb-10gen
That's all how to run MangoDB in your Ubuntu Server. Hope it useful... :)
Via github.
No comments:
Post a Comment