Build environment:
Virtual machine: VM16
Linux environment: CentOS7 https://mirrors.bfsu.edu.cn/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-DVD-2009.iso
The first step is to add a virtual machine to the VM
Reference: Web Development - CentOS7 Virtual Machine (VM) Configuration and Installation
The second step is to configure the network
Reference: Web Development - CentOS7 Network Configuration for Multi-node Linux Environment Deployment
The third step uses Iterm2 to configure the shell script connection
Reference: Web Development - Iterm2 Configure SSH Quick Use (mac)
Feel the need, repeat the above steps, and deploy multiple CentOS7 environments