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

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.

 

主站蜘蛛池模板: 项城市| 南江县| 施甸县| 乌兰察布市| 紫金县| 东阿县| 中宁县| 城步| 多伦县| 东辽县| 咸宁市| 汪清县| 集安市| 弥勒县| 彭水| 兴海县| 同江市| 新沂市| 澄江县| 河源市| 巴青县| 永昌县| 陈巴尔虎旗| 蕲春县| 旺苍县| 咸丰县| 金湖县| 仁化县| 海晏县| 报价| 武平县| 农安县| 晋中市| 台南县| 赞皇县| 衢州市| 乐平市| 营口市| 许昌市| 东辽县| 大冶市|