1Panel一键升级脚本,适用于静默升级/终端升级

1. 简介

1Panel升级到最新版本的脚本

2. 使用说明

2.1 国内网络

2.1.1 root

  • 无交互
echo y | bash <(wget -qO- --no-check-certificate https://ghproxy.com/https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh)
  • 交互
bash <(wget -qO- --no-check-certificate https://ghproxy.com/https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh)

2.1.2 sudo

  • 无交互
wget -N --no-check-certificate https://ghproxy.com/https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && echo y | sudo bash 1panel-upgrade.sh
  • 交互
wget -N --no-check-certificate https://ghproxy.com/https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && sudo bash 1panel-upgrade.sh

2.2 国际网络

2.2.1 root

  • 无交互
echo y | bash <(wget -qO- --no-check-certificate https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh)
  • 交互
bash <(wget -qO- --no-check-certificate https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh)

2.2.2 sudo

  • 无交互
wget -N --no-check-certificate https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && echo y | sudo bash 1panel-upgrade.sh
  • 交互
wget -N --no-check-certificate https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && sudo bash 1panel-upgrade.sh
1 个赞