diff --git a/notes/installation/虚拟机静态IP及多IP配置.md b/notes/installation/虚拟机静态IP及多IP配置.md
index 9a537b0..559e594 100644
--- a/notes/installation/虚拟机静态IP及多IP配置.md
+++ b/notes/installation/虚拟机静态IP及多IP配置.md
@@ -1,25 +1,22 @@
# 虚拟机静态IP及多IP配置
-> 虚拟机环境:centos 7.6
-
-
-
## 一、虚拟机静态IP配置
-### 1. 查看当前网卡名称
-
- 使用`ifconfig`,本机网卡名称为`enp0s3`
-
-
-
-### 2. 编辑网络配置文件
+### 1. 编辑网络配置文件
```shell
# vim /etc/sysconfig/network-scripts/ifcfg-enp0s3
@@ -68,7 +65,7 @@ DEVICE=enp0s3
ONBOOT=yes
```
-### 3. 重启网络服务
+### 2. 重启网络服务
```shell
# systemctl restart network
@@ -78,7 +75,7 @@ ONBOOT=yes
## 二、虚拟机多个静态IP配置
-这里说一下多个静态IP的使用场景:主要是针对同一台电脑在经常在不同网络环境使用(办公,家庭,学习等),配置好多个IP后,在`hosts`文件中映射到同一个主机名,这样在不同网络中就可以直接启动Hadoop等软件。
+如果一台虚拟机需要经常在不同网络环境使用,可以配置多个静态IP。
### 1. 配置多网卡
@@ -88,13 +85,13 @@ ONBOOT=yes
### 2. 查看网卡名称
-使用`ifconfig`,查看第二块网卡名称,这里我的名称为`enp0s8`。
+使用`ifconfig`,查看第二块网卡名称,这里我的名称为`enp0s8`:
### 3. 配置第二块网卡
-开启多网卡后并不会自动生成配置文件,需要拷贝`ifcfg-enp0s3`进行修改。
+开启多网卡后并不会自动生成配置文件,需要拷贝`ifcfg-enp0s3`进行修改:
```shell
# cp ifcfg-enp0s3 ifcfg-enp0s8
@@ -114,3 +111,8 @@ DEVICE=enp0s8
# systemctl restart network
```
+### 5. 使用说明
+
+使用时只需要根据所处的网络环境,勾选对应的网卡即可,不使用的网卡尽量不要勾选启动。
+
+
\ No newline at end of file
diff --git a/notes/大数据常用软件安装指南.md b/notes/大数据常用软件安装指南.md
index 5d1d9c8..42d201a 100644
--- a/notes/大数据常用软件安装指南.md
+++ b/notes/大数据常用软件安装指南.md
@@ -4,6 +4,7 @@
1. [Linux环境下JDK安装](https://github.com/heibaiying/BigData-Notes/blob/master/notes/installation/Linux下JDK安装.md)
2. [Linux环境下Python安装](https://github.com/heibaiying/BigData-Notes/blob/master/notes/installation/Linux下Python安装.md)
+3. [虚拟机静态IP及多IP配置](https://github.com/heibaiying/BigData-Notes/blob/master/notes/installation/虚拟机静态IP及多IP配置.md)
### 二、Hadoop
diff --git a/pictures/en0s3.png b/pictures/en0s3.png
deleted file mode 100644
index b35b0d8..0000000
Binary files a/pictures/en0s3.png and /dev/null differ
diff --git a/pictures/virtualbox启用网络.png b/pictures/virtualbox启用网络.png
new file mode 100644
index 0000000..793c70d
Binary files /dev/null and b/pictures/virtualbox启用网络.png differ