1、网络配置
1.1动态获取IP dhclient
1.2静态IP 修改/etc/sysconfig/network-scripts/ifcfg-ens33
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
**BOOTPROTO=static**
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=47142241-91cf-415e-81bb-4cfa6e7f2494
DEVICE=ens33
**ONBOOT=yes**
**IPADDR=192.168.48.110
NETMASK=255.255.255.0
GATEWAY=192.168.48.2***
2、ifconfig命令找不到
yum search ifocnfig
yum install net-tools.x86_64