Installing and Getting Started with MongoDb on Linux Ubuntu

Getting started with MongoDb, a NoSQL database system

Image for post
Image for post
Image by mcmurryjulie from Pixabay

Install MongoDb

MongoDb Service

Check status

Image for post
Image for post

Start service

Stop service

Restart service

Mongo Shell

Interacting with the Database

Image for post
Image for post

Create a Database

Show Active database

Switch Database

Collections

Show collections

List items in a collection

Image for post
Image for post

Insert a record

Image for post
Image for post

Update record

Delete a record

Help

Conclusion

Written by

I develop software by profession. My interests include: history, economics, politics & enterprise-architecture. I am a child of God.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store