OneTool助手搭建教程

搭建环境

系统环境:Ubuntu

  • 安装宝塔面板
1
wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec
  • PHP8.0或以上。
  • 添加新的站点,新建数据库,绑定域名。
  • 伪静态设置为thinkphp规则(替换为以下代码)
1
2
3
4
5
6
7
8
location ~* (runtime|application)/{
return 403;
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
  • 运行目录设置为public

搭建网站

疑难问题

问题一:有任务数量,但是没有运行次数并且运行时间为01-01 8:00

解决办法:

  1. 进入后台按照以下图片设置。image-20230702120631325

    image-20230702120909431

  2. 设置完后,进入宝塔面板按照图片进行设置。

image-20230702121151329