当前位置:Gxlcms > 数据库问题 > Nginx GoAccess安装与配置

Nginx GoAccess安装与配置

时间:2021-07-01 10:21:17 帮助过:47人阅读

$ wget https://github.com/maxmind/geoip-api-c/releases/download/v1.6.12/GeoIP-1.6.12.tar.gz

2、解压缩

$ tar -xzvf GeoIP-1.6.11.tar.gz

3、进入该目录编译并安装

$ cd GeoIP-1.6.11
$ ./configure
$ make

4、安装ncurses

sudo yum install ncurses-devel //或者下载 https://ftp.gnu.org/pub/gnu/ncurses/

5、下载并安装GoAccess goaccess.io网址查看下载办法

6、启动goaccess

$ goaccess access.log -o ../html/report.html --real-time-html --time-format=%H:%M:%S --date-format=%d/%b/%Y --log-format=COMBINED

 

 

 

 

 

Nginx GoAccess安装与配置

标签:12px   eal   查看   .gz   tar.gz   安装   com   none   bin   

人气教程排行