OPS345 Assignment 2

From Littlesvr Wiki
Revision as of 05:54, 28 March 2022 by Andrew (talk | contribs)
Jump to navigation Jump to search

DRAFT, NOT READY YET

In this assignment you'll install a webmail client (Roundcube) on your email server. You will not be installing Roundcube on your existing web server even though that would be a natural choice.

Set up Roundcube

  • Install and configure Apache and PHP.
    • Instead of creating a separate storage device for the web server data: store the data in /home/www and use a symbolic link from /var/www to point to it.
    • Only allow access to your web server via HTTPS. Choose whatever means you like to accomplish this.
  • Get the latest "Complete" package from the Roundcube website.
  • Decompress the files (and move them if need be) so that the root of your https://email.youruserid.ops3455.ca goes straight to Roundcube.
  • Follow the instructions in the INSTALL file in the package.
    • Look at /var/log/httpd/ssl_error_log if you're having problems. The keywords php-xml and php-mbstring should be helpful for you.
  • Create a database inside your existing ops345db "instance".
    • Similar to what your did for Nextcloud: you'll need to create a database inside ops345db, and a new user and password.
  • Complete all the needed fields in https://email.youruserid.ops3455.ca/installer
  • Delete the installer directory after you've tested that everything works.
  • Send an email from Roundcube to youruserid@youruserid.ops3455.ca

It should ultimately look something like this:

AWSAsg2Demo.png

The instructions for this assignment are sparse because you've already done all the needed steps in previous labs. It will take you some time though to remember what your did in which lab and why.

Submission

Please submit