Skip to content

Commit e727da9

Browse files
authored
fix: 更新说明
1 parent 9653c59 commit e727da9

File tree

1 file changed

+57
-26
lines changed

1 file changed

+57
-26
lines changed

docs/incomplete/webvirtcloud.md

Lines changed: 57 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,62 +2,93 @@
22
outline: deep
33
---
44

5-
## Repo
5+
## Repo 仓库地址
66

7-
https://github.com/oneclickvirt/webvirtcloud
7+
GitHub: [oneclickvirt/webvirtcloud](https://github.com/oneclickvirt/webvirtcloud)
88

99
[![hits](https://hits.spiritlhl.net/webvirtcloud.svg?action=hit&title=hits&title_bg=%23555555&count_bg=%233aebee&edge_flat=false)](https://hits.spiritlhl.net)
1010

11-
## webvirtcloud-scripts
11+
---
12+
13+
### Controller 控制端安装
1214

13-
Controller安装
15+
> **最低配置要求**
16+
> - CPU: 1 核
17+
> - 内存: 1 GB
18+
> - 硬盘: 空余 10 GB
1419
15-
至少1核1G内存10G空的硬盘
20+
#### 默认登录信息 Login Info
1621

17-
username: ```admin@webvirt.cloud```
22+
- 用户名 / Username: `admin@webvirt.cloud`
23+
- 密码 / Password: `admin`
1824

19-
password: ```admin```
25+
#### 面板地址 Panel Access
2026

21-
Client panel - https://192-168-0-114.nip.io
27+
- 用户面板 / Client Panel: `https://192-168-0-114.nip.io`
28+
- 管理后台 / Admin Panel: `https://192-168-0-114.nip.io/admin`
2229

23-
Admin panel - https://192-168-0-114.nip.io/admin
30+
> 请将 `192.168.0.114` 替换为你的公网 IP,以获取真实可访问地址。
31+
> Replace `192.168.0.114` with your actual **public IP address**.
2432
25-
将192.168.0.114换成部署机的公网IP,上述地址就是面板地址
33+
#### 安装命令 Install Command
2634

27-
```shell
28-
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_webvirt_cloud.sh -o install_webvirt_cloud.sh && chmod 777 install_webvirt_cloud.sh && bash install_webvirt_cloud.sh ctl
35+
```bash
36+
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_webvirt_cloud.sh -o install_webvirt_cloud.sh \
37+
&& chmod +x install_webvirt_cloud.sh \
38+
&& bash install_webvirt_cloud.sh ctl
2939
```
3040

31-
Hypervisor 安装
41+
### Hypervisor 计算节点安装
3242

33-
开发测试环境:2核4G内存50G空的硬盘
43+
> **建议配置**
44+
> - 测试环境: 2 核 CPU / 4 GB 内存 / 50 GB 空硬盘
45+
> - 生产环境建议更高配置
46+
> Minimum recommended for testing:
47+
> - 2 cores CPU / 4GB RAM / 50GB disk (more for production use)
3448
35-
实际使用建议配置更高
49+
#### 下载并准备安装脚本
3650

37-
```shell
38-
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_hypervisor1.sh -o install_hypervisor1.sh && chmod 777 install_hypervisor1.sh
51+
```bash
52+
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_hypervisor1.sh -o install_hypervisor1.sh \
53+
&& chmod +x install_hypervisor1.sh
3954
```
4055

41-
替换```x.x.x.x```为实际的已部署了Controller的IP地址,然后再执行下述命令
56+
#### 执行安装命令(替换 Controller IP)
4257

43-
```shell
58+
请将 `x.x.x.x` 替换为你的 **Controller 控制端的实际 IP 地址**
59+
60+
```bash
4461
bash install_hypervisor1.sh x.x.x.x
4562
```
4663

47-
安装过程中可能会自动退出,提示当前的```NetworkManager```版本不符合要求,提示你需要重启服务器,大概提示如下:
64+
### 安装中可能出现的问题与提示
4865

49-
```
66+
安装过程中可能会自动退出并提示 NetworkManager 版本问题,如下所示:
67+
68+
```text
5069
Connection 'eth0' (bed050e9-ff49-4665-8112-24ddf2a1cd3c) successfully deleted.
5170
Warning: nmcli (1.48.10) and NetworkManager (1.42.2) versions don't match. Restarting NetworkManager is advised.
5271
Error: Failed to add 'br-ext' connection: connection.autoconnect-ports: unknown property
5372
```
5473

55-
此时重启服务器后需要再次执行上述命令
74+
> **解决方法**
75+
> 重启服务器后重新执行安装命令
76+
> Reboot your server, then **run the install command again**.
77+
78+
### 安装耗时提示
79+
80+
- 整个过程大约耗时 **20~25 分钟**
81+
- 大部分时间用于下载 `finnix-125.iso`
82+
`/var/lib/libvirt/isos/finnix-125.iso`
83+
- 该部分无法加速,**建议使用 tmux 或 screen** 等工具防止中断
84+
85+
### 添加计算节点到控制面板
5686

57-
安装完毕后会显示纳管所用的token,这是需要在Controller的Admin面板中的Computers页面添加的节点信息
87+
安装完成后会生成一个 **Token**,用于在控制端(Admin 面板)中添加计算节点:
5888

59-
安装过程大概需要20~25分钟,主要耗时在```/var/lib/libvirt/isos/finnix-125.iso```的下载,这块无法加速,建议挂在tmux或者screen中进行安装
89+
路径:
90+
`Admin Panel > Computers > Add Node`
6091

61-
# Thanks
92+
## Thanks
6293

63-
[webvirt.cloud](https://webvirt.cloud/)
94+
- [WebVirt.Cloud 官方网站](https://webvirt.cloud/)

0 commit comments

Comments
 (0)