安装需要内存1G+以上,PHP 版本 8.1 (安装whmcs wordpress的时候省的换版本),需安装 fileinfo、exif、imagemagick 扩展。

更新系统中的包列表:
sudo apt update

安装ExifTool
sudo apt install libimage-exiftool-perl
验证安装:
exiftool -ver

安装 exiftran
sudo apt install exiftran
安装完成后,你可以通过运行以下命令来验证是否正确安装:
exiftran -h

安装 ffmpeg
sudo apt install ffmpeg
验证安装:
ffmpeg -version

  1. Something went wrong

Please try again later. If the problem persists don't hesitate to contact the system administrator.

打开软件商店 PHP 8.1 删除禁用函数 putenv、proc_open

设置伪静态
网站设置 网站目录 伪静态,复制Chevereto目录中的nginx.txt设置伪静态。

location ~* /(importing|app|content|lib)/.*\.(po|php|lock|sql)$ {
    deny all;
}
location ~ \.(jpe?g|png|gif|webp)$ {
    log_not_found off;
    error_page 404 /content/images/system/default/404.gif;
}
location ~* /.*\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
    add_header Access-Control-Allow-Origin "*";
}
location / {
    index index.php;
    try_files $uri $uri/ /index.php$is_args$query_string;
}
  1. ExifTool binary not found at specified path
    ExifTran binary not found at specified path
    FFmpeg binary not found at specified path
    FFprobe binary not found at specified path

open_basedir: /www/wwwroot/img.qwesd.com/:/tmp/ open_basedir

网站设置 网站目录 关闭防跨站攻击open_basedir
网站app/env.php文件中,添加

'CHEVERETO_BINARY_FFMPEG' => '/usr/bin/ffmpeg',
'CHEVERETO_BINARY_FFPROBE' => '/usr/bin/ffprobe',
'CHEVERETO_BINARY_EXIFTOOL' => '/usr/bin/exiftool',
'CHEVERETO_BINARY_EXIFTRAN' => '/usr/bin/exiftran',
  1. The command "'/usr/bin/exiftool' '-ver'" failed. Exit Code: 127(Command not found) Working directory: /www/wwwroot/img.qwesd.com Output: ================ Your request has been recorded. Tips from BT security !!! Error Output: ================ sh: line 1: /usr/bin/exiftool: cannot execute: required file not found

FFprobe bin: /usr/bin/ffprobe
ffmpeg failed to execute command '/usr/bin/ffmpeg' '-version': Error Output: sh: line 1: /usr/bin/ffmpeg: cannot execute: required file not found

关闭堡塔防入侵插件设置白名单,堡塔防入侵 管理设置 添加白名单 /usr/bin/exiftool /usr/bin/ffmpeg
有些图片上传不成功报错Something went wrong ID带一串数字,全是堡塔防入侵插件的锅,查看命令日志查看复制路径添加白名单/usr/bin/exiftran /usr/bin/php81
4.CRON — 未运行
设置宝塔计划任务
任务类型原则“shell 脚本”
任务名称任意
执行周期设置为每5分钟
执行用户为root
脚本内容设置如下

sudo -u www php81 /www/wwwroot/img.qwesd.com/app/bin/cli -C cron

执行查看日志有没有错误,如果还是无效试试官方命令。
创建一个cron.d 文件每5分钟运行一次。路径复制你的网站目录改成你自己的

cat >/etc/cron.d/chevereto <<EOM
*/5 * * * * www-data php /var/www/html/app/bin/cli -C cron
EOM

以 www-data 用户身份测试命令是否有效:

sudo -u www-data php /www/wwwroot/img.qwesd.com/app/bin/cli -C cron

出现错误提示

vdd()
------------------------------------------------------------
/www/wwwroot/img.qwesd.com/app/legacy/load/integrity-check.php:187

1: array (size=3)
 0 => string No write permission for PHP user www in <code>/images/</code> directory. Chevereto needs to be able to write in this directory. (length=127)
 1 => string No write permission for PHP user www in <code>/content/</code> directory. Chevereto needs to be able to write in this directory. (length=128)
 2 => string No write permission for PHP user www in <code>/app/content/</code> directory. Chevereto needs to be able to write in this directory. (length=132)
------------------------------------------------------------

根据错误提示,问题是由于PHP用户www在/images/、/content/和/app/content/目录下没有写入权限导致的。Chevereto需要能够对这些目录进行写入操作。把www-data改成root运行成功。

套了CF网站无法访问444。打开宝塔nginx防火墙 > 站点配置 > 状态 ,关了就能访问了。
CloudFlare 522 宝塔面板打开Nginx防火墙,网站防护 勾上 用了CDN。

要正确显示并控制360度全景图像,需满足以下条件:首先确保图像宽高比为2:1(例如2000×1000像素)以实现球形映射。其次,必须通过元数据标记图像属性:在XMP元数据中添加ProjectionType: equirectangular字段,或直接在数据库中将image_is_360设为1。

数据库找到images找到要显示360度全景的图像,打开编辑拉到最下面倒数第二个找到image_is_360,把后面0改成1执行。
参考:https://blog.oldcats.cn/646.html
参考:https://blog.oldcats.cn/294.html
参考:https://catcat.blog/chevereto-v4-pro-install.html

最后修改:2025 年 10 月 06 日
如果觉得我的文章对你有用,请随意赞赏