- 为防止系统没安装curl,使用不了一键命令,使用下面的一键命令之前先执行一次安装curl命令
apt -y update && apt -y install curl wget || yum install -y curl wget || apk add curl bash
- 使用root用户登录alpine系统,后执行以下命令安装curl
apk add curl bash
集合脚本自用
bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/set.sh)"
bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/docker-clash.sh)"
bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/pve.sh)"
bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/pvehy.sh)"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/shidahuilang/pve/main/lang.sh)"
bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/ssh.sh)"
- 黑群晖cpu正确识别
wget -qO ch_cpuinfo_cn.sh https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/ch_cpuinfo_cn.sh && sudo bash ch_cpuinfo_cn.sh
- 黑群晖自动挂载洗白(挂载目录/tmp/boot)
bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/arpl.sh)"
- 一键设置交换虚拟分区
bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/swap.sh)"
apt update && apt dist-upgrade -y