version 1.1, 2024/06/22 22:40:53
|
version 1.4, 2024/08/10 01:50:12
|
Line 88 Finish installing your server, reboot it
|
Line 88 Finish installing your server, reboot it
|
<p> |
<p> |
The default is to disallow login for root using ssh, so if you plan to allow remote access via ssh, it is recommended to create a user account, replacing <username> with the desired username in the commands below. If you prefer, you can skip this step and simply use the Linux user account which you will create later at step 6 ("Creating a Domain Coordinator") for ssh access. |
The default is to disallow login for root using ssh, so if you plan to allow remote access via ssh, it is recommended to create a user account, replacing <username> with the desired username in the commands below. If you prefer, you can skip this step and simply use the Linux user account which you will create later at step 6 ("Creating a Domain Coordinator") for ssh access. |
<pre> |
<pre> |
/sbin/adduser <username> |
/sbin/adduser <username> |
passwd <username> |
passwd <username> |
</pre> |
</pre> |
<h3>Firewall Configuration</h3> |
<h3>Firewall Configuration</h3> |
<p> |
<p> |
Line 214 used to check the configuration of a sys
|
Line 214 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 223 Once a choice has been entered for all n
|
Line 223 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 279 for it to function at all. Below is a l
|
Line 280 for it to function at all. Below is a l
|
To configure and install LON-CAPA, execute the following commands: |
To configure and install LON-CAPA, execute the following commands: |
</p> |
</p> |
<pre> |
<pre> |
cd /root/loncapa-X.Y.Z (X.Y.Z should correspond to a version number like '2.11.4') |
cd /root/loncapa-X.Y.Z (X.Y.Z should correspond to a version number like '2.11.5') |
./UPDATE |
./UPDATE |
</pre> |
</pre> |
<p> |
<p> |