Skip to content

Instantly share code, notes, and snippets.

@duolaaa
Forked from hpherzog/jessie-mongodb-3-0-x.sh
Created October 12, 2016 08:08
Show Gist options
  • Save duolaaa/9ebbc0e316a0d6e0381295f7b73757c2 to your computer and use it in GitHub Desktop.
Save duolaaa/9ebbc0e316a0d6e0381295f7b73757c2 to your computer and use it in GitHub Desktop.
Install mongodb version 3.0.x on debian jessie
#!/bin/sh
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list
apt-get update
apt-get install -y mongodb-org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment