1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 更改网卡配置
进入/etc/sysconfig/network-scripts目录
> cd /etc/sysconfig/network-scripts
> vi ifcfg-ens33
将ONBOOT改为 ***ONBOOT=YES***
# 重启网络
> service network restart
或者
> systemctl restart network
# 使用yum 安装 ifconfig
> yum provides ifconfig
# 使用yum 安装网络工具
> yum install net-tools
# 更新软件
> yum -y update
|