mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Updated build instructions for Fedora
This commit is contained in:
parent
9cd9f7f11e
commit
84eba7ad1a
21
README.md
21
README.md
@ -46,9 +46,26 @@ As a dynamic library, don’t forget that libmodsecurity must be installed to a
|
||||
|
||||
### Unix (Linux, MacOS, FreeBSD, …)
|
||||
|
||||
Several individuals have been building the project on Fedora (22 or later). We were able to get it to build using the following packages. These packages have no been thoroughly tested yet so compile at your own risk.
|
||||
Several individuals have been building the project on Fedora (22 or later) succesfully. We were able to get it to build using the following packages. These packages have no been thoroughly tested yet so compile at your own risk. You may have to manually link the generated ModSecurity library file location if it is not put into a location that is in your path (export LD_LIBRARY_PATH=/usr/local/modsecurity/lib/).
|
||||
|
||||
```sudo dnf install gcc-c++ flex bison curl-devel curl yajl yajl-devel GeoIP-devel```
|
||||
```$ sudo dnf install gcc-c++ flex bison curl-devel curl yajl yajl-devel GeoIP-devel
|
||||
$ cd /opt/
|
||||
$ git clone https://github.com/SpiderLabs/ModSecurity
|
||||
$ cd ModSecurity
|
||||
$ git checkout libmodsecurity
|
||||
$ sh build.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
$ make install
|
||||
$ cd /opt/
|
||||
$ git clone https://github.com/SpiderLabs/ModSecurity-nginx
|
||||
$ cd /opt/Modsecurity-nginx
|
||||
$ git checkout experimental
|
||||
$ cd /opt/
|
||||
$ wget http://nginx.org/download/nginx-1.9.2.tar.gz
|
||||
$ tar -xvzf nginx-1.9.2.tar.gz
|
||||
$ yum install zlib-devel
|
||||
$ ./configure --add-module=/opt/ModSecurity-nginx```
|
||||
|
||||
On unix the project uses autotools to help the compilation process.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user