[LON-CAPA-cvs] cvs: doc /build ubuntu12LTS_install.frag ubuntu14LTS_install.frag ubuntu16LTS_install.frag ubuntu18LTS_install.frag ubuntu20LTS_install.frag

raeburn raeburn at source.lon-capa.org
Fri Jan 8 22:26:20 EST 2021


raeburn		Sat Jan  9 03:26:20 2021 EDT

  Modified files:              
    /doc/build	ubuntu12LTS_install.frag ubuntu14LTS_install.frag 
              	ubuntu16LTS_install.frag ubuntu18LTS_install.frag 
              	ubuntu20LTS_install.frag 
  Log:
  - Eliminate warnings when installing LON-CAPA on Ubuntu LTS versions by 
    importing LON-CAPA's GPG key before adding repo to /etc/apt/sources.list
  
  
-------------- next part --------------
Index: doc/build/ubuntu12LTS_install.frag
diff -u doc/build/ubuntu12LTS_install.frag:1.2 doc/build/ubuntu12LTS_install.frag:1.3
--- doc/build/ubuntu12LTS_install.frag:1.2	Mon Dec 16 13:44:33 2013
+++ doc/build/ubuntu12LTS_install.frag	Sat Jan  9 03:26:20 2021
@@ -56,7 +56,7 @@
 
 <h2>3. <a name="lin">Ubuntu 12.04 LTS installation</a></h2>
 <p>
-Installing Ubuntu Linux is easy.
+Installing Ubuntu Linux is straightforward.
 Documentation is available from
 <a href="https://help.ubuntu.com/community/Installation">https://help.ubuntu.com/community/Installation/</a>
 Most of the installation screens are self explanatory.
@@ -126,13 +126,6 @@
 <p>
 If kernel packages were updated, reboot your system before continuing with the installation.
 </p>
-<p>
-Add LON-CAPA ubuntu repository to your /etc/apt/sources.list file. 
-</p>
-<pre>
-sudo apt-get install python-software-properties
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu precise main'
-</pre>
 <h2>5. <a name="ilc">Installing LON-CAPA</a></h2>
 <h3>Import the LON-CAPA encryption key</h3>
 <pre>
@@ -140,6 +133,18 @@
 sudo apt-key add APT-GPG-KEY-loncapa.asc
 sudo apt-get update
 </pre>
+<h3>Add LON-CAPA ubuntu repository to /etc/apt/sources.list</h3>
+<p> Execute: </p>
+<pre>
+sudo apt-get install python-software-properties
+sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu precise main'
+</pre>
+<p>
+You can display which repositories are currently enabled by using:
+</p>
+<pre>
+sudo apt-cache policy
+</pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>
 <pre>
Index: doc/build/ubuntu14LTS_install.frag
diff -u doc/build/ubuntu14LTS_install.frag:1.3 doc/build/ubuntu14LTS_install.frag:1.4
--- doc/build/ubuntu14LTS_install.frag:1.3	Wed Jun 20 12:36:29 2018
+++ doc/build/ubuntu14LTS_install.frag	Sat Jan  9 03:26:20 2021
@@ -56,7 +56,7 @@
 
 <h2>3. <a name="lin">Ubuntu 14.04 LTS installation</a></h2>
 <p>
-Installing Ubuntu Linux is easy.
+Installing Ubuntu Linux is straightforward.
 Documentation is available from
 <a href="https://help.ubuntu.com/community/Installation">https://help.ubuntu.com/community/Installation/</a>
 Most of the installation screens are self explanatory.
@@ -126,13 +126,6 @@
 <p>
 If kernel packages were updated, reboot your system before continuing with the installation.
 </p>
-<p>
-Add LON-CAPA ubuntu repository to your /etc/apt/sources.list file. 
-</p>
-<pre>
-sudo apt-get install python-software-properties
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu trusty main'
-</pre>
 <h2>5. <a name="ilc">Installing LON-CAPA</a></h2>
 <h3>Import the LON-CAPA encryption key</h3>
 <pre>
@@ -140,6 +133,18 @@
 sudo apt-key add APT-GPG-KEY-loncapa.asc
 sudo apt-get update
 </pre>
+<h3>Add LON-CAPA ubuntu repository to /etc/apt/sources.list</h3>
+<p> Execute: </p>
+<pre>
+sudo apt-get install python-software-properties
+sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu trusty main'
+</pre>
+<p>
+You can display which repositories are currently enabled by using:
+</p>
+<pre>
+sudo apt-cache policy
+</pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>
 <pre>
Index: doc/build/ubuntu16LTS_install.frag
diff -u doc/build/ubuntu16LTS_install.frag:1.4 doc/build/ubuntu16LTS_install.frag:1.5
--- doc/build/ubuntu16LTS_install.frag:1.4	Wed Jun 20 12:36:29 2018
+++ doc/build/ubuntu16LTS_install.frag	Sat Jan  9 03:26:20 2021
@@ -56,7 +56,7 @@
 
 <h2>3. <a name="lin">Ubuntu 16.04 LTS installation</a></h2>
 <p>
-Installing Ubuntu Linux is easy.
+Installing Ubuntu Linux is straightforward.
 Documentation is available from
 <a href="https://help.ubuntu.com/community/Installation">https://help.ubuntu.com/community/Installation/</a>
 Most of the installation screens are self explanatory.
@@ -126,13 +126,6 @@
 <p>
 If kernel packages were updated, reboot your system before continuing with the installation.
 </p>
-<p>
-Add LON-CAPA ubuntu repository to your /etc/apt/sources.list file. 
-</p>
-<pre>
-sudo apt-get install python-software-properties
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu xenial main'
-</pre>
 <h2>5. <a name="ilc">Installing LON-CAPA</a></h2>
 <h3>Import the LON-CAPA encryption key</h3>
 <pre>
@@ -140,6 +133,18 @@
 sudo apt-key add APT-GPG-KEY-loncapa.asc
 sudo apt-get update
 </pre>
+<h3>Add LON-CAPA ubuntu repository to /etc/apt/sources.list</h3>
+<p> Execute: </p>
+<pre>
+sudo apt-get install python-software-properties
+sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu xenial main'
+</pre>
+<p>
+You can display which repositories are currently enabled by using:
+</p>
+<pre>
+sudo apt-cache policy
+</pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>
 <pre>
@@ -147,6 +152,19 @@
 </pre><p>
 This may take some minutes due to LON-CAPA's large number of dependencies.
 </p>
+<h3>Secure MySQL</h3>
+<p> Execute: </p>
+<pre>
+sudo mysql_secure_installation
+</pre><p>
+Press ENTER to skip set up of the validate password plugin.<br />
+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.</p>
+<p>
+In Ubuntu systems running MySQL 5.7 (and later), the root user is authenticated by the auth_socket plugin by default. 
 <h3>Set MPM mode for Apache web server and enable use of cgi scripts and webDAV</h3>
 <p>Execute: </p>
 <pre>
Index: doc/build/ubuntu18LTS_install.frag
diff -u doc/build/ubuntu18LTS_install.frag:1.2 doc/build/ubuntu18LTS_install.frag:1.3
--- doc/build/ubuntu18LTS_install.frag:1.2	Sat May  2 01:04:18 2020
+++ doc/build/ubuntu18LTS_install.frag	Sat Jan  9 03:26:20 2021
@@ -55,7 +55,7 @@
 
 <h2>3. <a name="lin">Ubuntu 18.04 LTS installation</a></h2>
 <p>
-Installing Ubuntu Linux is easy.
+Installing Ubuntu Linux is straightforward.
 Documentation is available from
 <a href="https://help.ubuntu.com/community/Installation">https://help.ubuntu.com/community/Installation/</a>
 Most of the installation screens are self explanatory.
@@ -125,20 +125,24 @@
 <p>
 If kernel packages were updated, reboot your system before continuing with the installation.
 </p>
-<p>
-Add LON-CAPA ubuntu repository to your /etc/apt/sources.list file. 
-</p>
-<pre>
-sudo apt-get install software-properties-common
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu bionic main'
-</pre>
 <h2>5. <a name="ilc">Installing LON-CAPA</a></h2>
 <h3>Import the LON-CAPA encryption key</h3>
 <pre>
 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
+</pre>
+<h3>Add LON-CAPA ubuntu repository to /etc/apt/sources.list</h3>
+<p> Execute: </p>
+<pre>
+sudo apt-get install software-properties-common
+sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu bionic main'
+</pre>
+<p>
+You can display which repositories are currently enabled by using:
+</p>
+<pre>
+sudo apt-cache policy
 </pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>
Index: doc/build/ubuntu20LTS_install.frag
diff -u doc/build/ubuntu20LTS_install.frag:1.1 doc/build/ubuntu20LTS_install.frag:1.2
--- doc/build/ubuntu20LTS_install.frag:1.1	Sat May  2 01:19:57 2020
+++ doc/build/ubuntu20LTS_install.frag	Sat Jan  9 03:26:20 2021
@@ -55,7 +55,7 @@
 
 <h2>3. <a name="lin">Ubuntu 20.04 LTS installation</a></h2>
 <p>
-Installing Ubuntu Linux is easy.
+Installing Ubuntu Linux is straightforward.
 Documentation is available from
 <a href="https://help.ubuntu.com/community/Installation">https://help.ubuntu.com/community/Installation/</a>
 Most of the installation screens are self explanatory.
@@ -125,20 +125,24 @@
 <p>
 If kernel packages were updated, reboot your system before continuing with the installation.
 </p>
-<p>
-Add LON-CAPA ubuntu repository to your /etc/apt/sources.list file. 
-</p>
-<pre>
-sudo apt-get install software-properties-common
-sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu focal main'
-</pre>
 <h2>5. <a name="ilc">Installing LON-CAPA</a></h2>
 <h3>Import the LON-CAPA encryption key</h3>
 <pre>
 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
+</pre>
+<h3>Add LON-CAPA ubuntu repository to /etc/apt/sources.list file</h3>
+<p> Execute: </p>
+<pre>
+sudo apt-get install software-properties-common
+sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu focal main'
+</pre>
+<p>
+You can display which repositories are currently enabled by using:
+</p>
+<pre>
+sudo apt-cache policy
 </pre>
 <h3>Install prerequisites</h3>
 <p> Execute: </p>


More information about the LON-CAPA-cvs mailing list