Linux学习环境搭建流程( 三 )

更新本地缓存yum makecache配置静态IP编辑网络配置文件/etc/sysconfig/network-scripts/ifcfg-ens33修改BOOTPROTO的值为static
vim /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="1821e847-7c8c-45b8-9875-7c4e2333bd3d"DEVICE="ens33"ONBOOT="yes"IPADDR="192.168.200.100"PREFIX="24"GATEWAY="192.168.200.2"DNS1="8.8.8.8"IPV6_PRIVACY="no"

推荐阅读