--- doc/build/ubuntu16LTS_install.frag 2018/06/20 12:36:29 1.4 +++ doc/build/ubuntu16LTS_install.frag 2021/01/09 03:26:20 1.5 @@ -56,7 +56,7 @@ DHCP is not supported.

3. Ubuntu 16.04 LTS installation

-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. @@ -126,13 +126,6 @@ sudo apt-get upgrade

If 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 python-software-properties
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu xenial main'
-

5. Installing LON-CAPA

Import the LON-CAPA encryption key

@@ -140,6 +133,18 @@ wget http://install.loncapa.org/versions
 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 python-software-properties
+sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu xenial main'
+
+

+You can display which repositories are currently enabled by using: +

+
+sudo apt-cache policy
+

Install prerequisites

Execute:

@@ -147,6 +152,19 @@ sudo apt-get install loncapa-prerequisit
 

This may take some minutes due to LON-CAPA's large number of dependencies.

+

Secure MySQL

+

Execute:

+
+sudo mysql_secure_installation
+

+Press ENTER to skip set up of the validate password plugin.
+Although you will be prompted to set a password for the MySQL root user, in Ubuntu systems running MySQL 5.7 (and later), +the root user is authenticated by the auth_socket plugin by default, so + +Answer “Y” (yes) to the prompts to: (a) remove the anonymous user, (b) restrict root user access to the local machine, +and (c) remove the test database.

+

+In Ubuntu systems running MySQL 5.7 (and later), the root user is authenticated by the auth_socket plugin by default.

Set MPM mode for Apache web server and enable use of cgi scripts and webDAV

Execute: