Open main menu

CDOT Wiki β

Changes

OPS235 Assignment 2 OLD

241 bytes added, 11:49, 21 March 2012
no edit summary
== Required Tasks (ASSIGNMENT TOTAL: 80 Marks) ==
===A. Installing Packages (Section Total: x 8 Marks)===
Install these packages using ''yum'':
===B. Configuring Services ===
====Apache httpd (Section Total: x 10 Marks)====
:# Start the httpd service using the '''service''' command.
:# Confirm that you can view the index page. If not, adjust your iptables configuration as necessary, or check for errors in <code>/var/log/httpd</code>
==== MySQL (Section Total: x 6 Marks)====
:# Start the MySQL service (mysqld).
:# Configure this software to start when the system is booted.
==== MediaWiki (Section Total: x 10 Marks)====
:# Edit MediaWiki's httpd configuration file, <code>/etc/httpd/conf.d/mediawiki.conf</code>
:#* It must output the line "Content-type: text/plain" or "Content-type: text/html" (depending on whether the script output is plain text or HTML), followed by a blank line.
:# Name the script <code>~/public_html/diskfree.cgi</code> - The URL will be <code>http://''hostname''/~''your-user-id''/diskfree.cgi</code>
:# Configure httpd and SELinux to allow your script to be run from the web. This will require changes to <code>/etc/httpd/conf/httpd.conf</code> as well as the SELinux configuration (possibly including both booleans and SELinux context). As with step 1, see the man page for <code>httpd_selinux</code> and the Apache [http://httpd.apache.org/docs/2.2/ httpd documentation] for details.
{{Admon/tip|Hint|Look for an "add-handler" line in your httpd.conf file.}}
The ''system-config-selinux'' tool, which is on the menu as System>Adminstration>SELinux Management, provides a GUI for managing SELinux booleans and more.
{{Admon/tip|Remember|Configure SELinux to allow your script to be run from the web. This will require changes to <code>/etc/httpd/conf/httpd.conf</code> as well as the SELinux configuration (possibly including both booleans and SELinux context).}}
{{Admon/note|Takes Notes!|Take detailed notes of the steps you perform from this point onward -- you will need them for the wiki pages you will create later.}}
 
 
 
== Submitting Your Assignment ==
13,420
edits