Last active
July 21, 2020 08:16
-
-
Save nax3t/c781791851bac04e399d2275405cead5 to your computer and use it in GitHub Desktop.
Code for https://youtu.be/b089GmAvUyQ MongoDB c9.io Install Instructions
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
killall mongod | |
sudo apt-get purge -y mongodb-org* | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 | |
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org | |
rm -rf mongod | |
echo "mongod --dbpath=data --nojournal" > mongod | |
chmod a+x mongod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! Works well for me