Error while installing mongodb on ubuntu 16.04

前端 未结 9 3213
小鲜肉
小鲜肉 2021-02-20 15:22

I\'ve already seen these answers, so please don\'t link em in solutions:

Installing MongoDB on Ubuntu 16.04 https://unix.stackexchange.com/questions/220

9条回答
  •  余生分开走
    2021-02-20 15:49

    For installing mongodb 4.0 in ubuntu 16.04

    
    echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
    
    sudo apt install libcurl3
    
    sudo apt-get update
    
    sudo service mongod start
    
    mongo
    

提交回复
热议问题