首页 > 技术文章 > Centos7 最小化安装后网络链接配置

cooper-73 2019-04-15 15:36 原文

1、cd  /etc/sysconfig/network-scripts

2、修改ifcfg-ens33文件

  将ONBOOT=no 修改为 ONBOOT=yes

 

3、重启网卡:service network restart

4、使用 ip addr 查看ip

5、安装网络工具后可使用ifconfig查看ip: yum install net-tools

推荐阅读