zncs520 / pve

PVE开启直通+CPU硬盘温度显示,风扇转速+一键开启SSH-PVE一键开启换源,去掉订阅

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pve

  • 为防止系统没安装curl,使用不了一键命令,使用下面的一键命令之前先执行一次安装curl命令
apt -y update && apt -y install curl || yum install -y curl || apk add curl bash
  • 使用root用户登录alpine系统,后执行以下命令安装curl
apk add curl bash
  • PVE开启直通+CPU硬盘温度显示,风扇转速+一键开启换源,去订阅+CPU睿频模式选择

bash -c  "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/pve.sh)"
  • PVE一键升级PVE,lxc换源,去掉无效订阅

bash -c  "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/pve/main/pvehy.sh)"
  • 开启ssh

sed -i "s/.*PermitRootLogin.*/PermitRootLogin yes/g"   /etc/ssh/sshd_config && systemctl restart sshd.service && service sshd restart
  • (centos、ubuntu、debian、alpine)一键开启SSH

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://github.com/shidahuilang/pve/blob/main/Synology.sh)"
  • PVE升级系统

apt update && apt dist-upgrade -y

About

PVE开启直通+CPU硬盘温度显示,风扇转速+一键开启SSH-PVE一键开启换源,去掉订阅


Languages

Language:Shell 94.6%Language:JavaScript 5.4%