6.1 Installing Apache 2.0.43 on Red Hat Linux 8

The iFolder 2.1 installation program ifolder2.1-linux.tgz includes a binary distribution of Apache Web Server 2.0.43.

  1. If Apache Web Server is installed on your Red Hat Linux 8 server, uninstall it by removing the related program files. For example, at the command prompt enter

    rm -rf /usr/local/apachex
    

    where apachex is the directory that contains Apache program files.

  2. Go to the directory where you downloaded the installation program ifolder2.1-linux.tgz.

    For example, at the command prompt, enter

    cd <path to download location>

  3. To unpack the compressed TAR file, at the command prompt, enter

    tar -zxvf ifolder2.1-linux.tgz

    This creates the following directories and files:

    • ifolder2.1-linux/
      • ifolder2.1-install-linux
    • ifolder2.1-linux/apache2-linux/
      • gencerts.sh
      • httpd‑2.0.43‑i686‑pc‑linux‑gnu.readme
      • httpd-2.0.43-i686-pc-linux-gnu.tar.gz
  4. To unpack the Apache software, at the server prompt, enter

    cd ifolder2.1-linux/apache2-linux/
    
    tar zxfv httpd-2.0.43-i686-pc-linux-gnu.tar.gz
    
  5. To install Apache 2.0.43, at the command prompt, enter

    cd httpd-2.0.43
    
    ./install-bindist.sh
    

    This installs Apache 2.0.43 in /usr/local/apache2.

  6. Edit the /usr/local/apache2/conf/httpd.conf file to add the following line at the end of the file:

    include /usr/local/ifolder/Server/httpd_ifolder_unix.conf
    

    The httpd_ifolder_unix.conf file contains the iFolder server settings.

  7. Start Apache by doing one of the following:

    • For clear text, at the command prompt, enter
      /usr/local/apache2/bin/apachectl start
      
    • For SSL, at the command prompt, enter
      /usr/local/apache2/bin/apachectl startssl