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

1. 简介

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

2. 使用说明

2.1 国内网络

2.1.1 root

  • 无交互
# echo y | bash <(wget -qO- --no-check-certificate https://fastly.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
# echo y | bash <(wget -qO- --no-check-certificate https://gcore.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
# echo y | bash <(wget -qO- --no-check-certificate https://testingcf.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
# echo y | bash <(wget -qO- --no-check-certificate https://cdn.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
echo y | bash <(wget -qO- --no-check-certificate https://mirror.ghproxy.com/https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh)
  • 交互
# bash <(wget -qO- --no-check-certificate https://fastly.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
# bash <(wget -qO- --no-check-certificate https://gcore.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
# bash <(wget -qO- --no-check-certificate https://testingcf.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
# bash <(wget -qO- --no-check-certificate https://cdn.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
bash <(wget -qO- --no-check-certificate https://mirror.ghproxy.com/https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh)

2.1.2 sudo

  • 无交互
# wget -qO- --no-check-certificate https://fastly.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && echo y | sudo bash 1panel-upgrade.sh
# wget -qO- --no-check-certificate https://gcore.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && echo y | sudo bash 1panel-upgrade.sh
# wget -qO- --no-check-certificate https://testingcf.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && echo y | sudo bash 1panel-upgrade.sh
# wget -qO- --no-check-certificate https://cdn.jsdelivr.net/gh/okxlin/ToolScript@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://mirror.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 -qO- --no-check-certificate https://fastly.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && sudo bash 1panel-upgrade.sh
# wget -qO- --no-check-certificate https://gcore.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && sudo bash 1panel-upgrade.sh
# wget -qO- --no-check-certificate https://testingcf.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && sudo bash 1panel-upgrade.sh
# wget -qO- --no-check-certificate https://cdn.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh && sudo chmod +x 1panel-upgrade.sh && sudo bash 1panel-upgrade.sh
wget -N --no-check-certificate https://mirror.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
2 个赞

感谢大佬分享

还得是大佬的脚本,用检查更新死活检查不出来,脚本能正常升级