Sunday, May 28, 2017

mongoDB


  • MongoDB is a free and open-source cross-platform
  • It's a document-oriented database program
  • Its Written In C++, C and JavaScript
  • Its classified as a NoSQL database program 


Features In mongoDB
  • High Performance 
    • Indexes support faster queries and can include keys from embedded documents and arrays.
  • High Availability
    • Data redundancy
  • Automatic Scaling

Install MongoDB Community Edition on Ubuntu


  1. Import the public key used by the package management system.
    • In Terminal type this
      • sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
  2. Create a list file for MongoDB
    • For Ubuntu 16.04
      • echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
  3. Reload local package database
    • sudo apt-get update
  4. Install the MongoDB packages
    • Install the latest stable version of MongoDB
      • sudo apt-get install -y mongodb-org
  5. Start MongoDB
    • sudo service mongod start
for more Help: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

1 comment:

  1. MongoDB really useful information about learning Mean Stack. Thanks for sharing. Best Mean Stack Training in Bangalore

    ReplyDelete

My First Day with Uki DN Cohort 1

 "Hello WORLD!"