注意事项
NGINX 1.12,也可以用最新的版本,但不建议
Mysql 5.7
Php 不支持7.2以上的版本。用7.2以上的版本会有各种报错 (本人用的7.2)
一定要在配置文件中添加代码。未添加会造成网站404错误
安装完成后默认为英文。点击用户名—setting—Language 修改中文。
-
下载chevereto程序
https://github.wuyanzheshui.workers.dev/Chevereto/Chevereto-Free/archive/1.3.0.zip
github地址为:https://github.com/jing5460/Chevereto-Free
Github官方地址: https://github.com/Chevereto/Chevereto-Free
-
安装cheverto
1、上传安装包
2、解压Chevereto-Free到网站根目录,并赋予权限 ( 以api.youte.ml为例 )
chown www:www -R /www/wwwroot/api.youte.ml
3、创建settings.php文件
在/www/wwwroot/api.youte.ml/app目录新建settings.php文件并给予可写入权限:
Cd /www/wwwroot/api.youte.ml/app
touch settings.php
chmod -R 777 settings.php
3、修改网站配置文件,如:/www/server/panel/vhost/nginx/api.youte.ml.conf
添加
location / { try_files $uri $uri/ /index.php?$query_string; }

在最后一行添加即可;
- 重启nginx
Nginx -s reload
访问网站开始安装
直接输入域名: api.youte.ml (输入自己的)

