--- doc/build/ubuntu18LTS_install.frag 2020/05/02 01:04:18 1.2 +++ doc/build/ubuntu18LTS_install.frag 2024/08/08 21:22:21 1.8 @@ -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,40 @@ 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 bionic 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
+Execute:
++sudo apt-get install software-properties-common +sudo add-apt-repository 'deb http://install.loncapa.org/ubuntu bionic main' +++You can display which repositories are currently enabled by using: +
++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 multiverseInstall prerequisites
Execute:
@@ -176,7 +197,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 @@ -184,7 +204,7 @@ used to check the configuration of a sys
The script will analyze your system to determine which actions are recommended. The script will then prompt you to choose the actions you would like taken. -Once a choice has been entered for all nine possible actions, required changes will be made. +Once a choice has been entered for all ten possible actions, required changes will be made.
The possible actions are:
-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 +295,11 @@ cd
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
@@ -298,7 +319,10 @@ coordinator. Congratulations!
If you've followed the steps above and the server doesn't start or you think -there's something wrong, please send a help request to the MSU LON-CAPA group. If there were errors in installation of the dependency .deb packages or errors during the +there's something wrong, please contact the LON-CAPA helpdesk. +Installation/update support is available from: helpdesk at loncapa.org +(replace " at " with @). +If there were errors in installation of the dependency .deb packages or errors during the automatic setup, please send us as much information as possible. If some part of this document is unclear please let us know.