II. Development Environment Configuration-install database

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.