Update readme to use shell syntax

This commit is contained in:
Brandon Myers 2015-12-29 15:19:15 -05:00
parent decf04d264
commit ebf2c88556

View File

@ -48,7 +48,8 @@ As a dynamic library, dont forget that libmodsecurity must be installed to a
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/). 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 doxygen ```shell
$ sudo dnf install gcc-c++ flex bison curl-devel curl yajl yajl-devel GeoIP-devel doxygen
$ cd /opt/ $ cd /opt/
$ git clone https://github.com/SpiderLabs/ModSecurity $ git clone https://github.com/SpiderLabs/ModSecurity
$ cd ModSecurity $ cd ModSecurity
@ -65,7 +66,8 @@ $ cd /opt/
$ wget http://nginx.org/download/nginx-1.9.2.tar.gz $ wget http://nginx.org/download/nginx-1.9.2.tar.gz
$ tar -xvzf nginx-1.9.2.tar.gz $ tar -xvzf nginx-1.9.2.tar.gz
$ yum install zlib-devel $ yum install zlib-devel
$ ./configure --add-module=/opt/ModSecurity-nginx``` $ ./configure --add-module=/opt/ModSecurity-nginx
```
On unix the project uses autotools to help the compilation process. On unix the project uses autotools to help the compilation process.