共计 438 个字符,预计需要花费 2 分钟才能阅读完成。
最近架设的网站有点多,想用自己的统计方式来统计网站流量,就找到了免费开源的 Matomo。
Matomo 基于 PHP 和 MYSQL,有台利用率低的服务器正好用来部署,也免去了再次安装的麻烦。
下面是下载地址和官方安装手册,以备参考使用。
https://builds.matomo.org/matomo-latest.zip
https://matomo.org/docs/installation/
建立安装目录,开始下载安装包
$ mkdir matomo
$ cd matomo
$ wget https://builds.matomo.org/matomo-latest.zip
$ unzip matomo-latest.zip
$ chown -R nginx:nginx ./matom

如果想用域名访问那就是配置好 DNS 解析,不想用域名那就直接配置 nginx,利用 IP 地址访问。
另外还可配置上 https 等等。
可以直接选择语言。

系统检查

配置数据库

建立数据库

配置管理员
后面就是添加网站及使用了,具体的使用请考虑官网。
正文完