Learn how to install and use MongoDB on Servidor Windows 2016. MongoDB is a popular and powerful NoSQL document database which emphasizes flexibility and scalability, and stores data in JSON documents.
- A Servidor Cloud with Servidor Windows 2016
Use Remote Desktop to connect to the server. Open a browser window and go to the MongoDB download center. Click on the Community Server tab.
Select Servidor Windows 2008 R2 64-bit and later with SSL support x64 as the version. Then click DOWNLOAD (msi).
mongodb-win32-x86_64-2008plus-ssl-3.4.10-signed.exe file which you downloaded. This will launch the installation wizard. Click Next to begin.
Accept the License Agreement, then click Next.
Choose the setup type, then click Next.
Click Install to complete the installation.
Create a folder for MongoDB:
To start MongoDB, open a command prompt (Start > Windows System > Command Prompt) and run
mongod.exe with the command:
MongoDB will run as long as this command prompt window is open. When you are finished working with MongoDB, use CTRL + C to exit this command prompt window and shut down MongoDB.
To use MongoDB, open a new command prompt window and connect to the MongoDB server with the command:
This will connect you to the MongoDB client, where you can issue MongoDB commands just as you would on a Linux server. For more information on working with MongoDB, see our articles Installing and Running MongoDB on a Servidor Linux and Tutorial: Use MongoDB to Store Comments.