Installation of the database
1. Install MySQL
A lightweight relational database
2. Installing MongoDB
MongoDB is a non-relational database written in C + +, based on Distributed file storage open source database system, storage form type JSON object, field value can contain other documents, arrays, text array, non-prudential flexible
:
Https://www.mongodb.com/download-center#community
Double-click Install
New Data folder under Bin directory peer
Enter the data file and create a new DB folder to store the database directory
command line into the bin directory, run MongoDB service
Mongod--dbpath "D:\MongoDB\Server\3.4\data\db
Configure MongoDB as a system service
Administrator Run Dos
Create a new logs directory bin directory sibling
Enter logs new Mongodb.log file
Command Line Input:
Mongod--bind_ip 0.0.0.0--logpath "D:\MongoDB\Server\3.4\logs\mongodb.log"--logappend--dbpath "D:\MongoDB\Server\ 3.4\data\db "--port 27017--servicename" MongoDB "--servicedisplayname" MongoDB "--install
The binding IP is 0.0.0.0 (which is accessible by any IP), specifying the log path, the database path, the port, specifying the service name
Success without error
View the service so you can set how it will start (manual, Automatic, etc.)
The MongoDB command interaction mode can be counted in the MONGO command after starting the service
MongoDB Visualizer: Robo 3T
:
Https://robomongo.org/download
3. Installing Redis
:
Https://github.com/MSOpenTech/redis/releases
Double-click Install to complete View service
Redis Visualizer: Redis Desktop Manager
:
Official website: https://redisdesktop.com/download
Github:https://github.com/uglide/redisdesktopmanager/releases
II. Development Environment Configuration-install database