最新版:Chevereto-Free(图床)搭建

一只鱼 2年前 (2020) 一只鱼
5,365 0
  • 示例

  • 最新版:Chevereto-Free(图床)搭建
  • 环境准备LNMP/LAMP

注意事项

NGINX  1.12,也可以用最新的版本,但不建议

Mysql   5.7

Php     不支持7.2以上的版本。用7.2以上的版本会有各种报错  (本人用的7.2)

一定要在配置文件中添加代码。未添加会造成网站404错误

安装完成后默认为英文。点击用户名—setting—Language 修改中文。

 

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;

}
最新版:Chevereto-Free(图床)搭建

在最后一行添加即可;

  1. 重启nginx

Nginx -s reload

访问网站开始安装

直接输入域名: api.youte.ml  (输入自己的)

最新版:Chevereto-Free(图床)搭建最新版:Chevereto-Free(图床)搭建

点击安装,如果没有报错,就完成搭建!!!

版权声明:一只鱼 发表于 2020-11-12 6:40:50。
转载请注明:最新版:Chevereto-Free(图床)搭建 | 轻谈浅唱 – Mi导航

暂无评论

暂无评论...