[LON-CAPA-cvs] cvs: doc /build ubuntu18LTS_install.frag

raeburn raeburn at source.lon-capa.org
Fri May 1 21:04:19 EDT 2020


raeburn		Sat May  2 01:04:19 2020 EDT

  Modified files:              
    /doc/build	ubuntu18LTS_install.frag 
  Log:
  - Installation for Ubuntu 18 LTS, prefix commands with sudo instead of using
    sudo -i.
  
  
Index: doc/build/ubuntu18LTS_install.frag
diff -u doc/build/ubuntu18LTS_install.frag:1.1 doc/build/ubuntu18LTS_install.frag:1.2
--- doc/build/ubuntu18LTS_install.frag:1.1	Wed Jun 20 12:37:53 2018
+++ doc/build/ubuntu18LTS_install.frag	Sat May  2 01:04:18 2020
@@ -136,7 +136,7 @@
 <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 gpg
+sudo apt-get install add-apt-key gpg
 sudo apt-key add APT-GPG-KEY-loncapa.asc
 sudo apt-get update
 </pre>
@@ -246,12 +246,11 @@
 
 <h3>Configuring LON-CAPA</h3>
 <p>
-To configure and install LON-CAPA, become root and execute the following commands:
+To configure and install LON-CAPA, execute the following commands:
 </p>
 <pre>
-sudo -i
-cd /root/loncapa-X.Y.Z     (X.Y.Z should correspond to a version number like '2.12.0')
-./UPDATE
+cd loncapa-X.Y.Z     (X.Y.Z should correspond to a version number like '2.11.3')
+sudo ./UPDATE
 </pre>
 <p>
 You will need to enter the LON-CAPA configuration information you determined 
@@ -267,8 +266,9 @@
 Replace USERNAME and DOMAIN with an appropriate username and your domain.
 </p>
 <pre>
-cd /root/loncapa-X.Y.Z/loncom/build
+cd loncom/build
 sudo perl make_domain_coordinator.pl USERNAME DOMAIN
+cd
 </pre>
 
 <h2>7. <a name="sts">Start/Restart Services</a></h2>
@@ -277,8 +277,8 @@
 will be apparent at this step. Lastly, exit from root status to resume use of your regular account.
 </p>
 <pre>
-/etc/init.d/loncontrol start
-/etc/init.d/apache2 restart
+sudo systemctl start loncontrol
+sudo systemctl start apache2
 exit
 </pre>
 <p>




More information about the LON-CAPA-cvs mailing list