btpanel-v7.7.0-backup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

btpanel-v7.7.0

btpanel-v7.7.0-backup 官方原版v7.7.0版本面板备份

Centos/Ubuntu/Debian安装命令 独立运行环境(py3.7):

curl -sSO https://git.xinac.net/github/btpanel-v7.7.0/raw/branch/main/install/install_panel.sh && bash install_panel.sh

跳过登录框,以及破解插件等请自行搜索

# 取消强制登录
mv /www/server/panel/data/bind.pl /www/server/panel/data/bind.pl_bak
bt restart

# 删除日志收集
sed -e '/public.HttpPost/s/^/#/' \
    -e 's|^logs_analysis|#logs_analysis|g' \
    -i.bak /www/server/panel/script/site_task.py
rm -rf /www/server/panel/logs/request/*

# 开启面板离线模式
echo "True" >/www/server/panel/data/not_network.pl

# 关闭面板离线模式
rm -rf /www/server/panel/data/not_network.pl && bt restart

 

如果遇到重启后宝塔乱码 请DD最新版Debian系统然后修改语言区域:

localectl set-locale LANG=en_US.UTF-8
nano /etc/default/locale
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"

修改后保存文件,重启VPS即可。