Navratri Sale: Get Upto 30% OFF on Live Training! Offer Ending in
D
H
M
S
Get Now

MongoDB Installation and Configuration

Level : Beginner
Mentor: Shailendra Chauhan
Duration : 00:02:00

Downloading MongoDB

To download MongoDB for Windows, visit MongoDB Inc. and select the current release.

Installing MongoDB

To install MongoDB, double-click on the setup file. Follow the installation instructions.




Configuring MongoDB and Using MongoDB Shell

After installation, set up MongoDB and use MongoDB Shell. 

Step 1

Configure the user's MongoDB path using the environment variable path.

Step 2

In this variable value, simply append your MongoDB installation directory path with the bin folder using a semicolon (;), such as C:\Program Files\MongoDB\Server\3.0\bin. After that, click OK.

Step 3

Open Command Prompt and navigate to your MongoDB installation's bin folder. 

cd C:\Program Files\MongoDB\Server 3.0\bin

Step 4

Start the MongoDB server by typing mongod.exe. Your MongoDB server will launch as indicated below if the process is successful.

Step 5

Open a new Command Prompt now, and type the Mongo command as follows: mongo If successful, your MongoDB shell will be started, as seen below.


Step 6

To find out more about the MongoDB shell, run the help command.


Self-paced Membership
  • 24+ Video Courses
  • 825+ Hands-On Labs
  • 400+ Quick Notes
  • 125+ Skill Tests
  • 10+ Interview Q&A Courses
  • 10+ Real-world Projects
  • Career Coaching Sessions
  • Email Support
Upto 60% OFF
Know More
Still have some questions? Let's discuss.
CONTACT US
Accept cookies & close this