1,配置网卡上网
进入目录
cd /etc/sysconfig/network-scripts/
编辑网卡的配置文件
vi ifcfg-ens33
把onboot=no改为yes
保存
:wq
重启网络服务
service network restart #重启网络
查看ip
ip a
2,安装ifconfig
yum install net-tools
3,配置ssh
默认已安装可用
1,配置网卡上网
进入目录
cd /etc/sysconfig/network-scripts/
编辑网卡的配置文件
vi ifcfg-ens33
把onboot=no改为yes
保存
:wq
重启网络服务
service network restart #重启网络
查看ip
ip a
2,安装ifconfig
yum install net-tools
3,配置ssh
默认已安装可用