光说有毛用


CentOS安装mongodb

· by admin · Read in about 1 min · (20 Words)


yum源中添加mongodb下载地址

具体步骤:

Cd /etc/yum.repo.d/

创建 mongodb.repo

添加内容

[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1


执行sudo yum install -y mongodb-org

来自 <http://cache.baiducontent.com/c?m=9f65cb4a8c8507ed4fece7631046893b4c4380146d96864968d4e414c42246101d27abfa3a715042889422301cf91e1ab9ab68332a0321b690c88e40d8afd7756fde28652740c01c53c419de941b79947dc60a&p=8b2a975986cc41ac5dbc8a3f465294&newp=8a6dc54ad6c044b509be9b7c7f05cf231610db2151d4d1106585&user=baidu&fm=sc&query=centos+mongodb&qid=ae2d9c2c0000752b&p1=4>

Comments