yum install mongodb 3.2 fails

后端 未结 13 1310
自闭症患者
自闭症患者 2021-02-08 00:04

I am trying to install mongodb 3.2 on a CentOS 7 machine and facing issues in locating the packages.

I have updated the repo file as per the documentation:



        
13条回答
  •  梦谈多话
    2021-02-08 00:34

    @nikolai.serdiuk seems to be correct. The baseurl provided in Mongo's Documentation doesn't seem to be functional. Replace that step with this instead (1):

    yum-config-manager --add-repo http://repo.mongodb.org/yum/redhat/mongodb-org.repo

    and then continue on with (2):

    sudo yum install -y mongodb-org

    Hope this helps.

提交回复
热议问题