全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 819|回复: 5

[疑问] 当前如何安装宝塔面板5.9版本?

[复制链接]
发表于 2023-7-3 21:01:01 | 显示全部楼层 |阅读模式
官方那边好像没有安装的入口了,有大佬知道怎么搞吗?
发表于 2023-7-3 21:08:00 | 显示全部楼层
不好用,都换成mdserver了
发表于 2023-7-3 21:09:04 | 显示全部楼层
屎太龙 发表于 2023-7-3 21:08
不好用,都换成mdserver了

mdserver还不是很成熟。

正式生产环境,还是考虑其他的把。
发表于 2023-7-3 21:11:51 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2023-7-3 21:13:11 | 显示全部楼层
本帖最后由 Wine 于 2023-7-3 21:16 编辑

之前写的博客记录,MD格式复制下打开就行了,应该可以用。
好久没用5.9了,我看大家都在用高版本宝塔或其他面板

## 5.9开心版

### 手动破解

#### 1.安装官方免费脚本

```sh
# Centos安装命令:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
# Ubuntu/Deepin安装命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh
# Debian安装命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
# Fedora安装命令:
wget -O install.sh http://download.bt.cn/install/install.sh && bash install.sh
```

#### 2.升级到专业版

```sh
wget -O update.sh http://download.bt.cn/install/update_pro.sh && bash update.sh pro
```

#### 3.修改文件

        修改指定目录`/www/server/panel/class`下的`common.py`文件,定位到164行,将以下代码

```python
data = panelAuth.panelAuth ().get_order_status (None)
```

替换成

```python
data = {'status' : True,'msg' : {'endtime' : 32503651199 }}
```

#### 4.新建空文件

        在指定目录`/www/server/panel/data`新建空文件,文件命名为`userInfo.json`,如果存在该文件则删除覆盖.

```sh
echo > /www/server/panel/data/userInfo.json
```

#### 5.重启面板

```sh
# 输入命令重启面板,开心完成
/etc/init.d/bt restart

# 如果失败,则恢复免费版
wget -O update.sh http://download.bt.cn/install/update.sh && bash update.sh free
```

### 一键脚本

```sh
# 来源 https://github.com/leitbogioro/Crack_BT_Panel
# 安装
wget --no-check-certificate -qO crack_bt_panel_pro.sh https://git.io/fprzD && bash crack_bt_panel_pro.sh
# 卸载
wget --no-check-certificate -qO uninstall.sh https:git.io/JeuIm && bash uninstall.sh
```
 楼主| 发表于 2023-7-3 21:22:19 | 显示全部楼层
Wine 发表于 2023-7-3 21:13
之前写的博客记录,MD格式复制下打开就行了,应该可以用。
好久没用5.9了,我看大家都在用高版本宝塔或其他 ...

大佬给力啊,多谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-2-28 23:56 , Processed in 0.064257 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表