Files
oneclickvirt.github.io/docs/incomplete/webvirtcloud.md
2025-04-19 17:25:27 +08:00

2.7 KiB
Raw Blame History

outline
outline
deep

Repo 仓库地址

https://github.com/oneclickvirt/webvirtcloud

hits


Controller 控制端安装

最低配置要求

  • CPU: 1 核
  • 内存: 1 GB
  • 硬盘: 空余 10 GB

默认登录信息 Login Info

  • 用户名 / Username: admin@webvirt.cloud
  • 密码 / Password: admin

面板地址 Panel Access

  • 用户面板 / Client Panel: https://192-168-0-114.nip.io
  • 管理后台 / Admin Panel: https://192-168-0-114.nip.io/admin

请将 192.168.0.114 替换为你的公网 IP以获取真实可访问地址。
Replace 192.168.0.114 with your actual public IP address.

安装命令 Install Command

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 计算节点安装

建议配置

  • 测试环境: 2 核 CPU / 4 GB 内存 / 50 GB 空硬盘
  • 生产环境建议更高配置
    Minimum recommended for testing:
  • 2 cores CPU / 4GB RAM / 50GB disk (more for production use)

下载并准备安装脚本

curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_hypervisor1.sh -o install_hypervisor1.sh \
&& chmod +x install_hypervisor1.sh

执行安装命令(替换 Controller IP

请将 x.x.x.x 替换为你的 Controller 控制端的实际 IP 地址

bash install_hypervisor1.sh x.x.x.x

安装中可能出现的问题与提示

安装过程中可能会自动退出并提示 NetworkManager 版本问题,如下所示:

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.

安装耗时提示

  • 整个过程大约耗时 20~25 分钟
  • 大部分时间用于下载 finnix-125.iso
    /var/lib/libvirt/isos/finnix-125.iso
  • 该部分无法加速,建议使用 tmux 或 screen 等工具防止中断

添加计算节点到控制面板

安装完成后会生成一个 Token用于在控制端Admin 面板)中添加计算节点:

路径:
Admin Panel > Computers > Add Node

Thanks