Skip to content

Commit fa2d5bc

Browse files
authored
fix: 更新说明
1 parent 9b49595 commit fa2d5bc

File tree

1 file changed

+79
-80
lines changed

1 file changed

+79
-80
lines changed

docs/incomplete/webvirtcloud.md

Lines changed: 79 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -2,131 +2,130 @@
22
outline: deep
33
---
44

5-
## Repo
6-
7-
https://github.com/oneclickvirt/webvirtcloud
8-
5+
## WebVirtCloud Installation Guide
96
[![hits](https://hits.spiritlhl.net/webvirtcloud.svg?action=hit&title=hits&title_bg=%23555555&count_bg=%233aebee&edge_flat=false)](https://hits.spiritlhl.net)
107

11-
---
12-
13-
### Controller 控制端安装
14-
15-
> **最低配置要求**
16-
> - CPU: 1 核
17-
> - 内存: 1 GB
18-
> - 硬盘: 空余 10 GB
19-
20-
#### 默认登录信息 Login Info
8+
Repository: https://github.com/oneclickvirt/webvirtcloud
219

22-
- 用户名 / Username: `admin@webvirt.cloud`
23-
- 密码 / Password: `admin`
10+
## Controller Installation 控制端安装
2411

25-
#### 面板地址 Panel Access
12+
### System Requirements 系统要求
13+
**Minimum Configuration 最低配置要求:**
14+
- CPU: 1 core / 1 核
15+
- Memory: 1 GB RAM / 内存: 1 GB
16+
- Disk: 10 GB free space / 硬盘: 空余 10 GB
2617

27-
- 用户面板 / Client Panel: `https://192-168-0-114.nip.io`
28-
- 管理后台 / Admin Panel: `https://192-168-0-114.nip.io/admin`
18+
### Default Login Information 默认登录信息
19+
- Username 用户名: `admin@webvirt.cloud`
20+
- Password 密码: `admin`
2921

30-
> 请将 `192.168.0.114` 替换为你的公网 IP,以获取真实可访问地址。
31-
> Replace `192.168.0.114` with your actual **public IP address**.
22+
### Access URLs 面板地址
23+
- Client Panel 用户面板: `https://192-168-0-114.nip.io`
24+
- Admin Panel 管理后台: `https://192-168-0-114.nip.io/admin`
3225

33-
#### 安装命令 Install Command
26+
> **Note 注意:** Replace `192.168.0.114` with your actual public IP address to get the correct access URL.
27+
> 请将 `192.168.0.114` 替换为你的公网 IP,以获取真实可访问地址。
3428
29+
### Installation Command 安装命令
3530
```bash
3631
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_webvirt_cloud.sh -o install_webvirt_cloud.sh \
3732
&& chmod +x install_webvirt_cloud.sh \
3833
&& bash install_webvirt_cloud.sh
3934
```
4035

41-
### Hypervisor 计算节点安装
36+
## Hypervisor Installation 计算节点安装
4237

43-
Hypervisor 和 Controller 不能在同一个虚拟机上进行安装,网络会出现冲突问题。
38+
> **Important 重要提示:** The Hypervisor and Controller cannot be installed on the same virtual machine; network conflicts will occur.
39+
> Hypervisor 和 Controller 不能在同一个虚拟机上进行安装,否则网络会出现冲突问题。
4440
45-
The Hypervisor and Controller cannot be installed on the same virtual machine; the network will have conflict issues.
41+
### System Requirements 系统要求
42+
**Recommended Configuration 建议配置:**
43+
- CPU: 2 cores / 2 核
44+
- Memory: 4 GB RAM / 内存: 4 GB
45+
- Disk: 40 GB free space / 硬盘: 空余 40 GB
4646

47-
#### 环境检测
47+
> **Additional Notes 额外说明:**
48+
> - Higher specifications are recommended for production use. This minimal setup is only sufficient to run 4 small VMs in a test environment.
49+
> 实际使用建议更高配置,测试环境只够开4台最小的虚拟机。
50+
> - The server must support KVM nested virtualization with VM-x/AMD-V/Hyper-V enabled.
51+
> 服务器需要支持KVM嵌套虚拟化,需要检测项目`VM-x/AMD-V/Hyper-V`是启用的。
52+
> - The installation uses binary files directly, skipping dependency installation.
53+
> 跳过env检测安装,直接使用二进制文件,无需安装依赖。
4854
49-
> **建议配置**
50-
> - CPU: 2 核
51-
> - 内存: 4 GB
52-
> - 硬盘: 空余 40 GB
53-
> - 实际使用建议更高配置,测试环境只够开4台最小的虚拟机
54-
> - 服务器需要支持KVM嵌套虚拟化,如何测试建议使用 https://github.com/oneclickvirt/ecs 进行测试,需要检测项目```VM-x/AMD-V/Hyper-V```是启用的
55-
> - 跳过env检测安装,直接使用二进制文件,无需安装依赖
55+
### Environment Testing 环境检测
5656

57-
> **Recommended Configuration**:
58-
> - CPU: 2 cores
59-
> - RAM: 4 GB
60-
> - Disk: 40 GB free space
61-
> - Higher specs are recommended for actual usage; this minimal setup is only sufficient to run 4 smallest VM in a test environment
62-
> - The server must support KVM nested virtualization(Need ```VM-x/AMD-V/Hyper-V``` is enabled). To test compatibility, it's recommended to use: https://github.com/oneclickvirt/ecs
63-
> - Skip the env detection installation, use the binary directly, no need to install dependencies
57+
To test if your server supports KVM nested virtualization:
58+
(检测服务器是否支持KVM嵌套虚拟化)
6459

65-
```shell
60+
```bash
6661
curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install
6762
```
6863

69-
选择选项8进行性能测试: ```./goecs```
64+
- For performance testing in English: `./goecs -l=en` (select option 8)
65+
- 性能测试中文版:`./goecs` (选择选项8)
7066

71-
Select option 8 for performance testing: ```./goecs -l=en```
67+
### Hypervisor Installation Steps 计算节点安装步骤
7268

73-
#### 下载并准备安装脚本
69+
1. Download the installation script 下载安装脚本:
70+
```bash
71+
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_hypervisor.sh -o install_hypervisor.sh \
72+
&& chmod +x install_hypervisor.sh
73+
```
7474

75-
```bash
76-
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_hypervisor.sh -o install_hypervisor.sh \
77-
&& chmod +x install_hypervisor.sh
78-
```
75+
2. Run the installation (replace with your Controller IP) 执行安装命令(替换 Controller IP):
76+
```bash
77+
bash install_hypervisor.sh x.x.x.x
78+
```
79+
> Replace `x.x.x.x` with your Controller's actual IP address.
80+
> 请将 `x.x.x.x` 替换为你的 Controller 控制端的实际 IP 地址。
7981
80-
#### 执行安装命令(替换 Controller IP)
82+
## Troubleshooting 问题排查
8183

82-
请将 `x.x.x.x` 替换为你的 **Controller 控制端的实际 IP 地址**
84+
### NetworkManager Version Issue NetworkManager 版本问题
85+
You might see this error during installation:
86+
安装过程中可能会自动退出并提示 NetworkManager 版本问题:
8387

84-
```bash
85-
bash install_hypervisor.sh x.x.x.x
8688
```
87-
88-
### 安装中可能出现的问题与提示
89-
90-
安装过程中可能会自动退出并提示 NetworkManager 版本问题,如下所示:
91-
92-
```text
9389
Connection 'eth0' (bed050e9-ff49-4665-8112-24ddf2a1cd3c) successfully deleted.
9490
Warning: nmcli (1.48.10) and NetworkManager (1.42.2) versions don't match. Restarting NetworkManager is advised.
9591
Error: Failed to add 'br-ext' connection: connection.autoconnect-ports: unknown property
9692
```
9793

98-
> **解决方法**
99-
> 重启服务器后重新执行安装命令
100-
> Reboot your server, then **run the install command again**.
101-
102-
### 安装耗时提示
103-
104-
- 整个过程大约耗时 **20~25 分钟**
105-
- 大部分时间用于下载 `finnix-125.iso`
106-
`/var/lib/libvirt/isos/finnix-125.iso`
107-
- 该部分无法加速,**建议使用 tmux 或 screen** 等工具防止中断
94+
**Solution 解决方法:**
95+
Reboot your server, then run the installation command again.
96+
重启服务器后重新执行安装命令。
10897

109-
### 添加计算节点到控制面板
98+
### Installation Time Notes 安装耗时提示
99+
- The entire process takes approximately **20-25 minutes**.
100+
整个过程大约耗时 **20~25 分钟**
101+
- Most time is spent downloading `finnix-125.iso` to `/var/lib/libvirt/isos/finnix-125.iso`.
102+
大部分时间用于下载 `finnix-125.iso``/var/lib/libvirt/isos/finnix-125.iso`
103+
- This download cannot be accelerated; use `tmux` or `screen` to prevent interruption.
104+
该部分无法加速,**建议使用 tmux 或 screen** 等工具防止中断。
110105

106+
### Adding Compute Node to Controller Panel 添加计算节点到控制面板
107+
After installation, a **Token** will be generated for adding the compute node to the Controller:
111108
安装完成后会生成一个 **Token**,用于在控制端(Admin 面板)中添加计算节点:
112109

113-
路径:
114-
`Admin Panel > Computers > Add`
110+
Path 路径: `Admin Panel > Computers > Add`
115111

116-
### 纳管节点错误排查
117-
118-
Controller端:
119-
120-
```
112+
### Troubleshooting Node Connection Issues 纳管节点错误排查
113+
From Controller 在控制端执行:
114+
```bash
121115
telnet <node ip> 8884
122116
```
123117

124-
Hypervisor端:
125-
126-
```
118+
From Hypervisor 在Hypervisor端执行:
119+
```bash
127120
journalctl -xeu webvirtcompute
128121
```
129122

130-
## Thanks
123+
### Restarting Docker Containers After Controller Reboot Controller重启后Docker容器重启
124+
If Docker containers don't auto-restart after a system reboot, run:
125+
执行以下命令重启所有容器:
126+
```bash
127+
docker start $(docker ps -a -q)
128+
```
131129

130+
## Credits 鸣谢
132131
https://webvirt.cloud/

0 commit comments

Comments
 (0)