Differences between revisions 1 and 2
Revision 1 as of 2008-06-26 12:26:05
Size: 1233
Editor: kfc
Comment: Created by the PackagePages action.
Revision 2 as of 2010-03-17 13:08:49
Size: 1233
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Apache

The Apache work package goal is describing the exact steps needed to set up an Apache web server suitable for accessing through Fedora repository in our DOMS project.

Requirements

The DOMS project requires a standard webserver with a directory writable for the DOMS user.

Installation instructions for an Apache webserver

For Fedora Core 3 or Later or Redhat Enterprise Linux, installing a webserver can be obtained by running

sudo yum install httpd

To get it running, and making sure it runs when rebooting the machine, do the following:

sudo /sbin/service httpd start
sudo /sbin/chkconfig httpd on

A standard apache webserver installed thus serves files from /var/www/html. To make a directory DOMS, which is writable by you, do the following:

sudo mkdir /var/www/html/DOMS
sudo chown $USER /var/www/html/DOMS

Testing the installation

Make a file in the directory:

echo "Hello world" > /var/www/html/DOMS/test.txt

Retrieve http://localhost/DOMS/test.txt

wget -q -O - http://localhost/DOMS/test.txt

It should show "Hello world".

Clean up after you.

rm /var/www/html/DOMS/test.txt

Apache (last edited 2010-03-17 13:08:49 by localhost)