Changes

Jump to: navigation, search

OPS335 Web Server Lab

16 bytes removed, 14:14, 7 February 2012
Install and test Apache
=== Install and test Apache ===
*Now login Login to vm01 (your guest VM) vm02 and install the following three packages, if they are not already installed, like this
yum install httpd httpd-tools system-config-httpd
*Still on vm01 you can now start your web server with this command
systemctl start httpd.service
*Using Firefox on vm01 the host go to address "localhost". You should get the "Fedora Test Page" which indicates your web server is running. Do not continue until this step works.
*Now create your own test page named index.html and put it into directory /var/www/html/. Reload the Firefox "localhost" web page - you should see your own test page now.
*Try viewing this web page from f16 (the gateway/host). You'll need to enter the IP address of vm01 in your Firefox browser. By default this address should be something like 192.168.122.aaa. If this doesn't work you may have to add a rule to the firewall on vm01 to allow incoming connections on port 80.
1
edit

Navigation menu