Install MongoDB on Windows System - MongoDB
9K views
Oct 24, 2024
Install MongoDB on Windows System
View Video Transcript
0:00
In this video we shall discuss that how to install MongoDB on our Windows system
0:06
We shall discuss step by step. So to install MongoDB at first we have to check the system architecture
0:15
That means we are supposed to check whether our system is 64-bit or 32-bit
0:21
Open the command prompt in the administration mode. And then use that command that is the WMIC OS, Get, OS
0:29
OS architecture. So, if we issue such command here, if we issue such command, in my system
0:35
it was depicted that my system is of 64-bit. So, it will come like this. Next step. In the next step
0:43
go to this link and select the community edition, that is the free edition. So, this is the link
0:49
URL I have given here. So from here, you are supposed to download the community edition
0:54
And select the Windows version and download MSI. So here you are supposed to select the Windows version. So
0:58
So, here you are supposed to select the Windows version and here you are supposed to download
1:02
the MSI file. And here we're having this community server. So this is the URL and this particular window will come up this particular screen will come up and then you are selecting the respective version downloading the MSI and after going to this community server option Now how to install MongoDB on Windows
1:22
Open the downloaded MSI file and install it to the specified directory
1:28
So, just go on double-clicking on that MSI file, and this window will pop up, and here you can
1:33
provide the respective directories and path, and now we shall go for this installation
1:38
So now I shall go for this next. In the next step we can install MongoDB compass or we can simply ignore it and later
1:48
we can install it. Now I will be ignoring this one then I shall continue with my installation
1:54
So now this progress bird will be going up to the 100%
1:58
Now we are supposed to put the path there. So place the MongoDB installation directory onto the path variable and in our case the location
2:08
is this one. In my system, the location was this one. So, I should put this path in this
2:13
respective path here. So, putting the semicolon and then doing the pasting of this path here
2:19
so there is a path will be there so that my path variable in the system will get set accordingly
2:25
And now open the command prompt in the administrator mode and then type Mongo to open the Mongo shell So you see as we have set the path in the previous slide we have shown you that you have set
2:38
the path here. So this is a path. So that's why we can easily issue the respective command that is a Mongo to open the Mongo shell
2:47
So this is a Mongo we have typed and now some messages are there and then Mongo Shell has got initiated
2:53
Now let me show you in the practical demonstration that how this installation can be done
2:59
So please watch the demonstration now. So in this demonstration we shall show you that how to install MongoDB on the window system
3:08
So at first we are opening our command prompt in the administrator mode
3:15
And this window has come. Now here we will be issuing a command that is WMIC, OSG, get
3:23
OS architecture to check the configuration of the system
3:34
Here we are finding that we are having 64-bit machine here. So that why we shall have to download the respective 64 version of MongoDB Now we shall open our browser and here we be going for the link that is
3:50
STP colon slash www.w.mongodib dot orgis slash downloads. So this is the respective URL from where we'll be downloading our MongoDB
4:02
here we'll be going for the community server option and then we shall select
4:13
about Windows 64 bit as we are having the Windows 64 bit so MongoDB 64
4:18
bit we shall be downloading for Windows and this download MSI will be
4:23
initiated so now we are selecting our download folder and here the
4:32
file will get will get downloaded so it is taking some time so MongoDB
4:43
Windows 33 dash x and then we're having dot MSI file and now after completion
4:51
of the download we shall open the file we shall execute the file here so we have got the
4:58
file so we shall go for
#Programming
#Software