Construction of Linux development environment (big data preparatory course 02o1)
# # Building Environment
# preparation work
(1)。 Turn off the firewall
Systemctl stop firewalld// stop Firewall systemctl disable firewalld// permanently turn off Firewall
Stop before unloading
(2)。 Configure static IP
Vi / etc/sysconfig/network-scripts/ifcfg-enp0s3
1.bootproto=dhcp → static
2.onboot=no → yes
3. Add IPADDR=192.168.56.105
(3)。 Restart the network
Systemctl restart network
(4)。 Check whether you can access the external network.
Ping www.baidu.com
Ctrl+z stops ping testing
Turn off firewall + set static IP