Changes

Jump to: navigation, search

OPS235 Assignment 2

248 bytes added, 13:29, 2 April 2019
Introduction and Purpose
== Introduction and Purpose ==
In this assignment, you will demonstrate the skills you have learned to this point by configuring two services: a '''database server''' and a '''web server'''. You will install and use a database-backed web application, '''Wordpress''', to show that these services have been installed properly. You will also configure the '''SELinux''' security system as well as the '''iptables firewall''' to further enhance the security of your computer system.
'''NOTE: Do this assignment inside the centos3 virtual machine. '''
 
'''NOTE2:''' You must set your iptables INPUT chain's default policy to DROP.
== Installing Packages==
#* Change the DB_NAME, DB_USER, DB_PASSWORD to the appropriate values.
# Now go back to http://centos3/wordpress/ - you should see a Wordpress Welcome/Setup page.
#* Set the title to Your Name's Blog. For example for us me it would be "OPS235 Professor's Blog"
#* Set the password to your learn ID.
#* Set the email to your Seneca email address.
Open one or more terminals in c7host, SSH to centos3 from those terminals, and have the following ready:
* The correct RPMs are installed
* Status of the '''mysql ''' service* Status of the '''httpd ''' service* MySQL output of: '''show databases; use mysql; select User,Password from user; use myblog; show tables;'''* Output of : '''ls -la /var/www/html/wordpress/'''* Output of : '''head -30 /var/www/html/wordpress/wp-config.php'''* Output of: '''iptables -L -vn --line-numbers'''* Open a Firefox window with to: http://centos3/wordpress/
=== Rubric ===
|-
| Wordpress showing in Firefox || 1 ||
|-
| iptables rules configured correctly || 2 ||
|-
| Everything ready to show || 2 ||
| Second blog post || 3 ||
|-
| '''Total''' || 18 20 ||
|}
[[Category:OPS235]]

Navigation menu