Upgrade the Apache web server on Spider Oracle Database Suite Datacenter appliance (eRunbook)
This article will guide you through updating the Apache web server on the Spider Oracle Database Suite Datacenter appliance, also known as eRunbook. This article assumes you have the latest version of Datacenter Appliance installed, version 12.4.1, and you’re running on Ubuntu/Debian.
Instructions
- Install the prerequisite libraries for Apache 2.4.56
Download and install sources for PCRE from https://github.com/PCRE2Project/pcre2/releases/
$ mkdir $NOVAHOME/software/additional/PCRE/ $ cd $NOVAHOME/software/additional/PCRE/ $ wget https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.42/pcre2-10.42.tar.bz2 --no-check-certificate $ tar xvjf pcre2-10.42.tar.bz2 $ cd pcre2-10.42/ $ ./configure --prefix=/usr/local/pcre/10_42 $ make $ make install
Download and install sources for expat from https://libexpat.github.io/
$ mkdir $NOVAHOME/software/additional/expat/ $ cd $NOVAHOME/software/additional/expat/ $ wget https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.bz2 --no-check-certificate $ tar xvjf expat-2.5.0.tar.bz2 $ cd expat-2.5.0/ $ ./configure --prefix=/$NOVAHOME/software/additional/expat/ $ make $ make install
Download and install sources for Apache APR from https://apr.apache.org/download.cgi
$ mkdir $NOVAHOME/software/additional/apr/ $ cd $NOVAHOME/software/additional/apr/ $ wget https://dlcdn.apache.org//apr/apr-1.7.3.tar.gz --no-check-certificate $ tar xvjf apr-1.7.3.tar.gz $ cd apr-1.7.3/ $ ./configure $ make $ make install
Download and install sources for Apache APR-util from https://apr.apache.org/download.cgi
$ mkdir $NOVAHOME/software/additional/apr-util/ $ cd $NOVAHOME/software/additional/apr-util/ $ wget https://dlcdn.apache.org//apr/apr-util-1.6.3.tar.gz --no-check-certificate $ tar xvjf apr-util-1.6.3.tar.gz $ cd apr-util-1.6.3/ $ ./configure $ make $ make install
- Install Apache 2.4.56
Download and install sources for Apache 2.4.56 from https://httpd.apache.org/download.cgi
$ mkdir $NOVAHOME/software/additional/apache-2.4.56/ $ cd $NOVAHOME/software/additional/apache-2.4.56/ $ wget https://dlcdn.apache.org/httpd/httpd-2.4.56.tar.gz --no-check-certificate $ gzip -d httpd-2.4.56.tar.gz $ tar xvf httpd-2.4.56.tar $ cd httpd-2.4.56 $ mkdir $NOVAHOME/software/additional/apache-2.4.56/httpd-2.4.56/srclib/apr $ cp /$NOVAHOME/software/additional/apr/apr-1.7.3/. /$NOVAHOME/software/additional/apache-2.4.56/httpd-2.4.56/srclib/apr $ mkdir $NOVAHOME/software/additional/apache-2.4.56/httpd-2.4.56/srclib/apr-util $ cp /$NOVAHOME/software/additional/apr-util/apr-util-1.6.3/. /$NOVAHOME/software/additional/apache-2.4.56/httpd-2.4.56/srclib/apr-util $ ./configure --prefix=$NOVAHOME/software/additional/httpd/ --with-included-apr --with-expat=/$NOVAHOME/software/additional/expat/expat-2.5.0/ $ make $ make install
- You can check which version of Apache is running with the following command:
$ httpd -V
This will show you the installed version of Apache.