Skip to content

Instantly share code, notes, and snippets.

@lexaurin
Forked from hpherzog/jessie-mongodb-3-0-x.sh
Last active August 27, 2016 20:44
Show Gist options
  • Save lexaurin/b1cc444fac8934f9ad4d7012340563a8 to your computer and use it in GitHub Desktop.
Save lexaurin/b1cc444fac8934f9ad4d7012340563a8 to your computer and use it in GitHub Desktop.
Install mongodb version 3.3.x on debian jessie
#!/bin/sh
apt-key adv --keyserver keyserver.ubuntu.com --recv A15703C6
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.3 main" | tee /etc/apt/sources.list.d/mongodb-org-3.3.list
apt-get update
#apt-get install -y mongodb-org
apt-get install -y mongodb-org-unstable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment