说在前边的话
最近想自己搭建一个博客站点的统计分析平台,综合下来选择了 Matomo
。具体安装部署步骤下文会详细介绍,需要的朋友可以参考下。
欢迎屏幕
第一步
打开 Web 浏览器并导航到您上传 Matomo
的URL。如果一切都正确上传,您应该看到 Matomo
安装欢迎屏幕。
![图2](https://cdn.drixn.com/img/src/matomo-003.jpg)
第二步
如果出现以下权限错误,请按照提示修改文件夹权限
![图2](https://cdn.drixn.com/img/src/matomo-001.jpg)
![图2](https://cdn.drixn.com/img/src/matomo-002.jpg)
系统检查
![图2](https://cdn.drixn.com/img/src/matomo-004.jpg)
![图2](https://cdn.drixn.com/img/src/matomo-005.jpg)
启用 shell_exec
打开 php.ini
,定位到 disable_functions
,找到 shell_exec
,删除 shell_exec
字段即可
![图2](https://cdn.drixn.com/img/src/matomo-006.jpg)
最后如下图所示
![图2](https://cdn.drixn.com/img/src/matomo-007.jpg)
重启 php-fpm
服务
1
|
service php-fpm restart
|
![图2](https://cdn.drixn.com/img/src/matomo-008.jpg)
其他问题按照相应提示操作即可
系统检查完成
![图2](https://cdn.drixn.com/img/src/matomo-010.jpg)
![图2](https://cdn.drixn.com/img/src/matomo-009.jpg)
数据库设置
![图2](https://cdn.drixn.com/img/src/matomo-011.jpg)
![图2](https://cdn.drixn.com/img/src/matomo-013.jpg)
超级用户
![图2](https://cdn.drixn.com/img/src/matomo-014.jpg)
设置网站
![图2](https://cdn.drixn.com/img/src/matomo-015.jpg)
跟踪代码
![图2](https://cdn.drixn.com/img/src/matomo-016.jpg)
设置完成
![图2](https://cdn.drixn.com/img/src/matomo-017.jpg)
登录
![图2](https://cdn.drixn.com/img/src/matomo-018.jpg)
概览
![图2](https://cdn.drixn.com/img/src/matomo-020.jpg)
手动升级新版本
备份config/config.ini.php
,下载Matomo
升级包解压覆盖然后再上传备份的config/config.ini.php
覆盖即可!
![图片[1]-使用 Matomo 搭建网站统计分析站点-就叫大白白](https://oss.drixn.com/2018/03/20241108171241707.png?imageView2/0/format/webp/q/75|watermark/1/image/aHR0cHM6Ly9pbWcuZHJpeG4uY29tLzIwMjMwNjI3LzcwYTFmZDQxZDllZWMucG5n/dissolve/30/gravity/SouthEast/dx/10/dy/10)
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容