--- doc/build/ubuntu18LTS_install.frag 2021/03/16 01:07:42 1.5 +++ doc/build/ubuntu18LTS_install.frag 2022/03/26 19:00:51 1.7 @@ -93,6 +93,7 @@ Use ufw to allow incoming traffic for th ssh, www, https

+sudo apt-get install ufw
 sudo ufw default deny
 sudo ufw enable
 sudo ufw allow ssh
@@ -136,13 +137,29 @@ sudo apt-key add APT-GPG-KEY-loncapa.asc
 

Execute:

 sudo apt-get install software-properties-common
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu bionic main'
+sudo add-apt-repository 'deb http://install.loncapa.org/ubuntu bionic main'
 

You can display which repositories are currently enabled by using:

-sudo apt-cache policy
+grep '^deb ' /etc/apt/sources.list |grep ' bionic '
+
+

The output should contain:

+
+deb http://us.archive.ubuntu.com/ubuntu bionic main
+deb http://us.archive.ubuntu.com/ubuntu bionic universe
+deb http://install.loncapa.org/ubuntu bionic main
+
+

If the Ubuntu universe repository is absent it can be added using:

+
+sudo add-apt-repository universe
+
+

If other Ubuntu repositories, e.g., restricted and multiverse are enabled, +you can disable them, as they are not needed to install LON-CAPA, by using:

+
+sudo add-apt-repository --remove restricted
+sudo add-apt-repository --remove multiverse
 

Install prerequisites

Execute:

@@ -180,7 +197,6 @@ execute the setup script with the follow
 cd installation
 sudo ./install.pl
-
 

The script is used to prepare a Linux system to run LON-CAPA, and can also be @@ -253,7 +269,7 @@ for it to function at all. Below is a l To configure and install LON-CAPA, execute the following commands:

-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
 

@@ -278,7 +294,7 @@ cd

7. Start/Restart Services

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.

 sudo /home/httpd/perl/loncontrol start