#!/bin/sh # create a standard document root directory mkdir /var/www/html/ # and populate it with an index.html containing the IP address of the machine, so that we can easily differentiate between them ifconfig eth0 | grep Bcast > /var/www/html/index.html # lastly start the httpd on standard port 80 and the aforementioned document root /usr/sbin/httpd -p 80 -h /var/www/html/