

└─1089445 /usr/bin/mongod -config /etc/nfĬreated symlink /etc/systemd/system//rvice → /lib/systemd/system/rvice.īy default, MongoDB is listening on 127.0.0.1:27017 only: Loaded: loaded (/lib/systemd/system/rvice disabled vendor preset: enabled)Īctive: active (running) since Thu 04:23:25 UTC 9s ago

Now check to see if the service is running: sudo systemctl status mongod Start the MongoDB service sudo systemctl start mongod Using above commands we have added apt repository for MongoDB 4.2 community Edition, below is command to install MongoDB, sudo apt-get install -y mongodb-org
#Install mongodb on linux ubuntu how to
How to Install MongoDB on Ubuntu 20.04 LTS Update the system package using below command, $ sudo apt-get update 3. Once GPG key imported, Add the MongoDB official APT repository in /etc/apt//mongodb-org-4.2.list using below command as per version of Ubuntu MongoDB is a high-performance database program, used by one of the biggest companies in the world like Facebook,Google, Adobe,SAP, TrendMicro, Verizon, BarClays. MongoDB is a free and open source document-oriented NoSQL and cross-platform database server used for high volume data storage.It uses JSON like documents which makes the database very flexible and scalable. Configuring MongoDB administrator username
