Changes

Jump to: navigation, search

OPS335 Lab 6

55 bytes added, 21:56, 5 January 2021
INVESTIGATION 3: INSTALL, CONFIGURE & RUN WEBMAIL APPLICATION (Roundcube Mail)
* Use the '''--no-same-owner''' option when extracting the tar achive to ensure that the files do not keep the original owner (who will not exist on your system).</li>
<li>Change the ownership of the '''temp''' and '''logs''' directories so they belong to '''apache'''.</li>
<li>If you're not in Andrew's sections and you have SELinux enabled: This service needs to be able to write to several directories ('''temp''' and '''logs''') that SELinux prevents write access to. If you are in a section that has SELinux set to '''enforcing''', run the following commands to let it know that apache should be allowed to write to files in those directories.
<source>
semanage fcontext -a -t httpd_log_t '/var/www/html/webmail/temp(/.*)?'
restorecon -v -R /var/www/html/webmail
</source>
</li>
::NOTE: If your machine does not have the '''semanage''' command, use yum to install the '''policycoreutils-python''' package.
<li>You will also need to tell selinux to allow the webserver to open connections to the MTAs with <source>setsebool -P httpd_can_network_connect 1</source></li>
<li>In the directory now named "webmail", there will be a file named '''INSTALL''' which will walk you through the rest of the Roundcube installation.
<br /><br />Some installation tips to consider:

Navigation menu