Skip to content

Instantly share code, notes, and snippets.

@lancelakey
Created September 28, 2012 02:57
Show Gist options
  • Save lancelakey/3797700 to your computer and use it in GitHub Desktop.
Save lancelakey/3797700 to your computer and use it in GitHub Desktop.
Install MongoDB onto Debian from 10gen Repository
#!/usr/bin/env bash
# Add 10gen Debian repository to apt sources
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo -e "\n# 10gen\ndeb http://downloads-distro.mongodb.org/repo/debian-sysvinit\tdist 10gen" >> /etc/apt/sources.list
apt-get update -y
# Install misc packages
apt-get install -y vim tmux psmisc
# Install latest stable MongoDB from 10gen repository
apt-get install -y mongodb-10gen
@yankhonskikendaxa
Copy link

Install misc packages

apt-get install -y vim tmux psmisc

Why do I need this? Will it run without it?

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