centos最小化安装配置网络问题

1、cd  /etc/sysconfig/network-scripts

2、ls

centos最小化安装配置网络问题

3、使用vi ./ifcfg-en33进入编辑页面,将ONBOOT的值修改为yes,默认为no

centos最小化安装配置网络问题

4、wq保存退出

使用 systemctl restart network 重启网卡即可

5、使用 ip addr 查看ip

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

可以使用ssh工具连接了

7、安装wget  yum -y install wget