官术网_书友最值得收藏!

Technical requirements

Minimum recommended hardware:

  • Desktop PC or laptop
  • 2 gigabytes (GB) free disk space
  • 4 GB of random-access memory (RAM)
  • 500 kilobits per second (Kbps) or faster internet connection

Software requirements:

  • OS (Linux or Mac): Docker, Docker Compose, Git (optional)
  • OS (Windows): Docker for Windows and Git for Windows

Installation of the required software and how to restore the code repository for the book are explained in Chapter 2, Setting up MongoDB 4.x. To run the code examples in this chapter, open a Terminal window (Command Prompt) and enter these commands:

cd /path/to/repo
docker-compose build
docker-compose up -d
docker exec -it learn-mongo-server-1 /bin/bash

When you are finished practicing the commands covered in this chapter, be sure to stop Docker as follows:

docker-compose down

The code used in this chapter can be found in the book's GitHub repository at https://github.com/PacktPublishing/Learn-MongoDB-4.x/tree/master/chapters/03.

 

主站蜘蛛池模板: 淮南市| 定日县| 蒙山县| 庄浪县| 天津市| 将乐县| 河西区| 盈江县| 拉萨市| 青海省| 九寨沟县| 鄂托克前旗| 长沙市| 金阳县| 丰县| 郓城县| 太仆寺旗| 黄梅县| 双鸭山市| 兰西县| 鸡泽县| 海原县| 合江县| 登封市| 稷山县| 应用必备| 富川| 长沙县| 方正县| 达日县| 齐河县| 黄冈市| 五原县| 班玛县| 元阳县| 南城县| 辛集市| 祁东县| 彭阳县| 辽宁省| 双柏县|