MongoDB: install MongoDB on windows x64

Trabla: MongoDB: install MongoDB on windows x64


mongoDB logo


MongoDB (from humongous) is a cross-platform document-oriented database. Classified as a NoSQL database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster. Released under a combination of the GNU Affero General Public License and the Apache License, MongoDB is free and open-source software.
https://en.wikipedia.org/wiki/MongoDB



Solving:


IMPORTANT 
If you are running any edition of Windows Server 2008 R2 or Windows 7, please install a hotfix to resolve an issue with memory mapped files on Windows.
Source: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/

MongoDB: install MongoDB on windows x64 - tutorial screenshot 1



1. Download MongoDB installer from

MongoDB: install MongoDB on windows x64 - tutorial screenshot 2

2. Select operating system and click download

MongoDB: install MongoDB on windows x64 - tutorial screenshot 3

3. Run installer

MongoDB: install MongoDB on windows x64 - tutorial screenshot 4

4. Click "Run"

MongoDB: install MongoDB on windows x64 - tutorial screenshot 5

5. First page of installation wizard - click "Next"

MongoDB: install MongoDB on windows x64 - tutorial screenshot 6

6. Enable checkbox "I accept the terms in the License Agreement"

MongoDB: install MongoDB on windows x64 - tutorial screenshot 7

7. Click "Next"

MongoDB: install MongoDB on windows x64 - tutorial screenshot 8

8. Click "Complete" button

MongoDB: install MongoDB on windows x64 - tutorial screenshot 9

9. Click "Install" button 

MongoDB: install MongoDB on windows x64 - tutorial screenshot 10

10. Installing in progress

MongoDB: install MongoDB on windows x64 - tutorial screenshot 11

11. Click "Finish" button

MongoDB: install MongoDB on windows x64 - tutorial screenshot 12


Hooray!!!
MongoDB executables are in folder:
C:\Program Files\MongoDB\Server\3.2\bin

Let's run mongo.

12. Create folder C:\mongo-data

MongoDB: install MongoDB on windows x64 - tutorial screenshot 13

13. Run Windows Command Line and execute following command

C:\"Program Files"\MongoDB\Server\3.2\bin\mongod.exe --dbpath C:\mongo-data

MongoDB: install MongoDB on windows x64 - tutorial screenshot 14

MongoDB: install MongoDB on windows x64 - tutorial screenshot 15



No comments:

Post a Comment