MongoDB is a NoSQL database based on the document store data model. It stores data in a JSON style formatted document. In MongoDB everything is either collection or document. In order to understand MongoDB terminology, collection is an alternate word for table, whereas document is an alternate word for rows.
The MongoDB database
Installing MongoDB
We are now going to install MongoDB's community edition. Follow the step-by-step guide to successfully install it on your server:
- Ubuntu package management require that distributors sign packages with GPG keys for consistency and authenticity within packages. Execute the following command to import the MongoDB GPG key:
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu...