## environment to build
# Preparations
(1) Turn off the firewall
systemctl stop firewalld //停止防火墙
systemctl disable firewalld//永久关闭防火墙
After the first stop unloading
(2) Configure a static IP
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
= Static DHCP → 1.bootproto
2.onboot = NO → Yes
3. Add = 192.168.56.105 the IPADDR
(. 3). Restart network
systemctl restart network
(4) Check whether external networks
ping www.baidu.com
ctrl + z stop ping test
Turn off the firewall setting a static IP +