sword

宝塔linux面板5.9本地化一键安装脚本
简介据说宝塔面板5.9版本将在2020年1月1日停止支持。也就是到时候就没法安装5.9版本的宝塔面板了。虽然现在已...
扫描右侧二维码阅读全文
21
2019/04

宝塔linux面板5.9本地化一键安装脚本

简介

据说宝塔面板5.9版本将在2020年1月1日停止支持。也就是到时候就没法安装5.9版本的宝塔面板了。虽然现在已经有6.x以上版本了,但是还是5.9好用!!!于是找了一下本地化的脚本(貌似只是 debian-ubuntu版本的),其实宝塔面板虽然没说开源,但是里面的代码都是没加密的。

本地化一键安装脚本:

wget -N --no-check-certificate -O install.sh https://github.com/wangzhe12588/bt59-local/raw/master/install/install-ubuntu.sh && bash install.sh

一键开心脚本 :

wget -N --no-check-certificate https://github.com/wangzhe12588/bt59-local/raw/master/install/bt_Creak.sh && chmod 755 bt_Creak.sh && bash bt_Creak.sh

该脚本仅仅是将原来的panel文件夹重命名为panel.bak ,再下载授权的panel文件,如果需要切回原版,仅需要将文件夹pane.bak恢复即可。panel的路径是/www/server/panel

执行完开心脚本之后,需要重新设置下宝塔后台密码

cd /www/server/panel && python tools.pyc panel passwd

passwd就是你准备设置的密码 。执行完显示的字符是当前宝塔的用户名,登陆宝塔面板之后在后台修改即可

有需要的同学可以顺便fork github项目:https://github.com/wangzhe12588/bt59-local

Last modification:April 21st, 2019 at 10:41 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment