Last active
January 2, 2016 20:49
-
-
Save mrkplt/156d45daa1a693eacd0b to your computer and use it in GitHub Desktop.
This file contains 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
# http://michaelconnor.org/2013/07/install-mongodb-on-amazon-64-bit-linux/ | |
sudo vi /etc/yum.repos.d/10gen.repo | |
# Add all below sans pounds to the file | |
# [10gen] | |
# name=10gen Repository | |
# baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 | |
# gpgcheck=0 | |
sudo yum -y install mongo-10gen-server mongo-10gen | |
sudo mkdir -p /data/db/ | |
sudo mongod & | |
sudo service mongod start | |
# starting up initially takes a minute. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment