1. 环境准备

  • 宝塔面板
  • PHP 7.4
  • MySQL 5.7 / 8 或 MariaDB 10
  • Apache HTTP Web Server 或 Nginx

2. 下载

中文修改版: https://github.com/rodber/chevereto-free/releases

官方原版: https://github.com/chevereto/chevereto/releases

3. 伪静态

在安装之前需要先设置伪静态,代码如下:

location ~ /(app|content|lib|importer)/.*\.(po|php|lock|sql|txt)$ {
    deny all;
}
# Enable CORS header (needed for CDN)
location ~* \.(ttf|ttc|otf|eot|woff|woff2|css|js)$ {
    add_header Access-Control-Allow-Origin "*";
}
# Force serve upload path as static content (match your upload folder if needed)
location /images {}
# Route dynamic request to index.php
location / {
    try_files $uri $uri/ /index.php$is_args$query_string;
}

4. 安装

浏览器打开你的域名访问,开始安装。

Chevereto 图床上传大图片提示 Internal Server Error

设置 PHP 参数

max_execution_time
max_input_time
memory_limit
post_max_size
upload_max_filesize

把这些值调大一些,然后重启 PHP。

邮件模板

支持

  1. 账号更换邮箱
  2. 新账户注册验证
  3. 账户重置密码
  4. 新用户注册欢迎
  5. 更改邮件模板头图

上传邮件模板文件至 Chevereto /app/themes/Peafowl/mails文件目录下即可,或者直接替换掉mails目录亦可

文件: https://lsy22.lanzouf.com/i9crn0u8anhe

最后修改:2024 年 06 月 27 日
如果觉得我的文章对你有用,请随意赞赏
版权声明 博客名称: lsy的小站
本文链接: https://lsy22.com/16.html
内容来源: 部分内容可能来源于公共网络,仅供学习交流,如有侵权,请联系博主进行核实删除。
转载说明: 请勿用于商业用途,转载请注明出处!