Posts

Showing posts from 2017

How to install/upgrade openssl and compile ssl with apache.

Note: Apache httpd 2.4.x is compatible with openssl-1.0.x and not with higher. Download OpenSSL: https://www.openssl.org/source/openssl-1.0.2k.tar.gz 1) Install and Compile openssl source Extract it any where you want, Follow below command to compile openssl. --prefix=(this is to specify installation directory if not use it will install at default location) Command: ./config --prefix=/usr --openssldir=/usr/local/openssl shared make make install openssl installed sucessfully. 2) Compile openssl with apache or Install Apache with mod_ssl. Command: ./configure --prefix=/opt/httpd --enable-ssl --enable-so make make install openssl compiled with apache sucessfully.

How to install Apache (httpd-2.4.25) with Source

Today we will see how to perform source apache (httpd-2.4.25) installation. Reference:- http://httpd.apache.org/docs/2.4/install.html Pre-Requisites: Direct urls to download all pre-requisites 1) APR Download:  http://www-eu.apache.org/dist//apr/apr-1.5.2.tar.gz 2) APR-UTIL Download:  http://www-eu.apache.org/dist//apr/apr-util-1.5.4.tar.gz 3) PCRE Download:  ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.40.tar.gz 4) PCRE2 Download:  ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.23.tar.gz 5) OpenSSL Download:  ftp://openssl.org/source/openssl-1.0.2k.tar.gz 6) mod_jk Download:  http://www-us.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.42-src.tar.gz 7) Apache httpd Download: httpd.apache.org/download.cgi ===================================================================== Follow below steps to install apache2.4.x. 1) Install C and C++ compilers using yum. Command: yum install -...