version 1.1, 2018/06/20 12:37:53
|
version 1.2, 2020/05/02 01:04:18
|
Line 136 sudo apt-add-repository 'deb http://inst
|
Line 136 sudo apt-add-repository 'deb http://inst
|
<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 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 |
sudo apt-get update |
</pre> |
</pre> |
Line 246 for it to function at all. Below is a l
|
Line 246 for it to function at all. Below is a l
|
|
|
<h3>Configuring LON-CAPA</h3> |
<h3>Configuring LON-CAPA</h3> |
<p> |
<p> |
To configure and install LON-CAPA, become root and execute the following commands: |
To configure and install LON-CAPA, execute the following commands: |
</p> |
</p> |
<pre> |
<pre> |
sudo -i |
cd loncapa-X.Y.Z (X.Y.Z should correspond to a version number like '2.11.3') |
cd /root/loncapa-X.Y.Z (X.Y.Z should correspond to a version number like '2.12.0') |
sudo ./UPDATE |
./UPDATE |
|
</pre> |
</pre> |
<p> |
<p> |
You will need to enter the LON-CAPA configuration information you determined |
You will need to enter the LON-CAPA configuration information you determined |
Line 267 invoked below requires that you enter th
|
Line 266 invoked below requires that you enter th
|
Replace USERNAME and DOMAIN with an appropriate username and your domain. |
Replace USERNAME and DOMAIN with an appropriate username and your domain. |
</p> |
</p> |
<pre> |
<pre> |
cd /root/loncapa-X.Y.Z/loncom/build |
cd loncom/build |
sudo perl make_domain_coordinator.pl USERNAME DOMAIN |
sudo perl make_domain_coordinator.pl USERNAME DOMAIN |
|
cd |
</pre> |
</pre> |
|
|
<h2>7. <a name="sts">Start/Restart Services</a></h2> |
<h2>7. <a name="sts">Start/Restart Services</a></h2> |
Line 277 The LON-CAPA network services take a mom
|
Line 277 The LON-CAPA network services take a mom
|
will be apparent at this step. Lastly, exit from root status to resume use of your regular account. |
will be apparent at this step. Lastly, exit from root status to resume use of your regular account. |
</p> |
</p> |
<pre> |
<pre> |
/etc/init.d/loncontrol start |
sudo systemctl start loncontrol |
/etc/init.d/apache2 restart |
sudo systemctl start apache2 |
exit |
exit |
</pre> |
</pre> |
<p> |
<p> |