version 1.1, 2019/10/07 15:33:28
|
version 1.7, 2024/08/10 02:44:49
|
Line 90 Finish installing your server, reboot it
|
Line 90 Finish installing your server, reboot it
|
</p> |
</p> |
<h3>Firewall Configuration</h3> |
<h3>Firewall Configuration</h3> |
<p> |
<p> |
LON-CAPA can use Firewalld, available by default for CentOS 8. Enable access to standard |
LON-CAPA can use Firewalld, available by default for RHEL 8. Enable access to standard |
web server ports (i.e., http and https): |
web server ports (i.e., http and https): |
</p> |
</p> |
<pre> |
<pre> |
systemctl enable firewalld |
systemctl enable firewalld |
systemctl start firewalld |
systemctl start firewalld |
sudo firewall-cmd --zone=public --permanent --add-service=http |
firewall-cmd --zone=public --permanent --add-service=http |
sudo firewall-cmd --zone=public --permanent --add-service=https |
firewall-cmd --zone=public --permanent --add-service=https |
sudo firewall-cmd --reload |
firewall-cmd --reload |
</pre> |
</pre> |
|
|
<h2>4. <a id="upd">Update your system</a></h2> |
<h2>4. <a id="upd">Update your system</a></h2> |
Line 172 The list of enabled repos should be as f
|
Line 172 The list of enabled repos should be as f
|
<tr><td>rhel-8-for-x86_64-baseos-rpms</td><td>Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)</td></tr> |
<tr><td>rhel-8-for-x86_64-baseos-rpms</td><td>Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)</td></tr> |
<tr><td>codeready-builder-for-rhel-8-x86_64-rpms</td><td>Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)</td></tr> |
<tr><td>codeready-builder-for-rhel-8-x86_64-rpms</td><td>Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)</td></tr> |
<tr><td>*epel</td><td>Extra Packages for Enterprise Linux 8 - x86_6</td></tr> |
<tr><td>*epel</td><td>Extra Packages for Enterprise Linux 8 - x86_6</td></tr> |
<tr><td>loncapa-updates-basearch</td><td>CentOS 8 LON-CAPA x86_64 Updates</td></tr> |
<tr><td>loncapa-updates-basearch</td><td>RHEL 8 LON-CAPA x86_64 Updates</td></tr> |
<tr><td>loncapa-updates-noarch</td><td>CentOS 8 LON-CAPA noarch Updates</td></tr> |
<tr><td>loncapa-updates-noarch</td><td>RHEL 8 LON-CAPA noarch Updates</td></tr> |
</table> |
</table> |
|
|
<h3>Install and enable a Mail Transfer Agent (MTA), e.g., postfix</h3> |
<h3>Install and enable a Mail Transfer Agent (MTA), e.g., postfix</h3> |
Line 204 reboot
|
Line 204 reboot
|
<h3>Install prerequisites</h3> |
<h3>Install prerequisites</h3> |
<p> Execute: </p> |
<p> Execute: </p> |
<pre> |
<pre> |
yum install LONCAPA-prerequisites |
dnf install LONCAPA-prerequisites |
</pre><p> |
</pre><p> |
This may take some minutes due to LON-CAPA's large number of dependencies. |
This may take some minutes due to LON-CAPA's large number of dependencies. |
</p> |
</p> |
Line 235 used to check the configuration of a sys
|
Line 235 used to check the configuration of a sys
|
</p> |
</p> |
<p> |
<p> |
The script will analyze your system to determine which actions are recommended. The script will then prompt you to choose the actions you would like taken. |
The script will analyze your system to determine which actions are recommended. The script will then prompt you to choose the actions you would like taken. |
Once a choice has been entered for all nine possible actions, required changes will be made. |
Once a choice has been entered for all ten possible actions, required changes will be made. |
</p> |
</p> |
<p>The possible actions are:</p> |
<p>The possible actions are:</p> |
<ul> |
<ul> |
Line 244 Once a choice has been entered for all n
|
Line 244 Once a choice has been entered for all n
|
<li>Set-up the MySQL (Mariadb) database</li> |
<li>Set-up the MySQL (Mariadb) database</li> |
<li>Set-up MySQL (Mariadb) permissions</li> |
<li>Set-up MySQL (Mariadb) permissions</li> |
<li>Configure Apache web server</li> |
<li>Configure Apache web server</li> |
|
<li>Configure systemd security settings for Apache web server</li> |
<li>Configure start-up of services</li> |
<li>Configure start-up of services</li> |
<li>Check firewall settings</li> |
<li>Check firewall settings</li> |
<li>Stop services not used by LON-CAPA, e.g., services for a print server: cups daemon</li> |
<li>Stop services not used by LON-CAPA, e.g., services for a print server: cups daemon</li> |
Line 327 The LON-CAPA network services take a mom
|
Line 328 The LON-CAPA network services take a mom
|
will be apparent at this step. |
will be apparent at this step. |
</p> |
</p> |
<pre> |
<pre> |
/etc/init.d/loncontrol start |
/home/httpd/perl/loncontrol start |
systemctl start httpd |
systemctl start httpd |
</pre> |
</pre> |
<p> |
<p> |
Line 335 If you receive warnings about missing pe
|
Line 336 If you receive warnings about missing pe
|
please make sure that the LONCAPA-prerequisites rpm is installed using this command: |
please make sure that the LONCAPA-prerequisites rpm is installed using this command: |
</p> |
</p> |
<pre> |
<pre> |
rpm -q LONCAPA-prerequisites rpm |
rpm -q LONCAPA-prerequisites |
</pre> |
</pre> |
<p> |
<p> |
If it is not installed, ensure that the required Linux repositories are enabled (see |
If it is not installed, ensure that the required Linux repositories are enabled (see |