Setting up the essentials as a non-ROOT user

circle-exclamation

Installing the Apache HTTP server

  1. Open the URL: http://httpd.apache.org/download.cgi#apache22arrow-up-right and

    download Apache HTTP Server 2.2.31 source distribution (httpd-

    2.2.31.tar.gz).

circle-info

Apache 2.4+ versions are not compatible with the latest Mod_JK Tomcat connectors. Hence, Apache 2.2+ versions are preferred. If you would like to explore using 2.4+ versions, please refer to fixes suggested by Jonathan_Morgan in https://forums.adobe.com/thread/1318544arrow-up-right.

2. Unzip the file in the stage location:

gunzip -d httpd-2.2.31.tar.gz
tar xvf httpd-2.2.31.tar

3. Build the binaries from the source.

./configure --prefix=/ua1001/cloudio/apache
make
make install
circle-info

Prefix specifies the custom directory PREFIX where the Apache HTTPD is to be installed.

4. Open the Apache config file and edit the port number as required.

/conf/httpd.conf

5. Start the server as a non-ROOT user.

6. Open the URL: http://httpd.apache.org/download.cgi#apache22arrow-up-right to verify Apache Test Page is accessible.

7. Shutdown Apache.

circle-info

If the prefix is not given, then the server is installed in the usr/apache system directory.

Last updated