개발모음집

goaccess install on ubuntu16.04 본문

Server

goaccess install on ubuntu16.04

void 2018. 8. 30. 12:12

설치



wget https://tar.goaccess.io/goaccess-1.2.tar.gz

tar -xzvf goaccess-1.2.tar.gz

cd goaccess-1.2/

apt-get install build-essential

apt-get install libgeoip-dev

apt-get install libncurses5-dev

 apt-get install libncursesw5-dev

 ./configure --enable-utf8 --enable-geoip=legacy

make

make install



실행 방법


1. 실시간

# goaccess /var/log/nginx/access.log -o /ngnix/web_front/report.html --log-format=COMBINED --real-time-html

2. 명령어 입력 시간 기준

# goaccess /var/log/nginx/access.log --log-format=COMBINED -a -o /nginx/web_front/admin.html