Last active
October 12, 2018 07:17
-
-
Save RenzoTejada/cef716c04bbb3dc99e9e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instalación | |
1. Import the public key used by the package management system. | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
2. Create a /etc/apt/sources.list.d/mongodb-org-3.0.list file for MongoDB. | |
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list | |
3. Reload local package database | |
sudo apt-get update | |
4. Install the MongoDB packages | |
sudo apt-get install -y mongodb-org=3.0.9 mongodb-org-server=3.0.9 mongodb-org-shell=3.0.9 mongodb-org-mongos=3.0.9 mongodb-org-tools=3.0.9 | |
5. sudo service mongod start | |
6. sudo service mongod stop | |
7. sudo service mongod restart | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment