--- doc/build/ubuntu18LTS_install.frag 2018/06/20 12:37:53 1.1 +++ doc/build/ubuntu18LTS_install.frag 2020/05/02 01:04:18 1.2 @@ -136,7 +136,7 @@ sudo apt-add-repository 'deb http://inst

Import the LON-CAPA encryption key

 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-get update
 
@@ -246,12 +246,11 @@ for it to function at all. Below is a l

Configuring LON-CAPA

-To configure and install LON-CAPA, become root and execute the following commands: +To configure and install LON-CAPA, execute the following commands:

-sudo -i
-cd /root/loncapa-X.Y.Z     (X.Y.Z should correspond to a version number like '2.12.0')
-./UPDATE
+cd loncapa-X.Y.Z     (X.Y.Z should correspond to a version number like '2.11.3')
+sudo ./UPDATE
 

You will need to enter the LON-CAPA configuration information you determined @@ -267,8 +266,9 @@ invoked below requires that you enter th Replace USERNAME and DOMAIN with an appropriate username and your domain.

-cd /root/loncapa-X.Y.Z/loncom/build
+cd loncom/build
 sudo perl make_domain_coordinator.pl USERNAME DOMAIN
+cd
 

7. Start/Restart Services

@@ -277,8 +277,8 @@ 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.

-/etc/init.d/loncontrol start
-/etc/init.d/apache2 restart
+sudo systemctl start loncontrol
+sudo systemctl start apache2
 exit