1. sudo rm /etc/apt/sources.list.d/mongodb.list
2. echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
3. sudo apt-get update
4. sudo apt-get install -y mongodb-org
2. echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
3. sudo apt-get update
4. sudo apt-get install -y mongodb-org
and then sudo service mongod start
No comments:
Post a Comment