-
-
Save AndyM2013/eb1ed87f288871f3ae9a3ec03524f434 to your computer and use it in GitHub Desktop.
Revisions
-
nax3t revised this gist
Jul 21, 2018 . No changes.There are no files selected for viewing
-
nax3t created this gist
Jul 21, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ 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