centos7 mongodb 3.4 yum 安装

3.4

vi /etc/yum.repos.d/mongodb-3.4.repo  
[mongodb-org-3.4]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/
gpgcheck=0
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc

 

3.6

vi /etc/yum.repos.d/mongodb-org-3.4.repo  
[mongodb-org-3.4]  
name=MongoDB Repository  
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/  
gpgcheck=0  
enabled=1  
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc  

 

yum  install mongodb-org

 

    原文作者:MongoDB
    原文地址: https://www.cnblogs.com/sweetchildomine/p/6397136.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞