version 1.1, 2020/05/02 01:19:57
|
version 1.4, 2021/03/17 13:37:40
|
Line 55 DHCP is <em>not</em> supported.
|
Line 55 DHCP is <em>not</em> supported.
|
|
|
<h2>3. <a name="lin">Ubuntu 20.04 LTS installation</a></h2> |
<h2>3. <a name="lin">Ubuntu 20.04 LTS installation</a></h2> |
<p> |
<p> |
Installing Ubuntu Linux is easy. |
Installing Ubuntu Linux is straightforward. |
Documentation is available from |
Documentation is available from |
<a href="https://help.ubuntu.com/community/Installation">https://help.ubuntu.com/community/Installation/</a> |
<a href="https://help.ubuntu.com/community/Installation">https://help.ubuntu.com/community/Installation/</a> |
Most of the installation screens are self explanatory. |
Most of the installation screens are self explanatory. |
Line 93 Use ufw to allow incoming traffic for th
|
Line 93 Use ufw to allow incoming traffic for th
|
ssh, www, https |
ssh, www, https |
</p> |
</p> |
<pre> |
<pre> |
|
sudo apt-get install ufw |
sudo ufw default deny |
sudo ufw default deny |
sudo ufw enable |
sudo ufw enable |
sudo ufw allow ssh |
sudo ufw allow ssh |
Line 125 sudo apt-get upgrade
|
Line 126 sudo apt-get upgrade
|
<p> |
<p> |
If kernel packages were updated, reboot your system before continuing with the installation. |
If kernel packages were updated, reboot your system before continuing with the installation. |
</p> |
</p> |
<p> |
|
Add LON-CAPA ubuntu repository to your /etc/apt/sources.list file. |
|
</p> |
|
<pre> |
|
sudo apt-get install software-properties-common |
|
sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu focal main' |
|
</pre> |
|
<h2>5. <a name="ilc">Installing LON-CAPA</a></h2> |
<h2>5. <a name="ilc">Installing LON-CAPA</a></h2> |
<h3>Import the LON-CAPA encryption key</h3> |
<h3>Import the LON-CAPA encryption key</h3> |
<pre> |
<pre> |
wget http://install.loncapa.org/versions/ubuntu/APT-GPG-KEY-loncapa.asc |
wget http://install.loncapa.org/versions/ubuntu/APT-GPG-KEY-loncapa.asc |
sudo apt-get install add-apt-key gpg |
sudo apt-get install add-apt-key gpg |
sudo apt-key add APT-GPG-KEY-loncapa.asc |
sudo apt-key add APT-GPG-KEY-loncapa.asc |
sudo apt-get update |
</pre> |
|
<h3>Add LON-CAPA ubuntu repository to /etc/apt/sources.list file</h3> |
|
<p> Execute: </p> |
|
<pre> |
|
sudo apt-get install software-properties-common |
|
sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu focal main' |
|
</pre> |
|
<p> |
|
You can display which repositories are currently enabled by using: |
|
</p> |
|
<pre> |
|
sudo apt-cache policy |
</pre> |
</pre> |
<h3>Install prerequisites</h3> |
<h3>Install prerequisites</h3> |
<p> Execute: </p> |
<p> Execute: </p> |
Line 176 execute the setup script with the follow
|
Line 181 execute the setup script with the follow
|
<pre> |
<pre> |
cd installation |
cd installation |
sudo ./install.pl |
sudo ./install.pl |
|
|
</pre> |
</pre> |
<p> |
<p> |
The script is used to prepare a Linux system to run LON-CAPA, and can also be |
The script is used to prepare a Linux system to run LON-CAPA, and can also be |
Line 249 for it to function at all. Below is a l
|
Line 253 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 loncapa-X.Y.Z (X.Y.Z should correspond to a version number like '2.11.3') |
cd ../loncapa-X.Y.Z (X.Y.Z should correspond to a version number like '2.11.3') |
sudo ./UPDATE |
sudo ./UPDATE |
</pre> |
</pre> |
<p> |
<p> |
Line 274 cd
|
Line 278 cd
|
<h2>7. <a name="sts">Start/Restart Services</a></h2> |
<h2>7. <a name="sts">Start/Restart Services</a></h2> |
<p> |
<p> |
The LON-CAPA network services take a moment to start. Most misconfigurations |
The LON-CAPA network services take a moment to start. Most misconfigurations |
will be apparent at this step. Lastly, exit from root status to resume use of your regular account. |
will be apparent at this step. |
</p> |
</p> |
<pre> |
<pre> |
sudo systemctl start loncontrol |
sudo /home/httpd/perl/loncontrol start |
sudo systemctl start apache2 |
sudo systemctl restart apache2 |
exit |
exit |
</pre> |
</pre> |
<p> |
<p> |