--- doc/build/ubuntu14LTS_install.frag 2021/01/09 03:26:20 1.4 +++ doc/build/ubuntu14LTS_install.frag 2024/08/08 21:22:21 1.7 @@ -94,6 +94,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
@@ -137,13 +138,29 @@ sudo apt-get update
 

Execute:

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

You can display which repositories are currently enabled by using:

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

The output should contain:

+
+deb http://us.archive.ubuntu.com/ubuntu trusty main
+deb http://us.archive.ubuntu.com/ubuntu trusty universe
+deb http://install.loncapa.org/ubuntu trusty 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 for LON-CAPA, by using:

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

Install prerequisites

Execute:

@@ -152,6 +169,15 @@ 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
+

+Answer “Y” (yes) to the prompts to: +(a) remove anonymous users, +(b) restrict root user access to the local machine, +and (c) remove the test database.

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

Execute:

@@ -181,7 +207,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 @@ -189,7 +214,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: