--- doc/build/ubuntu20LTS_install.frag 2020/05/02 01:19:57 1.1 +++ doc/build/ubuntu20LTS_install.frag 2021/03/17 13:37:40 1.4 @@ -55,7 +55,7 @@ DHCP is not supported.
-Installing Ubuntu Linux is easy. +Installing Ubuntu Linux is straightforward. Documentation is available from https://help.ubuntu.com/community/Installation/ Most of the installation screens are self explanatory. @@ -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 @@ -125,20 +126,24 @@ sudo apt-get upgradeIf kernel packages were updated, reboot your system before continuing with the installation.
--Add LON-CAPA ubuntu repository to your /etc/apt/sources.list file. -
--sudo apt-get install software-properties-common -sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu focal main' -5. Installing LON-CAPA
Import the LON-CAPA encryption key
wget http://install.loncapa.org/versions/ubuntu/APT-GPG-KEY-loncapa.asc sudo apt-get install add-apt-key gpg sudo apt-key add APT-GPG-KEY-loncapa.asc -sudo apt-get update ++Add LON-CAPA ubuntu repository to /etc/apt/sources.list file
+Execute:
++sudo apt-get install software-properties-common +sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu focal main' +++You can display which repositories are currently enabled by using: +
++sudo apt-cache policyInstall prerequisites
Execute:
@@ -176,7 +181,6 @@ execute the setup script with the followcd installation sudo ./install.pl -The script is used to prepare a Linux system to run LON-CAPA, and can also be @@ -249,7 +253,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@@ -274,11 +278,11 @@ 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 systemctl start loncontrol -sudo systemctl start apache2 +sudo /home/httpd/perl/loncontrol start +sudo systemctl restart apache2 exit