Changes

Jump to: navigation, search

OPS235 Assignment 2 OLD

14 bytes added, 10:30, 21 March 2012
no edit summary
=== Installing Packages ===
Install these packages using ''yum'':
* '''mediawiki''' - this is the wiki software used by this wiki, Wikipedia, and many other sites. It is a series of PHP scripts which are run by Apache httpd as requests are received, and it connects to a database such as MySQL locally or on other servers.
=== Configuring Services ===
==== Apache httpd ====
# 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 ====
# Start the MySQL service (mysqld).
# Configure this software to start when the system is booted.
==== MediaWiki ====
# Edit MediaWiki's httpd configuration file, <code>/etc/httpd/conf.d/mediawiki.conf</code>
When you are done, you should be able to go to <code>http://'''hostname'''/wiki</code> from any directly-connected machine.
==== Serving Personal Web Pages ====
# Configure httpd to serve the <code>~/public_html</code> directories of your users. This will require changes to <code>/etc/httpd/conf/httpd.conf</code> as well as the SELinux configuration. 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.}}
=== Write-up ===
Create a high-quality write-up of this assignment on your wiki. '''Describe in detail exactly what you did to set up each component'''. Include at least these pages:
13,420
edits

Navigation menu