Playback starts YouTube’s embedded player (privacy-enhanced mode).
How To install Mod Security on Nginx web server for Centos 7.3
ChannelQuick Notepad TutorialDescription from the creator
ModSecurity is an open source web application firewall (WAF) module which is great for protecting Apache, Nginx, and IIS from various cyber attacks that target potential vulnerabilities in various web applications.
ModSecurity is a toolkit for real-time web application monitoring, logging, and access control.
cat /etc/redhat-release ; hostname ;hostname -I ;sestatus
yum groupinstall -y "Development Tools"
yum install gcc make automake autoconf libtool pcre pcre-devel libxml2 libxml2-devel curl curl-devel httpd-devel zlib-devel gcc-c++ cmake unzip wget openssl openssl-devel -y
wget nginx.org/download/nginx-1.8.0.tar.gz
wget modsecurity.org/tarball/2.9.1/modsecurity-2.9.1…
tar xvzf nginx-1.8.0.tar.gz
tar xvzf modsecurity-2.9.1.tar.gz
cd modsecurity-2.9.1
./configure --enable-standalone-module
make
cd nginx-1.8.0
./configure \
--user=nginx \
--group=nginx \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--add-module=../modsecurity-2.9.1/nginx/modsecurity
make
make install
-----------------------------------------------------------------------------------------------------------
ModSecurity is a toolkit for real-time web application monitoring, logging, and access control.
cat /etc/redhat-release ; hostname ;hostname -I ;sestatus
yum groupinstall -y "Development Tools"
yum install gcc make automake autoconf libtool pcre pcre-devel libxml2 libxml2-devel curl curl-devel httpd-devel zlib-devel gcc-c++ cmake unzip wget openssl openssl-devel -y
wget nginx.org/download/nginx-1.8.0.tar.gz
wget modsecurity.org/tarball/2.9.1/modsecurity-2.9.1…
tar xvzf nginx-1.8.0.tar.gz
tar xvzf modsecurity-2.9.1.tar.gz
cd modsecurity-2.9.1
./configure --enable-standalone-module
make
cd nginx-1.8.0
./configure \
--user=nginx \
--group=nginx \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--add-module=../modsecurity-2.9.1/nginx/modsecurity
make
make install
-----------------------------------------------------------------------------------------------------------
About this tutorial
Quick Notepad Tutorial published this 6:51 video tutorial on November 10, 2017. It has been watched 2,752 times on YouTube.
- Channel
- Quick Notepad Tutorial
- Category
- Howto & Style
- Duration
- 6:51
- Published
- November 10, 2017
- Views
- 2,752
- Likes
- 6
Tags
Share
This tutorial in other languages
- FRComment faire pour installer la sécurité Mod sur le serveur web Nginx pour Centos 7.3
- ESCómo instalar el Mod de seguridad en el servidor web Nginx para CentOS 7.3
- PTComo instalar o Mod segurança no servidor web Nginx para Centos 7.3
- ITCome installare Mod Security sul server web Nginx per CentOS 7.3
- DEHow To Mod Sicherheit auf Nginx Web-Server für Centos 7.3 installieren
- NLHow To Mod Security op Nginx web server te installeren voor CentOS 7.3
- RUКак установить Mod Security на веб-сервере Nginx для Centos 7.3
- PLJak zainstalować Mod Security na serwerze WWW Nginx dla Centosu 7.3
- JACentOSに7.3用のnginxのWebサーバー上のModのセキュリティをインストールする方法
- ARكيفية تثبيت الأمن وزارة الدفاع على خادم الويب إنجن إكس لسينت أو إس 7.3
- HICentos 7.3 के लिए Nginx वेब सर्वर पर मॉड सुरक्षा स्थापित करने के लिए कैसे
- IDCara menginstal Mod Security di web server Nginx untuk Centos 7.3