Created
April 5, 2017 13:35
-
-
Save AnoopAlias/40625d404078f21312a930b9ee19e81b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Author: Anoop P Alias | |
##Vars | |
MODSEC_VERSION="3.0" | |
MODSEC_RPM_ITER="1.el7" | |
rm -rf /opt/libmodsec ModSecurity | |
yum install gcc-c++ flex bison yajl yajl-devel curl-devel curl GeoIP-devel doxygen zlib-devel pcre-devel | |
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 --prefix=/opt/nDeploy-libmodsecurity | |
make DESTDIR=/opt/libmodsec install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment