上QQ阅读APP看书,第一时间看更新
Setting Up MongoDB 4.x
This chapter helps you install everything you need to use MongoDB 4.x with the Python programming language. In this chapter, you first learn about installing MongoDB on a customer site, including requirements for random-access memory (RAM), the central processing unit (CPU), and storage. Next, you learn the differences between a MongoDB 3 and a MongoDB 4.x installation. After that, you learn to install and configure MongoDB 4.x along with the PyMongo driver. At the end of the chapter, you learn how to download the source code and sample data for the book, as well as set up a demo test environment you can use to follow the book examples.
In this chapter, we cover the following topics:
- Installing MongoDB on a customer site
- Installing MongoDB 4.x
- Configuring MongoDB 4.x
- Installing the PyMongo driver package
- Loading the sample data
- Creating the demo environment using Docker and Docker Compose