February 2016
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
29  

Categories

February 2016
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
29  

Install tomcat and Apache centos 7

yum install gcc-c++

yum install openssl-devel.x86_64

cd /usr/local/src

wget http://mirror.nus.edu.sg/apache//httpd/httpd-2.4.18.tar.gz wget http://ftp.ps.pl/pub/apache//apr/apr-1.5.2.tar.gz wget http://ftp.ps.pl/pub/apache//apr/apr-util-1.5.4.tar.gz

tar xvfz apr-1.5.1.tar.gz

tar xvfz apr-util-1.5.3.tar.gz

tar xvfz httpd-2.4.18.tar.gz

tar xvf pcre-8.35.tar.bz2

cd /usr/local/src/apr-1.5.1

./configure –prefix=/usr/local/apr

make

make install

cd /usr/local/src/apr-util-1.5.3

./configure –prefix=/usr/local/apr-util –with-apr=/usr/local/apr

make

make install

cd /usr/local/src/pcre-8.35

./configure –prefix=/usr/local

make

make install

cd /usr/local/src/httpd-2.4.18

./configure –prefix=/usr/local/apache \

–enable-rule=SHARED_CORE \

[…]

Harden the Apache Web Server on CentOS 7

Harden the Apache Web Server on CentOS 7

[root@clusterserver1 conf]# yum install httpd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.vodien.com * epel: mirrors.hustunique.com * extras: mirror.vodien.com * updates: mirror.vodien.com Resolving Dependencies –> Running transaction check —> Package httpd.x86_64 0:2.4.6-40.el7.centos will be installed –> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================== Package […]