From 3bd498a8f210f36f98a69f488725d8f46079f3a0 Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Wed, 22 May 2024 14:46:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AE=89=E8=A3=851panel?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E7=9A=84=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/diy.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/shell/diy.sh b/shell/diy.sh index 9584162..4a89217 100644 --- a/shell/diy.sh +++ b/shell/diy.sh @@ -91,6 +91,7 @@ menu_options=( "还原配置文件os-release" "配置docker为国内镜像" "安装btop资源监控工具" + "安装1panel面板(推荐)" "卸载虚拟机" "卸载 CasaOS" ) @@ -113,6 +114,9 @@ commands=( ["VirtualBox硬盘直通"]="attach_raw_disk_to_vm" ["创建root身份的VirtualBox图标"]="create_root_vm_desktop" ["刷新虚拟硬盘的UUID"]="refresh_vm_disk_uuid" + ["安装1panel面板(推荐)"]="install_1panel" + + ) @@ -637,6 +641,11 @@ refresh_vm_disk_uuid() { fi } +#安装1panel面板 +install_1panel(){ + curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && bash quick_start.sh +} + show_menu() { clear YELLOW="\e[33m"