The recent project used the Springboot+nosql database MongoDB, because of the big difference with the traditional project, the development efficiency is higher, therefore this record.
1. Download mongodb:https://www.mongodb.com/download-center/cloud
2. Installation
To install MongoDB on the target disk: such as G:\MongoDB, create the data directory under this path, to put the database, create the logs directory, create Mongodb.log, to store the log
Create mongodb.conf to configure MongoDB and add the following configuration to mongodb.conf
3, open the cmd command line as an administrator , enter the G:\MongoDB\bin directory, enter the following command installation Services:
4. Enable MongoDB Service
5. Testing
Open G:\MongoDB\bin\mongo.exe, if the message appears, input DB, the test database can appear, the installation is successful.
The download and installation of MongoDB