version 1.2, 2019/11/25 16:47:20
|
version 1.7, 2024/08/10 02:44:49
|
Line 97 web server ports (i.e., http and https):
|
Line 97 web server ports (i.e., http and https):
|
<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 123 dnf install https://dl.fedoraproject.org
|
Line 123 dnf install https://dl.fedoraproject.org
|
<p> |
<p> |
Enable the Oracle Linux 8 CodeReady Builder repository |
Enable the Oracle Linux 8 CodeReady Builder repository |
</p> |
</p> |
<ol> |
|
<li>Make a backup of the existing oracle8_yum.conf file: |
|
<pre> |
<pre> |
cp -p /etc/yum.repos.d/oracle-linux-ol8.repo /etc/oracle-linux-ol8.repo.backup |
dnf config-manager --set-enabled ol8_codeready_builder |
</pre> |
</pre> |
</li> |
|
<li> |
|
Replace the default oracle-linux-ol8.repo with the oracle8_yum.conf from LON-CAPA |
|
<pre> |
|
wget -O /etc/yum.repos.d/oracle-linux-ol8.repo http://install.loncapa.org/versions/oracle/8/oracle8_yum.conf |
|
</pre> |
|
</li> |
|
</ol> |
|
<p> |
<p> |
Install the loncapa.repo file from the LON-CAPA install site: |
<p> |
|
Install wget and then the loncapa.repo file from the LON-CAPA install site: |
</p> |
</p> |
<pre> |
<pre> |
|
dnf install wget |
wget -O /etc/yum.repos.d/loncapa.repo http://install.loncapa.org/versions/oracle/8/loncapa.repo |
wget -O /etc/yum.repos.d/loncapa.repo http://install.loncapa.org/versions/oracle/8/loncapa.repo |
</pre> |
</pre> |
<p> |
<p> |
Line 220 used to check the configuration of a sys
|
Line 212 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 229 Once a choice has been entered for all n
|
Line 221 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 315 The LON-CAPA network services take a mom
|
Line 308 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 323 If you receive warnings about missing pe
|
Line 316 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 |