标签:http ar os sp on 文件 art bs ad
1、
vi /etc/yum.repos.d/10gen.repo,输入下面的语句:
[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
gpgcheck=0
2、
yum info mongo-10gen-server
如果提示错误 Not using downloaded repomd.xml because it is older than what we have,那么清空/var/cache/yum文件夹
3、
yum install mongo-10gen-server
yum install mongo-10gen
4、
启动Mongodb
service mongod start
标签:http ar os sp on 文件 art bs ad
原文地址:http://www.cnblogs.com/LoveJulin/p/4171656.html