centos 7 编译mod_security

yum install gcc-c++ flex bison yajl yajl-devel curl-devel curl GeoIP-devel doxygen zlib-devel libtool bison libxml2 libxml2-devel pcre pcre-devel git -y
cd /opt/
git clone https://github.com/SpiderLabs/ModSecurity
cd ModSecurity
git checkout -b v3/master origin/v3/master
sh build.sh
git submodule init
git submodule update
./configure
make
make install

 

posted @ 2017-10-19 15:54  破冰Lab-Cookun  阅读(561)  评论(0编辑  收藏  举报