# Setting up the essentials as a non-ROOT user

{% hint style="warning" %}
You must be logged in as a normal user to setup the required configuration.
{% endhint %}

## 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).

{% hint style="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/1318544>.
{% endhint %}

&#x20;2\. Unzip the file in the stage location:

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

&#x20;3\. Build the binaries from the source.

```
./configure --prefix=/ua1001/cloudio/apache
make
make install
```

{% hint style="info" %}
Prefix specifies the custom directory **PREFIX** where the Apache HTTPD is to be installed.
{% endhint %}

&#x20;4\. Open the Apache config file and edit the port number as required.

```
/conf/httpd.conf
```

&#x20;5\. Start the server as a non-ROOT user.

```
PREFIX/bin/apachectl -k start
```

&#x20;6\. Open the URL: <http://httpd.apache.org/download.cgi#apache22> to verify Apache Test Page is accessible.

&#x20;7\. Shutdown Apache.

```
PREFIX/bin/apachectl -k stop
```

{% hint style="info" %}
If the prefix is not given, then the server is installed in the usr/apache system directory.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudio.io/setting-up-the-cloudio-platform/platform-installation/setting-up-the-worker-apache-cluster/setting-up-the-essentials-as-a-non-root-user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
