Make sure yum is active on the server.
Install the following packages on the machine.
yum install gcc
yum install glibc-devel
yum install gcc-c++
yum install compat-libstdc++-33
yum install libstdc++-devel
yum install elfutils-libelf-devel
yum install libaio-devel
yum install sysstat
yum install zlib-devel*
yum install openssl-devel.x86_64
Download is available at below location https://www.openssl.org/source/
Extract it at a location
Execute the below command one by one to configure it:
cd openssl-1.0.2a
./config –prefix=/usr/local/openssl -shared -fPIC –openssldir=/usr/local/openssl/
make
make test
make install
This will guide to install/configure the Apache HTTPD with Open SSL and other required modules.
Download is available at below location http://httpd.apache.org
Extract it at a location
tar zvfx httpd-2.2.31.tar.gz
cd httpd-2.2.31
Execute the below command to install it with modules:
./configure –prefix=/usr/local/apache2/ –enable-so –enable-ssl=shared –with-ssl=/usr/local/openssl/ –enable-rewrite –enable-proxy –enable-modules=”all ssl proxy” –enable-mods-shared=all –with-included-apr
make
make install
Test the installation with below command:
/usr/local/apache2/bin/apachectl -k start
Install the following packages on the machine.
yum install gcc
yum install glibc-devel
yum install gcc-c++
yum install compat-libstdc++-33
yum install libstdc++-devel
yum install elfutils-libelf-devel
yum install libaio-devel
yum install sysstat
yum install zlib-devel*
yum install openssl-devel.x86_64
Installing Open SSL
Download is available at below location https://www.openssl.org/source/
Extract it at a location
Execute the below command one by one to configure it:
cd openssl-1.0.2a
./config –prefix=/usr/local/openssl -shared -fPIC –openssldir=/usr/local/openssl/
make
make test
make install
Installing Apache HTTPD
This will guide to install/configure the Apache HTTPD with Open SSL and other required modules.
Download is available at below location http://httpd.apache.org
Extract it at a location
tar zvfx httpd-2.2.31.tar.gz
cd httpd-2.2.31
Execute the below command to install it with modules:
./configure –prefix=/usr/local/apache2/ –enable-so –enable-ssl=shared –with-ssl=/usr/local/openssl/ –enable-rewrite –enable-proxy –enable-modules=”all ssl proxy” –enable-mods-shared=all –with-included-apr
make
make install
Test the installation with below command:
/usr/local/apache2/bin/apachectl -k start
No comments:
Post a Comment