Changes

Jump to: navigation, search

OPS335 Web Server Lab

346 bytes removed, 11:07, 7 February 2012
no edit summary
[[Category:OPS335]][[Category:OPS335 Labs]]
==Basic Apache (Web Server) Setup==
This lab will show you how to set up the Apache Web server using a Fedora 13 16 installed PC.
You will need at least two systems to do this lab. The first could be Fedora on your removable hard drive while the second could be a virtual machine.
{{Admon/important|Prerequisites|
Your hard drive should have Fedora 1316, 64 bit Live edition already installed.<br />You should have at least one VM installed: also Fedora 1316, 64 bit Live edition.<br />
Both your host and guest should have default firewalls enabled.<br />
Both your host and guest should have SELinux enabled.<br />
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 httpd start
*Using Firefox on vm01 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.
==Completing the Lab==
Answer the following questions and and email them to your teacher in ASCII text format
#What is your full name and 9-digit Seneca student ID?#What HTML code did you use for your own web page in step 4? Include the complete listing.
#Give the full path names of the Apache log files.
#What directory is the default server root? Give the full path name.
#What directory is the default document root? Give the full path name.
#What is the default configuration file for the Apache web server on Fedora 1316? Give the full path name.
#What is the default maximum number of connections allowed on the server by default?
#What user/group does Apache run under on Fedora 1316?
#What exact command did you use to allow requests to port 80 to be forwarded to 8080 on your VM?
#What specific command (give full details) would you need to use on f13 f16 to forward ssh connections to vm01?
#What is the web site for Apache?
#What is Apache's current version number? Note: this may be different from the version running on Fedora 13.#What is displayed by the iptables-save command on both f13 and vm01 at the end of this lab?#Finally, show part (a small segment) of the Apache access log file that indicate successful access to your web site16.
1
edit

Navigation menu