Install MongoDB in on Ubuntu 18.04

  1. Update the packages
sudo apt update

2. Install the MongoDB package

sudo apt install -y mongodb

3. Checking the Service and Database:

sudo systemctl status mongodb

Outher Command:

sudo systemctl status mongodb //check status
sudo systemctl start mongodb //start
sudo systemctl stop mongodb //stop
sudo systemctl restart mongodb //restart
sudo systemctl disable mongodb //disable automatic start at server
sudo systemctl enable mongodb //enable automatic start server

Than follow this tutorial:

--

--

--

Software Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Docker for Our Project

The New Sonar API

This new Windows 11 Insider Preview is all about the taskbar

This new Windows 11 Insider Preview is all about the taskbar

ProtoPixel Create 2.10.0 is out!

Count Sort : Introduction

Introducing Tags in GlassFrog

MICROPETS BSC NEW HOTTEST GEM

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
Safaetul Ahasan

Safaetul Ahasan

Software Engineer

More from Medium

Creating an API using express and MongoDB.

Getting Started with NodeJS

Cleaning Data with Node.js, Sending SMS Twilio

NodeJS Learning Part 2