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

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.

 

主站蜘蛛池模板: 顺义区| 新昌县| 松滋市| 铜川市| 舒兰市| 苏尼特右旗| 新平| 太仓市| 肃宁县| 洛隆县| 余庆县| 巧家县| 南木林县| 从化市| 沭阳县| 余江县| 介休市| 四子王旗| 冷水江市| 丰都县| 阳谷县| 宿迁市| 中宁县| 青浦区| 郴州市| 巴中市| 普洱| 买车| 苏尼特右旗| 乌苏市| 泉州市| 英山县| 旺苍县| 扶绥县| 瑞丽市| 江陵县| 甘谷县| 奎屯市| 赤壁市| 伊金霍洛旗| 德保县|