mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-06-08 15:56:06 +08:00
fix: 更新说明
This commit is contained in:
@@ -2,62 +2,93 @@
|
||||
outline: deep
|
||||
---
|
||||
|
||||
## Repo
|
||||
## Repo 仓库地址
|
||||
|
||||
https://github.com/oneclickvirt/webvirtcloud
|
||||
GitHub: [oneclickvirt/webvirtcloud](https://github.com/oneclickvirt/webvirtcloud)
|
||||
|
||||
[](https://hits.spiritlhl.net)
|
||||
|
||||
## webvirtcloud-scripts
|
||||
---
|
||||
|
||||
Controller安装
|
||||
### Controller 控制端安装
|
||||
|
||||
至少1核1G内存10G空的硬盘
|
||||
> **最低配置要求**:
|
||||
> - CPU: 1 核
|
||||
> - 内存: 1 GB
|
||||
> - 硬盘: 空余 10 GB
|
||||
|
||||
username: ```admin@webvirt.cloud```
|
||||
#### 默认登录信息 Login Info
|
||||
|
||||
password: ```admin```
|
||||
- 用户名 / Username: `admin@webvirt.cloud`
|
||||
- 密码 / Password: `admin`
|
||||
|
||||
Client panel - https://192-168-0-114.nip.io
|
||||
#### 面板地址 Panel Access
|
||||
|
||||
Admin panel - https://192-168-0-114.nip.io/admin
|
||||
- 用户面板 / Client Panel: `https://192-168-0-114.nip.io`
|
||||
- 管理后台 / Admin Panel: `https://192-168-0-114.nip.io/admin`
|
||||
|
||||
将192.168.0.114换成部署机的公网IP,上述地址就是面板地址
|
||||
> 请将 `192.168.0.114` 替换为你的公网 IP,以获取真实可访问地址。
|
||||
> Replace `192.168.0.114` with your actual **public IP address**.
|
||||
|
||||
```shell
|
||||
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
|
||||
#### 安装命令 Install Command
|
||||
|
||||
```bash
|
||||
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_webvirt_cloud.sh -o install_webvirt_cloud.sh \
|
||||
&& chmod +x install_webvirt_cloud.sh \
|
||||
&& bash install_webvirt_cloud.sh ctl
|
||||
```
|
||||
|
||||
Hypervisor 安装
|
||||
### Hypervisor 计算节点安装
|
||||
|
||||
开发测试环境:2核4G内存50G空的硬盘
|
||||
> **建议配置**:
|
||||
> - 测试环境: 2 核 CPU / 4 GB 内存 / 50 GB 空硬盘
|
||||
> - 生产环境建议更高配置
|
||||
> Minimum recommended for testing:
|
||||
> - 2 cores CPU / 4GB RAM / 50GB disk (more for production use)
|
||||
|
||||
实际使用建议配置更高
|
||||
#### 下载并准备安装脚本
|
||||
|
||||
```shell
|
||||
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_hypervisor1.sh -o install_hypervisor1.sh && chmod 777 install_hypervisor1.sh
|
||||
```bash
|
||||
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_hypervisor1.sh -o install_hypervisor1.sh \
|
||||
&& chmod +x install_hypervisor1.sh
|
||||
```
|
||||
|
||||
替换```x.x.x.x```为实际的已部署了Controller的IP地址,然后再执行下述命令
|
||||
#### 执行安装命令(替换 Controller IP)
|
||||
|
||||
```shell
|
||||
请将 `x.x.x.x` 替换为你的 **Controller 控制端的实际 IP 地址**:
|
||||
|
||||
```bash
|
||||
bash install_hypervisor1.sh x.x.x.x
|
||||
```
|
||||
|
||||
安装过程中可能会自动退出,提示当前的```NetworkManager```版本不符合要求,提示你需要重启服务器,大概提示如下:
|
||||
### 安装中可能出现的问题与提示
|
||||
|
||||
```
|
||||
安装过程中可能会自动退出并提示 NetworkManager 版本问题,如下所示:
|
||||
|
||||
```text
|
||||
Connection 'eth0' (bed050e9-ff49-4665-8112-24ddf2a1cd3c) successfully deleted.
|
||||
Warning: nmcli (1.48.10) and NetworkManager (1.42.2) versions don't match. Restarting NetworkManager is advised.
|
||||
Error: Failed to add 'br-ext' connection: connection.autoconnect-ports: unknown property
|
||||
```
|
||||
|
||||
此时重启服务器后需要再次执行上述命令
|
||||
> **解决方法**:
|
||||
> 重启服务器后重新执行安装命令
|
||||
> Reboot your server, then **run the install command again**.
|
||||
|
||||
安装完毕后会显示纳管所用的token,这是需要在Controller的Admin面板中的Computers页面添加的节点信息
|
||||
### 安装耗时提示
|
||||
|
||||
安装过程大概需要20~25分钟,主要耗时在```/var/lib/libvirt/isos/finnix-125.iso```的下载,这块无法加速,建议挂在tmux或者screen中进行安装
|
||||
- 整个过程大约耗时 **20~25 分钟**
|
||||
- 大部分时间用于下载 `finnix-125.iso`:
|
||||
`/var/lib/libvirt/isos/finnix-125.iso`
|
||||
- 该部分无法加速,**建议使用 tmux 或 screen** 等工具防止中断
|
||||
|
||||
# Thanks
|
||||
### 添加计算节点到控制面板
|
||||
|
||||
[webvirt.cloud](https://webvirt.cloud/)
|
||||
安装完成后会生成一个 **Token**,用于在控制端(Admin 面板)中添加计算节点:
|
||||
|
||||
路径:
|
||||
`Admin Panel > Computers > Add Node`
|
||||
|
||||
## Thanks
|
||||
|
||||
- [WebVirt.Cloud 官方网站](https://webvirt.cloud/)
|
||||
|
||||
Reference in New Issue
Block a user