Let’s start by defining what MongoDB is, then we will see how we can go about the installation process
What is MongoDB? :- MongoDB is a cross platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas.
Now let’s see how the installation process looks like on your Ubuntu System.
--- To start, it is always advised to make sure all your packages are up to date on your ubuntu system by typing the command as seen on the screenshot:
--- You can now run the command to install MongoDB on your Ubuntu terminal by typing the command sudo apt-get install mongodb as seen on the screenshot below:
It will now prompt you a message if you want to continue. Just type letter “y” on your keyboard which is the same as typing “yes” to accept the process to continue.
--- At this point, you will now start the MongoDB service by typing the following command as seen below:
--- From here on, you can check the status of the newly installed mongodb on your machine to check if it’s running or not and if it is succesfully running, you will see active (running) written in green.
Thanks for reading this article.
Please like if you find this article helpful and also follow me to get in touch with all the latest articles I will be posting in the tech world
You can get in touch with me through Linkedin by clicking the link https://www.linkedin.com/in/nkenganyi-clovis-4310b41ba/