- 为防止系统没安装curl,使用不了一键命令,使用下面的一键命令之前先执行一次安装curl命令
apt -y update && apt -y install curl wget sudo || yum install -y curl wget || apk add curl bash
- 使用root用户登录alpine系统,后执行以下命令安装curl
apk add curl bash
集合脚本自用
bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/shidahuilang/pve/set.sh)"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/shidahuilang/pve/main/docker-clash.sh)"
bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/shidahuilang/pve@main/pve.sh)"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/shidahuilang/pve/main/pve.sh)"
bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/shidahuilang/pve@main/pvehy.sh)"
bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/shidahuilang/pve@main/lang.sh)"
bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/shidahuilang/pve@main/ssh.sh)"
- 黑群晖cpu正确识别
wget -qO ch_cpuinfo_cn.sh https://cdn.jsdelivr.net/gh/shidahuilang/pve/ch_cpuinfo_cn.sh && sudo bash ch_cpuinfo_cn.sh
- 黑群晖自动挂载洗白(挂载目录/tmp/boot)
bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/shidahuilang/pve/arpl.sh)"
- AME3.x激活补丁
# DSM7.1 AME版本3.0.1-2004
curl http://code.imnks.com/ame3patch/ame71-2004.py | python
# DSM7.2 AME版本3.1.0-3005
curl http://code.imnks.com/ame3patch/ame72-3005.py | python
- 一键设置交换虚拟分区
bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/shidahuilang/pve/swap.sh)"
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/pve8-upgrade.sh)"
apt update && apt dist-upgrade -y