설치환경 centos5.11(x86) apache-2.0.65 modsecurity-2.5.11 mod_unique_id 설치 # /usr/local/src/httpd-2.0.65/modules/metadata # /usr/local/apache-2.0.65/bin/apxs -cia mod_unique_id.c 설치가 안되어 있을 경우 차단은 되지만 로그가 남지 않음 apr설치 wget http://apache.mirror.cdnetworks.com/apr/apr-1.7.0.tar.gz ./configure --prefix=/usr/local/apr make && make install apr-util설치 wget http://apache.mirror.cdnetworks.com/apr/apr-util-1..

apr설치 # wget http://apache.mirror.cdnetworks.com/apr/apr-1.7.0.tar.gz # ./configure --prefix=/usr/local/apr # make && make install 에러 rm: cannot remove 'libtoolT': No such file or directory 해결 cp -arp libtool libtoolT하면 해결됨 apr-util설치 # wget http://apache.mirror.cdnetworks.com/apr/apr-util-1.6.1.tar.gz # ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr # make && make install pc..
설치환경 centos8 설치 # yum install httpd mod_ssl httpd-devel httpd-tools dav_module (shared) dav_fs_module (shared) dav_lock_module (shared) 위 3개 모듈이 활성화 되어 있어야함 # 데이터 폴더 생성 및 권한 설정 # mkdir /home/test/webdav # chmod 755 /home/test/webdav # chown apache.apache /home/test/webdav # 계정생성 및 권한 설정 # htpasswd -c /etc/httpd/.htpasswd test # chown root:apache /etc/httpd/.htpasswd # chmod 640 /etc/httpd/.htpas..
# wget https://prdownloads.sourceforge.net/awstats/awstats-7.7.tar.gz https://awstats.sourceforge.io/#DOWNLOAD AWStats - Open Source Log File Analyzer for advanced statistics (GNU GPL) [What is AWStats] [Demo] [Features] [Downloads] [Documentation / FAQ] [Comparison] [AWStats Project/Development] What is AWStats AWStats is a free powerful and featureful tool that generates advanced web, streamin..

일일 트래픽 계산 cat | grep '11/May' | awk '{sum = sum + $10} END {printf ("%f\n", sum/1073741824)}'