Database Management
Lab 2: Installing MongoDB Community Server
© Aptech Ltd.
Contents
Installing MongoDB Community Server
© Aptech Ltd.
Installing MongoDB Community Server
Step 1: Go to URL: https://www.mongodb.com/try/download/community ,
Select MongoDB Community Server 5.0.5. Select Platform Windows. Package:
msi. Click Download button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 2: Dbclick on mongodb-windows-x86_64-5.0.5-signed.msi to install.
© Aptech Ltd.
Installing MongoDB Community Server
Step 3: Click Next
© Aptech Ltd.
Installing MongoDB Community Server
Step 4: Select the checkbox I accept the terms in the License Agreement. Click
Next button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 5: Click Complete button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 6: Click Next button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 7: Check checkbox Install MongoDB Compass if your computer installed.
Click Next button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 8: Click Install button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 9: Click OK button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 10: Click OK button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 11: Click Yes button to restart your computer.
© Aptech Ltd.
Installing MongoDB Community Server
Step 12: In box search type services. Click Services
© Aptech Ltd.
Installing MongoDB Community Server
Step 13: Verify MongoDB Server (MongoDB) is Running.
© Aptech Ltd.
Installing MongoDB Community Server
Step 14: The folder C:\Program Files\MongoDB\Server\5.0\bin will contain
Mongodb
© Aptech Ltd.
Installing MongoDB Community Server
Step 15: In search box, type enviro, click Edit the system environment
variables
© Aptech Ltd.
Installing MongoDB Community Server
Step 16: Click Enviroment Variables button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 17: Select Path. Click Edit button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 18: Click the New button, enter the path C:\Program Files\MongoDB\
Server\5.0\bin, click the OK button
© Aptech Ltd.
Installing MongoDB Community Server
Step 19: Click OK button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 20: Click OK button.
© Aptech Ltd.
Installing MongoDB Community Server
Step 21: Open the Command Prompt program,
© Aptech Ltd.
Installing MongoDB Community Server
Step 22: Enter the command mongod to check the working status of Mongodb
© Aptech Ltd.
Installing MongoDB Community Server
Step 23: Open the Windows PowerShell program with Run as administrator
© Aptech Ltd.
Installing MongoDB Community Server
Step 24: Enter the Install-Module Mdbc command to install the Mongodb
Connection package. Type Y, press Enter
© Aptech Ltd.
Installing MongoDB Community Server
Step 25: Enter help Connect-Mdbc -full command to check the operation of the
newly installed Mdbc package.
© Aptech Ltd.
Installing MongoDB Community Server
Step 26: Enter the command mongod to check the working status of Mongodb
© Aptech Ltd.
© Aptech Ltd.