March 2013
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

March 2013
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

ssh fash login trick

Edit /etc/ssh/sshd_config and add the following line:

UseDNS no 😎 it will be faster compare to before.

Install the (ModSecurity) centos fedora redhat

Install the (ModSecurity)

cd /usr/local/src/

wget http://www.modsecurity.org/tarball/2.7.2/modsecurity-apache_2.7.2.tar.gz

tar -zxvf modsecurity-apache_2.7.2.tar.gz

cd modsecurity-apache_2.7.2

./configure

configure: *** pcre library not found.configure: error: pcre library is required

 

yum -y update pcre

additional package dependencies.yum -y install pcre-develyum -y install libxml2yum -y install libxml2-devel

mod_unique_id need to use mod_security

cd /software/httpd-2.24/modules/metadata

/Usr/local/apache2/bin/apxs -cia Mod_unique_id.C

cd /software/httpd-2.24/Srclib/apr./configuremakemake install

cd […]