news
New version of FreeBSD 14.0 x64
RF
December 22, 2023
Updated December 22, 2023

How To Install MongoDB on Windows?

Databases MongoDB

Overview

Commonly, for DB specialists prefer to use Linux due to security issues in another OS, high performance and possibility to rapidly manage. But there are situations when we need accordance to project point and agreement with clients. Which have desire to use Windows instead or information system requires it due to compatibility issues. In that instruction we consider step-by-step process installation MongoDB on the Windows OS.

Preparation

For Windows OS we can use .msi or .exe installation package, which we can find on the official web-site for that scroll page down and search button Select package, choose your version of OS:

Web-site
Screenshot №1 — Web-site

By clicking at the button, page will automatically scroll down and represent menu, where you can choose version, platform and type of installation package. Click on the download or you can choose copy link and save data through the suitable way!

Download
Screenshot №2 — Download

At that moment we finished preparation process and start our installation!

Installation

Wait until process will be end and open package with Administrative privileges, you can use account of Domain Administrator or Local Domain Administrator, the last one may be disabled by the policy! Installation package of MongoDB is quite similar to any setup software process, bu there is one difference. Let's consider their below:

Installation
Screenshot №3 — Installation

Don't look at the check box, we necessary need to install MongoD as a Service, if your box at the default was unchecked, than click on them. Below we can see two type of installation service, at Network and local or domain user. Here you choose way from your needs or requirements of information system. If you choose Network, then separated account will not create and Windows automatically make service with directories.

In another way, in the modern corporate network, create separated account for security issues, like Access Control or Efficiency Control software with concept of minimal privileges. Indicate Service name and directories for log and data, than click Next button! Choose install Compass GUI version for manage Mongo DB or you can use mongosh, which installed by the default:

Finish
Screenshot №4 — Finish

Wait several minutes for the end of installation process and click on the Finish button! Now we have installed MongoDB, open mongosh or Compass for manage. In our case we open search bar at the left corner and find Compass, click on them:

Connection
Screenshot №5 — Connection

At the field New Connection type your IP-address and port, if you use remote way. For local usage just click Connect and wait pop-up window:

Manage field
Screenshot №6 — Manage field

Alright! We are in, at the left we can see default database, at the above endpoint where we connect and another GUI stuff!

 

This guide concludes with successful MongoDB installation on Windows, providing users with the tools to efficiently manage databases through either mongosh or the Compass GUI interface.

Vote:
5 out of 5
Аverage rating : 5
Rated by: 1
1101 CT Amsterdam The Netherlands, Herikerbergweg 292
+31 20 262-58-98
700 300
ITGLOBAL.COM NL
700 300

You might also like...

We use cookies to make your experience on the Serverspace better. By continuing to browse our website, you agree to our
Use of Cookies and Privacy Policy.