Skip to content

Commit 79bd9e7

Browse files
committed
feat: 添加其他虚拟化项目
1 parent c63f86b commit 79bd9e7

File tree

4 files changed

+143
-24
lines changed

4 files changed

+143
-24
lines changed

docs/.vitepress/config.mts

+22-22
Original file line numberDiff line numberDiff line change
@@ -51,27 +51,28 @@ export default defineConfig({
5151
},
5252
nav: [
5353
{
54-
text: '一键虚拟化',
54+
text: '一键虚拟化项目',
5555
link: '/',
5656
activeMatch: '^/$|^/guide/'
5757
},
5858
{
59-
text: 'Linux相关项目',
59+
text: '其他虚拟化项目',
60+
link: '/incomplete/index',
61+
activeMatch: '^/incomplete/'
62+
},
63+
{
64+
text: '其他实用项目',
6065
link: '/case/index',
6166
activeMatch: '^/case/'
6267
},
63-
// {
64-
// text: '开发手册',
65-
// link: '/developer/index',
66-
// activeMatch: '^/developer/'
67-
// },
6868
{ text: 'VPS余量监控', link: 'https://spiders.spiritlhl.net/' },
6969
{ text: 'VPS测试存档', link: 'https://beta.spiritlhl.net/' }
7070
],
7171
sidebar: {
7272
'/': getGuideSidebarZhCN(),
7373
'/guide/': getGuideSidebarZhCN(),
7474
'/case/': getCaseSidebarZhCN(),
75+
'/incomplete/': getIncompleteSidebarZhCN(),
7576
'/developer/': getDeveloperSidebarZhCN(),
7677
}
7778
}
@@ -91,14 +92,12 @@ export default defineConfig({
9192
},
9293
nav: [
9394
{ text: 'One Click Virtualization', link: '/en/', activeMatch: '^/en/guide/' },
94-
// { text: 'Development Manual', link: '/en/developer/index', activeMatch: '^/en/developer/' },
9595
{ text: 'VPS Stock Monitor', link: 'https://spiders.spiritlhl.net/' },
9696
{ text: 'VPS Test Archive', link: 'https://beta.spiritlhl.net/' }
9797
],
9898
sidebar: {
9999
'/en/': getGuideSidebarEnUS(),
100100
'/en/guide/': getGuideSidebarEnUS(),
101-
'/en/developer/': getDeveloperSidebarEnUS()
102101
},
103102
},
104103
},
@@ -194,6 +193,19 @@ function getGuideSidebarZhCN() {
194193
];
195194
}
196195

196+
function getIncompleteSidebarZhCN() {
197+
return [
198+
{
199+
text: '其他虚拟化项目',
200+
items: [
201+
{ text: 'pterodactyl', link: '/incomplete/pterodactyl.html' },
202+
{ text: 'webvirtcloud', link: '/incomplete/webvirtcloud.html' },
203+
{ text: 'convoy', link: '/incomplete/convoy.html' },
204+
]
205+
}
206+
];
207+
}
208+
197209
function getCaseSidebarZhCN() {
198210
return [
199211
{
@@ -206,8 +218,7 @@ function getCaseSidebarZhCN() {
206218
{ text: '5. 御三家流媒体解锁测试脚本', link: '/case/case5.html' },
207219
{ text: '6. 服务器资源占用脚本', link: '/case/case6.html' },
208220
{ text: '7. 为linux服务器增加swap分区(虚拟内存)', link: '/case/case7.html' },
209-
{ text: '8. 为linux服务器启用zram设备(压缩内存)', link: '/case/case8.html' },
210-
{ text: '9. convoy面板安装脚本', link: '/case/case9.html' }
221+
{ text: '8. 为linux服务器启用zram设备(压缩内存)', link: '/case/case8.html' }
211222
]
212223
}
213224
];
@@ -297,15 +308,4 @@ function getGuideSidebarEnUS() {
297308
]
298309
}
299310
];
300-
}
301-
302-
function getDeveloperSidebarEnUS() {
303-
return [
304-
{
305-
text: 'Development Manual',
306-
items: [
307-
{ text: 'l10n', link: '/en/developer/l10n.html' }
308-
]
309-
}
310-
];
311311
}

docs/case/case9.md renamed to docs/incomplete/convoy.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
outline: deep
33
---
44

5-
# 仓库
5+
## Repo
66

77
https://github.com/oneclickvirt/convoypanel-scripts
88

9-
# convoypanel-scripts
9+
## convoypanel-scripts
1010

1111
### One-click installation of convoy panel
1212

docs/incomplete/pterodactyl.md

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
outline: deep
3+
---
4+
5+
## Repo
6+
7+
https://github.com/oneclickvirt/pterodactyl
8+
9+
[![hits](https://hits.spiritlhl.net/pterodactyl.svg?action=hit&title=hits&title_bg=%23555555&count_bg=%233aebee&edge_flat=false)](https://hits.spiritlhl.net)
10+
11+
## pterodactyl-scripts
12+
13+
进一步调研发现开设servers和绑定用户极麻烦,不如原生直接docker方便,故而暂不做后续开发了
14+
15+
## 说明
16+
17+
目前支持的系统
18+
19+
| 系统类型 | 版本范围 | 备注 |
20+
|-------------|----------------------------|--------------|
21+
| Ubuntu | 20.04(推荐), 22.04, 24.04 | 已支持 |
22+
| Debian | 11(Bullseye), 12(Bookworm) | 已支持 |
23+
24+
## 更新
25+
26+
2025.04.15
27+
28+
- 测试修复节点导入
29+
30+
## Panel
31+
32+
panel端执行:
33+
34+
```shell
35+
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
36+
```
37+
38+
## Wings
39+
40+
wings端执行:
41+
42+
```shell
43+
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
44+
```
45+
46+
## Import
47+
48+
panel端执行:
49+
50+
```shell
51+
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
52+
```
53+
54+
会生成需要在wings端执行的命令
55+
56+
生成的命令执行完毕后等待20秒以上,避免一些初始化流程未走完,然后wings端再执行:
57+
58+
```shell
59+
bash install_wings.sh
60+
```
61+
62+
然后在```http://<your_ip>/admin/nodes```就能看到你的节点已经被自动添加纳管,心跳是绿色的
63+
64+
## Thanks
65+
66+
https://pterodactyl.io/

docs/incomplete/webvirtcloud.md

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
outline: deep
3+
---
4+
5+
## Repo
6+
7+
https://github.com/oneclickvirt/webvirtcloud
8+
9+
[![hits](https://hits.spiritlhl.net/webvirtcloud.svg?action=hit&title=hits&title_bg=%23555555&count_bg=%233aebee&edge_flat=false)](https://hits.spiritlhl.net)
10+
11+
## webvirtcloud-scripts
12+
13+
Controller安装
14+
15+
至少1核1G内存10G空的硬盘
16+
17+
username: ```[email protected]```
18+
19+
password: ```admin```
20+
21+
Client panel - https://192-168-0-114.nip.io
22+
23+
Admin panel - https://192-168-0-114.nip.io/admin
24+
25+
将192.168.0.114换成部署机的公网IP,上述地址就是面板地址
26+
27+
```
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
29+
```
30+
31+
Hypervisor 安装
32+
33+
开发测试环境:2核4G内存50G空的硬盘
34+
35+
实际使用建议配置更高
36+
37+
```
38+
curl -slk https://raw.githubusercontent.com/oneclickvirt/webvirtcloud/main/scripts/install_hypervisor1.sh -o install_hypervisor1.sh && chmod 777 install_hypervisor1.sh
39+
```
40+
41+
替换```x.x.x.x```为实际的已部署了Controller的IP地址,然后再执行下述命令
42+
43+
```
44+
bash install_hypervisor1.sh x.x.x.x
45+
```
46+
47+
安装完毕后会显示纳管所用的token,这是需要在Controller的Admin面板中的Computers页面添加的节点信息
48+
49+
安装过程大概需要20~25分钟,主要耗时在```/var/lib/libvirt/isos/finnix-125.iso```的下载,这块无法加速,建议挂在tmux或者screen中进行安装
50+
51+
# Thanks
52+
53+
[webvirt.cloud](https://webvirt.cloud/)

0 commit comments

Comments
 (0)