Created
September 13, 2011 01:49
-
-
Save sakama/1212958 to your computer and use it in GitHub Desktop.
MongoDB installation
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
sudo vi /etc/yum.repos.d/CentOS-Base.repo | |
[10gen] | |
name=10gen Repository | |
baseurl=http://downloads.mongodb.org/distros/centos/5.4/os/$basearch/ | |
gpgcheck=0 | |
enabled=1 | |
yum search mongo-stable* | |
yum --enablerepo=10gen search mongo | |
yum --enablerepo=10gen install mongo-stable* | |
yum --enablerepo=10gen install mongo-stable | |
yum --enablerepo=10gen install mongo-stable* | |
yum --enablerepo=10gen install mongo-stable mongo-stable-debuginfo mongo-stable-server | |
mongod --version | |
service mongod start | |
chkconfig mongod on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment