import{_ as s,v as a,b as l,R as e}from"./chunks/framework.70afa331.js";const y=JSON.parse('{"title":"","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"incomplete/webvirtcloud.md","filePath":"incomplete/webvirtcloud.md","lastUpdated":1745069586000}'),o={name:"incomplete/webvirtcloud.md"},n=e(`
https://github.com/oneclickvirt/webvirtcloud
最低配置要求:
- CPU: 1 核
- 内存: 1 GB
- 硬盘: 空余 10 GB
admin@webvirt.cloudadminhttps://192-168-0-114.nip.iohttps://192-168-0-114.nip.io/admin请将
192.168.0.114替换为你的公网 IP,以获取真实可访问地址。
Replace192.168.0.114with your actual public IP address.
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建议配置:
- CPU: 2 核
- 内存: 4 GB
- 硬盘: 空余 40 GB
- 实际使用建议更高配置,测试环境只够开4台最小的虚拟机
- 服务器需要支持KVM嵌套虚拟化,如何测试建议使用 https://github.com/oneclickvirt/ecs 进行测试,需要检测项目
VM-x/AMD-V/Hyper-V是启用的- 跳过env检测安装,直接使用二进制文件,无需安装依赖
curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh installRecommended Configuration:
- CPU: 2 cores
- RAM: 4 GB
- Disk: 40 GB free space
- Higher specs are recommended for actual usage; this minimal setup is only sufficient to run 4 smallest VM in a test environment
- The server must support KVM nested virtualization(Need
VM-x/AMD-V/Hyper-Vis enabled). To test compatibility, it's recommended to use: https://github.com/oneclickvirt/ecs- Skip the env detection installation, use the binary directly, no need to install dependencies:
curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh installcurl -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 地址:
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.
finnix-125.iso:/var/lib/libvirt/isos/finnix-125.iso安装完成后会生成一个 Token,用于在控制端(Admin 面板)中添加计算节点:
路径:Admin Panel > Computers > Add
Controller端:
telnet <node ip> 8884Hypervisor端:
journalctl -xeu webvirtcompute