feat: 添加其他虚拟化项目

This commit is contained in:
spiritlhl
2025-04-19 04:01:39 +00:00
parent c63f86b6bf
commit 79bd9e7792
4 changed files with 143 additions and 24 deletions

View File

@@ -51,20 +51,20 @@ export default defineConfig({
},
nav: [
{
text: '一键虚拟化',
text: '一键虚拟化项目',
link: '/',
activeMatch: '^/$|^/guide/'
},
{
text: 'Linux相关项目',
text: '其他虚拟化项目',
link: '/incomplete/index',
activeMatch: '^/incomplete/'
},
{
text: '其他实用项目',
link: '/case/index',
activeMatch: '^/case/'
},
// {
// text: '开发手册',
// link: '/developer/index',
// activeMatch: '^/developer/'
// },
{ text: 'VPS余量监控', link: 'https://spiders.spiritlhl.net/' },
{ text: 'VPS测试存档', link: 'https://beta.spiritlhl.net/' }
],
@@ -72,6 +72,7 @@ export default defineConfig({
'/': getGuideSidebarZhCN(),
'/guide/': getGuideSidebarZhCN(),
'/case/': getCaseSidebarZhCN(),
'/incomplete/': getIncompleteSidebarZhCN(),
'/developer/': getDeveloperSidebarZhCN(),
}
}
@@ -91,14 +92,12 @@ export default defineConfig({
},
nav: [
{ text: 'One Click Virtualization', link: '/en/', activeMatch: '^/en/guide/' },
// { text: 'Development Manual', link: '/en/developer/index', activeMatch: '^/en/developer/' },
{ text: 'VPS Stock Monitor', link: 'https://spiders.spiritlhl.net/' },
{ text: 'VPS Test Archive', link: 'https://beta.spiritlhl.net/' }
],
sidebar: {
'/en/': getGuideSidebarEnUS(),
'/en/guide/': getGuideSidebarEnUS(),
'/en/developer/': getDeveloperSidebarEnUS()
},
},
},
@@ -194,6 +193,19 @@ function getGuideSidebarZhCN() {
];
}
function getIncompleteSidebarZhCN() {
return [
{
text: '其他虚拟化项目',
items: [
{ text: 'pterodactyl', link: '/incomplete/pterodactyl.html' },
{ text: 'webvirtcloud', link: '/incomplete/webvirtcloud.html' },
{ text: 'convoy', link: '/incomplete/convoy.html' },
]
}
];
}
function getCaseSidebarZhCN() {
return [
{
@@ -206,8 +218,7 @@ function getCaseSidebarZhCN() {
{ text: '5. 御三家流媒体解锁测试脚本', link: '/case/case5.html' },
{ text: '6. 服务器资源占用脚本', link: '/case/case6.html' },
{ text: '7. 为linux服务器增加swap分区(虚拟内存)', link: '/case/case7.html' },
{ text: '8. 为linux服务器启用zram设备(压缩内存)', link: '/case/case8.html' },
{ text: '9. convoy面板安装脚本', link: '/case/case9.html' }
{ text: '8. 为linux服务器启用zram设备(压缩内存)', link: '/case/case8.html' }
]
}
];
@@ -297,15 +308,4 @@ function getGuideSidebarEnUS() {
]
}
];
}
function getDeveloperSidebarEnUS() {
return [
{
text: 'Development Manual',
items: [
{ text: 'l10n', link: '/en/developer/l10n.html' }
]
}
];
}

View File

@@ -2,11 +2,11 @@
outline: deep
---
# 仓库
## Repo
https://github.com/oneclickvirt/convoypanel-scripts
# convoypanel-scripts
## convoypanel-scripts
### One-click installation of convoy panel

View File

@@ -0,0 +1,66 @@
---
outline: deep
---
## Repo
https://github.com/oneclickvirt/pterodactyl
[![hits](https://hits.spiritlhl.net/pterodactyl.svg?action=hit&title=hits&title_bg=%23555555&count_bg=%233aebee&edge_flat=false)](https://hits.spiritlhl.net)
## pterodactyl-scripts
进一步调研发现开设servers和绑定用户极麻烦不如原生直接docker方便故而暂不做后续开发了
## 说明
目前支持的系统
| 系统类型 | 版本范围 | 备注 |
|-------------|----------------------------|--------------|
| Ubuntu | 20.04(推荐), 22.04, 24.04 | 已支持 |
| Debian | 11(Bullseye), 12(Bookworm) | 已支持 |
## 更新
2025.04.15
- 测试修复节点导入
## Panel
panel端执行
```shell
curl -slk https://raw.githubusercontent.com/oneclickvirt/pterodactyl/main/scripts/install_pterodactyl.sh -o install_pterodactyl.sh && chmod 777 install_pterodactyl.sh && bash install_pterodactyl.sh
```
## Wings
wings端执行
```shell
curl -slk https://raw.githubusercontent.com/oneclickvirt/pterodactyl/main/scripts/install_wings.sh -o install_wings.sh && chmod 777 install_wings.sh && bash install_wings.sh
```
## Import
panel端执行
```shell
curl -slk https://raw.githubusercontent.com/oneclickvirt/pterodactyl/main/scripts/import_node.sh -o import_node.sh && chmod 777 import_node.sh && bash import_node.sh
```
会生成需要在wings端执行的命令
生成的命令执行完毕后等待20秒以上避免一些初始化流程未走完然后wings端再执行
```shell
bash install_wings.sh
```
然后在```http://<your_ip>/admin/nodes```就能看到你的节点已经被自动添加纳管,心跳是绿色的
## Thanks
https://pterodactyl.io/

View File

@@ -0,0 +1,53 @@
---
outline: deep
---
## Repo
https://github.com/oneclickvirt/webvirtcloud
[![hits](https://hits.spiritlhl.net/webvirtcloud.svg?action=hit&title=hits&title_bg=%23555555&count_bg=%233aebee&edge_flat=false)](https://hits.spiritlhl.net)
## webvirtcloud-scripts
Controller安装
至少1核1G内存10G空的硬盘
username: ```admin@webvirt.cloud```
password: ```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上述地址就是面板地址
```
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
```
Hypervisor 安装
开发测试环境2核4G内存50G空的硬盘
实际使用建议配置更高
```
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_hypervisor1.sh -o install_hypervisor1.sh && chmod 777 install_hypervisor1.sh
```
替换```x.x.x.x```为实际的已部署了Controller的IP地址然后再执行下述命令
```
bash install_hypervisor1.sh x.x.x.x
```
安装完毕后会显示纳管所用的token这是需要在Controller的Admin面板中的Computers页面添加的节点信息
安装过程大概需要20~25分钟主要耗时在```/var/lib/libvirt/isos/finnix-125.iso```的下载这块无法加速建议挂在tmux或者screen中进行安装
# Thanks
[webvirt.cloud](https://webvirt.cloud/)