一、安装宝塔linux面板
1、宝塔linux面板官网:https://baota.yingxunszcm.cn/
2、安装宝塔linux面板,使用万能安装脚本
if [ -f /usr/bin/curl ];then curl -sSO download.cnnbt.net/install_panel.sh;else wget -O install_panel.sh download.cnnbt.net/install_panel.sh;fi;bash install_panel.sh ed8484bec
二、安装所需软件
1、各软件版本:nginx1.22+mysql8.0+php7.0

2、设置安装好的软件首页显示

三、下载phpems8.0
1、phpems8.0下载地址:https://phpems.net/
2、上传到宝塔面板kaoshi目录下

四、添加数据库并导入数据
1、添加数据库

2、导入数据
-
phpems解压后找到pe8.sql文件,点击数据库导入按钮,如图
五、修改配置文件lib/config.inc.php,填写数据库相关配置

六,修改目录权限 data和file/attach目录权限设置为777
七、添加站点

八、点击首页nginx并启动

九、访问站点地址即可
十、常见问题处理
1、JS中限制了上传文件大小,分别在files/public/js/pe.app.js,pe.master.js,pe.mobile.js,打开后搜索 204800,如下图:

2、忘记登录地址

3、意外关机导致mysql无法启动
[root@localhost mysql]# rm -f /www/server/data/ib_logfile0
[root@localhost mysql]# rm -f /www/server/data/ib_logfile1
重启mysql服务
转载
作者:xlgao
链接:https://www.jianshu.com/p/7af20243d4ea
来源:简书