Skip to content

Instantly share code, notes, and snippets.

@nax3t
Last active July 21, 2020 08:16
Show Gist options
  • Save nax3t/c781791851bac04e399d2275405cead5 to your computer and use it in GitHub Desktop.
Save nax3t/c781791851bac04e399d2275405cead5 to your computer and use it in GitHub Desktop.
Code for https://youtu.be/b089GmAvUyQ MongoDB c9.io Install Instructions
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
@Tze-Sien
Copy link

Tze-Sien commented Nov 6, 2019

Thanks! Works well for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment