0% found this document useful (0 votes)
5 views

Ex1 23BCS016 MongoDB Installation

Uploaded by

anbuselvan1841
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Ex1 23BCS016 MongoDB Installation

Uploaded by

anbuselvan1841
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 19

NAME : Anbuselvan M

ROLL NUM : 23BCS016

U18CSI5203L NO SQL LABORATORY


EXERCISE-1

Installation of Mongo DB

STEP 1: Download Mongo DB Community


server using msi.
STEP 2: Open the downloaded msi file and
click next
STEP 3 : Click on “I accept the terms “ and
click next.
STEP 4: After clicking on next , select “Run
service as network service user” , copy the
data directory’s path and click next.
Click on next so that installs latest version of
Mongo DB
STEP 5 : Click on install
STEP 6 : Click on finish
STEP 7: After installing , search for mongodb
in windows to check whether it is installed in
your system.
STEP 8 : Click on your respective C drive and
click Program files > Mongo DB > Server >
8.0 > and bin . Copy the path of bin .
STEP 9 : Search for edit environmental
variables > Advanced > Environmental
variables .
STEP 10: Under system variables click on
path
STEP 11: Click on new and paste the path of
bin of mongodb and click ok
STEP 12 : Go to command prompt and type
“mongod”.The below picture shows that
mongo db has been installed successfully.
STEP 13: Go to C drive > program files>
mongodb>server> 8.0 > data . Create a
new folder named db inside data .
STEP 14 : To install mongo db shell ,
download mongodb shell zip file .
STEP 15 : Extract the downloaded
mongoshell zip file.
STEP 16 : Copy the bin path of mongoshell
like step 8 and edit the environmental
variables and add new path like step 9 , 10
and 11.
STEP 17 : Go to command prompt and type
mongosh. The below picture shows
mongoshell has been installed successfully.

You might also like