Install MongoDB

mongodbInstall Mongdb 3.8 Ubuntu 14.4,16.04,18.04 LTS

MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need

  • sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
  • sudo apt-get install gnupg
  • echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.
  • /mongodb-org-3.6.list
  • sudo apt-get update
  • sudo apt install -y mongodb-org
  • sudo systemctl stop mongod.service
  • sudo systemctl start mongod.service
  • sudo systemctl enable mongod.service
  • sudo systemctl status mongod
  • mongod --version
    

nodejs