Mod Security
第二章
影片支援:https://youtu.be/_jfncEco-mc
1. 前置作業
測試環境
CentOS Linux release 7.2.1511
($ cat /etc/redhat-release
)
先確認有裝yum
$ yum --version
更新yum
$ sudo yum update
2. 安裝伺服器
安裝瀏覽器(測試用)
ref: http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/
$ sudo vim /etc/yum.repos.d/google-chrome.repo
|
|
$ yum info google-chrome-stable
$ sudo yum install google-chrome-stable
安裝 Apache
$ yum install httpd
$ systemctl start httpd
3. 安裝 Mod Security
$ sudo yum install mod_security
結束~