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

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.

 

主站蜘蛛池模板: 德江县| 蕉岭县| 临洮县| 桦甸市| 沂水县| 松原市| 广德县| 逊克县| 泽普县| 太康县| 本溪| 沙坪坝区| 镇平县| 镇沅| 花垣县| 杨浦区| 华阴市| 青州市| 庄浪县| 肃北| 呼和浩特市| 礼泉县| 绥棱县| 松溪县| 瓮安县| 宜黄县| 永福县| 庆阳市| 榆社县| 太康县| 博罗县| 郯城县| 宁陵县| 定陶县| 襄樊市| 原阳县| 石台县| 沂源县| 六安市| 崇明县| 泾阳县|