Created
September 28, 2012 02:57
-
-
Save lancelakey/3797700 to your computer and use it in GitHub Desktop.
Install MongoDB onto Debian from 10gen Repository
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 characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install misc packages
apt-get install -y vim tmux psmisc
Why do I need this? Will it run without it?