Skip to content

Commit 7674bbb

Browse files
committed
fix: 修复说明
1 parent 859ed73 commit 7674bbb

File tree

4 files changed

+49
-52
lines changed

4 files changed

+49
-52
lines changed

docs/en/guide/pve/pve_kvm.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,6 @@ If the default username **is not ```root```, the default unset root password is
1616
bash <(curl -sSL https://raw.githubusercontent.com/fscarmen/tools/main/root.sh) [PASSWORD]
1717
```
1818

19-
## Partial Notes
20-
21-
**Commands to set up the testing environment for executing this project are as follows:**
22-
23-
![图片](images/pve_kvm_1.png)
24-
25-
To perform the above-mentioned query, you only need to use the one-click script below to automatically create a virtual machine. There is no need to manually modify settings on the web interface.
26-
27-
![图片](images/pve_kvm_2.png)
28-
29-
After creating the virtual machines using the subsequent script as mentioned above, it **may** be necessary to manually modify the settings on the web interface. You will need to disable hardware nested virtualization for each respective virtual machine, as shown in the following diagram.
30-
31-
![图片](images/pve_kvm_3.png)
32-
33-
Stop the virtual machine before making modifications. After the modifications are done, you can start the machine to use NOVNC. Failure to close it **may** result in bugs that render this virtual machine unusable.
34-
35-
If you forcibly install PVE to enable KVM, even if the startup fails, you can also disable this option and try to start the virtual machine to see if it works.
36-
:::tip
37-
Please use the "screen" command to suspend execution before launching the virtual machine, in order to avoid prolonged startup times. Unstable SSH connections could lead to interruptions during the intermediate execution.
38-
:::
39-
4019
## Considerations for opening a KVM virtual machine with an IPV6 address
4120

4221
Due to long-term inactivity IPV6 does not use may lead to NDP broadcast cache invalidation reset, generally idle for about 50 minutes will appear IPV6 unavailable, commonly known as "IPV6 cutoff", at this time it is necessary to set up a timer task.

docs/en/guide/pve/pve_precheck.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o
5252

5353
## Detecting the environment
5454

55-
- Before the execution of scripts related to this project, be sure to execute this script to detect the environment, if it does not meet the requirements of the installation of PVE will not be able to use the subsequent scripts.
56-
- Detecting the IPV6 network configuration of the machine (IPV6 can be installed with or without IPV6, it is just a query).
57-
- Detect whether the hardware configuration meets the minimum requirements
58-
- Detect whether the hardware environment can be nested virtualization KVM type of server
59-
- Detect whether the system environment can nest virtualized KVM-type servers.
60-
- Can not be nested virtualization KVM type of server can also open LXC virtualization server, but do not recommend installing PVE, rather use [LXD](https://github.com/spiritLHLS/lxd)
55+
- This project related scripts must be executed before the execution of this script to detect the environment, if it does not meet the requirements of the installation of PVE will not be able to use the subsequent scripts
56+
- Detection of the local IPV6 network configuration (with or without IPV6 can be installed, just query)
57+
- Detection of the hardware configuration meets the minimum requirements
58+
- Detection of the hardware environment can be nested virtualization KVM type of servers, can not be nested virtualization KVM can also open QEMU TCG server, performance is poor
59+
- Detect whether the system environment can be nested virtualization KVM type of server, can not be nested virtualization KVM can also open QEMU TCG server, performance is poor
60+
- can not be nested virtualization KVM servers do not recommend the installation of the PVE, it is better to use [incus](https://github.com/oneclickvirt/incus) for better performance.
6161

6262
Command:
6363

@@ -73,6 +73,26 @@ rm -rf /usr/local/bin/pve_check_ipv6*
7373
rm -rf /usr/local/bin/pve_last_ipv6*
7474
```
7575

76+
**Commands to set up the testing environment for executing this project are as follows:**
77+
78+
![图片](images/pve_kvm_1.png)
79+
80+
To perform the above-mentioned query, you only need to use the one-click script below to automatically create a virtual machine. There is no need to manually modify settings on the web interface.
81+
82+
![图片](images/pve_kvm_2.png)
83+
84+
After creating the virtual machines using the subsequent script as mentioned above, it **may** be necessary to manually modify the settings on the web interface. You will need to disable hardware nested virtualization for each respective virtual machine, as shown in the following diagram.
85+
86+
![图片](images/pve_kvm_3.png)
87+
88+
Stop the virtual machine before making modifications. After the modifications are done, you can start the machine to use NOVNC. Failure to close it **may** result in bugs that render this virtual machine unusable.
89+
90+
If you forcibly install PVE to enable KVM, even if the startup fails, you can also disable this option and try to start the virtual machine to see if it works.
91+
92+
:::tip
93+
Please use the "screen" command to suspend execution before launching the virtual machine, in order to avoid prolonged startup times. Unstable SSH connections could lead to interruptions during the intermediate execution.
94+
:::
95+
7696
<br/>
7797
<br/>
7898

docs/guide/pve/pve_kvm.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,6 @@ bash <(curl -sSL https://raw.githubusercontent.com/fscarmen/tools/main/root.sh)
2525
bash <(curl -sSL https://cdn.spiritlhl.net/https://raw.githubusercontent.com/fscarmen/tools/main/root.sh) [PASSWORD]
2626
```
2727

28-
## 部分注意事项
29-
30-
**执行本项目的检测环境的命令**,展示如下
31-
32-
![图片](images/pve_kvm_1.png)
33-
34-
查询如上的只需使用下面的一键脚本自动创建虚拟机即可,无需手动再修改WEB端设置
35-
36-
![图片](images/pve_kvm_2.png)
37-
38-
查询如上的在使用后续脚本创建了虚拟机后,**可能**需要手动修改WEB端设置,需要关闭对应每个虚拟机的硬件嵌套虚拟化,如下图
39-
40-
![图片](images/pve_kvm_3.png)
41-
42-
先停止虚拟机再修改,修改完后再开机才能使用NOVNC,不关闭**可能**导致这个虚拟机有BUG无法使用
43-
44-
如果强行安装PVE开KVM,启动不了的也可以关闭这个选项试试能不能启动虚拟机
45-
46-
:::tip
47-
开设虚拟机前请使用screen挂起执行,避免开设时间过长,SSH不稳定导致中间执行中断
48-
:::
49-
5028
## 开设带IPV6地址的KVM虚拟机的注意事项
5129

5230
由于长期闲置IPV6不使用可能导致NDP广播缓存失效重置,一般闲置50分钟左右就会出现IPV6不可用的情况,俗称“IPV6断流”,此时需要设置一个定时任务

docs/guide/pve/pve_precheck.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/spiritLHLS/a
6161
- 本项目相关脚本执行前务必执行本脚本检测环境,如果不符合安装PVE的要求则无法使用后续的脚本
6262
- 检测本机IPV6的网络配置情况(有无IPV6都可安装,只是查询一下罢了)
6363
- 检测硬件配置是否满足最低要求
64-
- 检测硬件环境是否可嵌套虚拟化KVM类型的服务器
65-
- 检测系统环境是否可嵌套虚拟化KVM类型的服务器
66-
- 不可嵌套虚拟化KVM类型的服务器也可以开LXC虚拟化的服务器,但不推荐安装PVE,不如使用[incus](https://github.com/oneclickvirt/incus)
64+
- 检测硬件环境是否可嵌套虚拟化KVM类型的服务器,不可嵌套虚拟化KVM的也可以开QEMU的TCG的服务器,性能较差
65+
- 检测系统环境是否可嵌套虚拟化KVM类型的服务器,不可嵌套虚拟化KVM的也可以开QEMU的TCG的服务器,性能较差
66+
- 不可嵌套虚拟化KVM的服务器不推荐安装PVE,不如使用[incus](https://github.com/oneclickvirt/incus)性能更好
6767

6868
国际
6969

@@ -85,6 +85,26 @@ rm -rf /usr/local/bin/pve_check_ipv6*
8585
rm -rf /usr/local/bin/pve_last_ipv6*
8686
```
8787

88+
**执行本项目的检测环境的命令**,展示如下
89+
90+
![图片](images/pve_kvm_1.png)
91+
92+
查询如上的只需使用下面的一键脚本自动创建虚拟机即可,无需手动再修改WEB端设置
93+
94+
![图片](images/pve_kvm_2.png)
95+
96+
查询如上的在使用后续脚本创建了虚拟机后,**可能**需要手动修改WEB端设置,需要关闭对应每个虚拟机的硬件嵌套虚拟化,如下图
97+
98+
![图片](images/pve_kvm_3.png)
99+
100+
先停止虚拟机再修改,修改完后再开机才能使用NOVNC,不关闭**可能**导致这个虚拟机有BUG无法使用
101+
102+
如果强行安装PVE开KVM,启动不了的也可以关闭这个选项试试能不能启动虚拟机,导致这些问题的原因就是上面说的,宿主机不支持嵌套虚拟化KVM进行加速
103+
104+
:::tip
105+
开设虚拟机前请使用screen挂起执行,避免开设时间过长,SSH不稳定导致中间执行中断
106+
:::
107+
88108
<br/>
89109
<br/>
90110

0 commit comments

Comments
 (0)