1,234
edits
Changes
no edit summary
* '''php''' - this is the PHP server software, which allows Apache to run more complex websites.
* '''mysql-server''' - this is the MySQL database server.
* '''php-mysql''' - this is a PHP extension that allows PHP to use a MySQL server.
== Configuring Apache ==
# Confirm that you can view the index page. If not, check for errors in <code>/var/log/httpd</code>
== Configuring MySQL ==
# Start the MySQL service (mysqld) using the '''systemctl''' command.
# Ensure that the mysqld service starts automatically during boot.
# When started for the first time, this service will print a message telling you how to set a password and take other basic steps to secure the the MySQL server. Follow those instructions to set a password, recording the detail of what you do for later use. Look for these messages in '''<code>/var/log/messages</code>'''
#* Read those messages carefully, you are setting up a production MySQL server and there shouldn't be any "test" databases or anonymous users or users without a password.
# Set your MySQL root password to your learn ID (without the @senecac.on.ca part).
# This following part is challenging so take your time and read the instructions to make sure you do it properly, we have to set up a dedicated user and database for wordpress:
#* Start by looking at http://codex.wordpress.org/Installing_WordPress#Using_the_MySQL_Client where you will find instructions for the setup.
== Installing and Configuring Wordpress ==
Wordpress (like most web applications) is not available in the Fedora repositories, it must be downloaded and installed manually.
===C. Write-up (Section Total: 12 Marks)===