MongoDB Installation

In this article, I will tell you how to install mongoDB on linux and windows machines.To install MongoDB, the operating system architecture must be 64-bit.

Windows

After downloading the required files for MongoDB installation, the installation is done by following the classic Windows installation steps.

Installation Link Address:

https://www.mongodb.com/download-center

During the installation, advanced installation can be selected and the folder containing the database files and MongoDB service can be set.

In order to use the MongoDB database in the command interpreter, the path field in the environment variables must contain the folder mongo.exe and that folder.

After the necessary settings are made, the command is written to the command interpreter to check the installation.

Linux

On Linux-based operating systems, the installation differs from the package manager in the operating system.

If the operating system has a graphical interface, the installation files of the operating system are downloaded and installed.

If the installation is done with the command interpreter, the required repo is added first according to the package manager.

After the repo is added, the installation is completed with the following commands according to the package manager in the operating system.

Follow the general steps here:

After installation, the command is written to the command interpreter to check the installation.




if you have question do not forget to write from the chat button next to it or from the comment

You may also like...

Leave a Reply

Your email address will not be published.