Setting up the essentials as a non-ROOT user

You must be logged in as a normal user to setup the required configuration.

Installing the Apache HTTP server

  1. Open the URL: http://httpd.apache.org/download.cgi#apache22 and

    download Apache HTTP Server 2.2.31 source distribution (httpd-

    2.2.31.tar.gz).

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/1318544.

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

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.

PREFIX/bin/apachectl -k start

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

7. Shutdown Apache.

PREFIX/bin/apachectl -k stop

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

Last updated