Python crawler learning ==> Chapter 2: MongoDB environment configuration, pythonmongodb
Objective:
MongoDB Installation
Official steps
(The MongoDB self-starting service cannot be installed on the VMWare Virtual Machine. If you can do this, please kindly advise)
Step 1: MongoDB Overview
MongoDB is a distributed file storage-based database. Written in C ++. It is designed to provide scalable, high-performance data storage solutions for WEB applications.
MongoDB is a product between relational databases and non-relational databases. It has the most abundant functions and features like relational databases. The supported data structure is very loose and is similar to the json bson format, so it can store more complex data types. The biggest feature of Mongo is that it supports a very powerful query language. Its syntax is somewhat similar to an Object-Oriented Query Language. It can almost implement most of the functions similar to single-table queries in relational databases, it also supports data indexing.
(Refer to Baidu Encyclopedia: https://baike.baidu.com/item/mongodb/60411? Fr = aladdin)
Step 2: Install MongoDB
Step 3: Enable MongoDB
Step 4: Configure MongoDB system services
Step 5: View MongoDB data visually
Summary:
In the basic stage of crawler learning, virtual machines are not used for learning, because computer network knowledge cannot support the construction of your learning environment.