-
Goaccess分析日志
Friday, July 27, 2018
首先是安装goaccess # yum -y install glib2 glib2-devel ncurses ncurses-devel GeoIP GeoIP-devel # wget http://tar.goaccess.io/goaccess-1.2.tar.gz # tar -xzvf goaccess-1.2.tar.gz # cd goaccess-1.2/ # ./configure --prefix=/usr/local/goaccess --enable-utf8 --enable-geoip` 或者 `./configure --enable-utf8 --enable-geoip=legacy # make && make install 然后是脚本 #!/bin/bash export LANG="en_US.UTF-8" yesterday=`date -d '-1 day' +%d/%b/%Y` cat /data/3.x/logs/006-nginx/access.log |grep $yesterday > /home/wwwlog/awstats/access.log cat /home/wwwlog/awstats/access.log |grep…
-
Lvm磁盘管理
Saturday, July 14, 2018
使用gdisk工具,如果没有,则yum -y install gdisk …