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
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).
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
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
Last updated
Was this helpful?