UNIX: Installing the Apache Web Server  

Prerequisites

Unpacking the Apache Web Server Software
you are logged on with the
root user.

Conventions

Variables, Operating System Architecture

Procedure

  1. Go to the directory apache_<version> .
  2. Prepare to translate the Apache Web Server software. Enter the following command:
    ./configure --prefix=<installation_path_apache> --enable-rule=SHARED_CORE --enable-shared=cgi
    You require the option
    --enable-rule=SHARED_CORE --enable-shared=cgi here, since the Apache Web Server must be capable of subsequently loading Dynamic Shared Objects (DSO).
  3. Start the make run. Enter the following command:
    make
  4. Install the Apache Web Server. Enter the following command:
    make install

Result

The Apache Web Server is now available and can be started via the command apachectl . Test start the Apache Web Server by entering the following command:

<installation_path_apache>/bin/apachectl start

If the Apache Web Server was started successfully, the following message is displayed: <installation_path_apache>/bin/apachectl start: httpd started

You can now call up the Apache home page via the Web browser.

Next Installation Step

Configuring the Apache Web Server

Integration

Installing, Configuring, and Starting the Apache Web Server