Tech Junkie Blog - Real World Tutorials, Happy Coding!: MongoDB In-Depth: Installing MongoDB on Linux

Tuesday, November 2, 2021

MongoDB In-Depth: Installing MongoDB on Linux

In this post we are going to install MongoDB on a Linux operating system.

Here are the steps:

1.  Download the community edition of MongoDB from the page click on the "Linux" tab is selected and select the Linux version that you want

2. After you download the file extract the file with the tar command

tar -zxvf mongodb-linux-x86_64-rhel70-4.0.1.tgz

3. Create a new folder in the /opt/ directory call mongodb with the command mkdir /opt/mongodb

4. Copy the extracted files to the newly created folder with the command

  cp -R -n mongodb-linux-x86_64-rhel70-4.0.1/*  /opt/mongodb

5. Type mongod to verify that MongoDB has been installed

You will noticed that MongoDB tries to start itself but shut itself down because there's no data
folder that it expects. That's easy enough to fix. All you have to do is type in the following command in the terminal mkdir /data mkdir /data/db/ Now you can type mongod to start MongoDB.


  1. Replies

    1. error404-store

      - -- Spamming tools --

      1-- cpanel https ssl secure
      2-- shell ssl secure
      3-- web-mail
      4-- smtp
      5-- rdp with send bluster
      6-- scam pages
      7-- ceo or cfo leads

      -- Spy virus slinet Exploits --

      1-- privet rat
      2-- crypter exploits
      3-- privet rdp hosting
      4-- os andriod spy virus
      5-- iso iPhone spy virus
      6-- Nokia spy virus

      - -- scanners brute-force ---

      1-- linux roots
      2-- cpanel scanner
      3-- cpanel bruter
      4-- shell scanner
      5-- smtp scanner
      6-- smtp bruter
      7-- zimbra scanners

      - -------------------

      cpanel,shell,smtp,scampages,sender,ceo or cfo leads,rdp,spyvirus,crypter,exploits,scanners

      Telegram:- @Donsmith000

      icq :- @Donsmith000

  2. There is always need of Essay writing services across the globe being the sociology student I was assigned Essay Assignment which had a very short deadline so I needed someone to Do my Essay in order to do the same I needed Essay help from the experts I tried for they are great in their high quality content and on time submission.

  3. is a first-class academic writing company online from where you can get excellent help with assignment writing.


Search This Blog