Diff for /doc/build/ubuntu12LTS_install.frag between versions 1.3 and 1.4

version 1.3, 2021/01/09 03:26:20 version 1.4, 2021/03/17 03:21:24
Line 94  Use ufw to allow incoming traffic for th Line 94  Use ufw to allow incoming traffic for th
 ssh, www, https  ssh, www, https
 </p>  </p>
 <pre>  <pre>
   sudo apt-get install ufw
 sudo ufw default deny  sudo ufw default deny
 sudo ufw enable  sudo ufw enable
 sudo ufw allow ssh  sudo ufw allow ssh
Line 152  sudo apt-get install loncapa-prerequisit Line 153  sudo apt-get install loncapa-prerequisit
 </pre><p>  </pre><p>
 This may take some minutes due to LON-CAPA's large number of dependencies.  This may take some minutes due to LON-CAPA's large number of dependencies.
 </p>  </p>
   <h3>Secure MySQL</h3>
   <p> Execute: </p>
   <pre>
   sudo mysql_secure_installation
   </pre><p>
   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.</p>
 <h3>Retrieve and execute LON-CAPA setup program</h3>  <h3>Retrieve and execute LON-CAPA setup program</h3>
 <p>  <p>
 Retrieve the LON-CAPA setup script and dependencies with the following command:  Retrieve the LON-CAPA setup script and dependencies with the following command:
Line 242  for it to function at all.  Below is a l Line 252  for it to function at all.  Below is a l
   
 <h3>Configuring LON-CAPA</h3>  <h3>Configuring LON-CAPA</h3>
 <p>  <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>  </p>
 <pre>  <pre>
 sudo -i  cd ../loncapa-X.Y.Z  (X.Y.Z should correspond to a version number like '2.11.0')
 cd /root/loncapa-X.Y.Z     (X.Y.Z should correspond to a version number like '2.11.0')  sudo ./UPDATE
 ./UPDATE  
 </pre>  </pre>
 <p>  <p>
 You will need to enter the LON-CAPA configuration information you determined   You will need to enter the LON-CAPA configuration information you determined 
Line 263  invoked below requires that you enter th Line 272  invoked below requires that you enter th
 Replace USERNAME and DOMAIN with an appropriate username and your domain.  Replace USERNAME and DOMAIN with an appropriate username and your domain.
 </p>  </p>
 <pre>  <pre>
 cd /root/loncapa-X.Y.Z/loncom/build  cd loncom/build
 perl make_domain_coordinator.pl USERNAME DOMAIN  sudo perl make_domain_coordinator.pl USERNAME DOMAIN
   cd
 </pre>  </pre>
   
 <h2>7. <a name="sts">Start/Restart Services</a></h2>  <h2>7. <a name="sts">Start/Restart Services</a></h2>
 <p>  <p>
 The LON-CAPA network services take a moment to start.  Most misconfigurations  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.
 </p>  </p>
 <pre>  <pre>
 /etc/init.d/loncontrol start  sudo /etc/init.d/loncontrol start
 /etc/init.d/apache2 restart  sudo service apache2 restart
 exit  exit
 </pre>  </pre>
 <p>  <p>

Removed from v.1.3  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>