Diff for /doc/build/ubuntu8LTS_install.frag between versions 1.3 and 1.8

version 1.3, 2011/06/08 22:25:02 version 1.8, 2013/12/16 13:44:33
Line 33  The installation process takes the follo Line 33  The installation process takes the follo
   <li><a href="#log">Log in to LON-CAPA</a></li>    <li><a href="#log">Log in to LON-CAPA</a></li>
 </ol>  </ol>
   
 <hr />  <hr>
 <h2>1. <a name="obt">Obtain Ubuntu 8.04 LTS .iso file</a></h2>  <h2>1. <a name="obt">Obtain Ubuntu 8.04 LTS .iso file</a></h2>
 <p>  <p>
 Ubuntu 8.04 LTS (server install) isos can be obtained from links on the <a href="http://mirrors.kernel.org/ubuntu-releases/hardy/HEADER.html>Ubuntu Releases page </a> at mirrors.kernel.org.<br />  Ubuntu 8.04 LTS (server install) isos can be obtained from links on the <a href="http://mirrors.kernel.org/ubuntu-releases/hardy/HEADER.html">Ubuntu Releases</a> page at mirrors.kernel.org.<br>
 An .iso file (either 32 bit or 64 bit) can be burned to a CD.   An .iso file (either 32 bit or 64 bit) can be burned to a CD. 
 </p>  </p>
   
Line 86  There are a few steps that require comme Line 86  There are a few steps that require comme
    <dd>The base system will be installed. Once that is complete you will have the option to select additional software collections. Leave all unselected.</dd>     <dd>The base system will be installed. Once that is complete you will have the option to select additional software collections. Leave all unselected.</dd>
 </dl>  </dl>
 <p>  <p>
   
 Finish installing your server, reboot it, and log in with the username you created during installation.  Finish installing your server, reboot it, and log in with the username you created during installation.
   <dt>Firewall Configuration</dt>  </p>
    <dd>Use ufw to allow incoming traffic for the following services:   <h3>Firewall Configuration</h3>
        ssh, www, https  <p>
    </dd>  Use ufw to allow incoming traffic for the following services:
   ssh, www, https
   </p>
 <pre>  <pre>
 sudo ufw default deny  sudo ufw default deny
 sudo ufw enable  sudo ufw enable
 sudo allow ssh  sudo ufw allow ssh
 sudo allow www  sudo ufw allow www
 sudo allow https  sudo ufw allow https
 </pre>  </pre>
    <dt>E-mail Configuration</dt>  <h3>E-mail Configuration</h3>
    <dd>By default Ubuntu disallows mailing to remote domains. Change using<dd>  <p>
   By default Ubuntu disallows mailing to remote domains. Change using
   </p>
 <pre>  <pre>
 sudo dpkg-reconfigure exim4-config  sudo dpkg-reconfigure exim4-config
 </pre  </pre>
 </p>  
   
 <h2>4. <a name="upd">Update your system</a></h2>  <h2>4. <a name="upd">Update your system</a></h2>
 <p>  <p>
Line 144  sudo apt-get update Line 146  sudo apt-get update
 <pre>  <pre>
 sudo apt-get install loncapa-prerequisites  sudo apt-get install loncapa-prerequisites
 </pre><p>  </pre><p>
 This may take a moment 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>Retrieve and execute LON-CAPA setup program</h3>  <h3>Retrieve and execute LON-CAPA setup program</h3>
 <p>  <p>
Line 185  Once a choice has been entered for all n Line 187  Once a choice has been entered for all n
 <li>Configure Apache web server</li>  <li>Configure Apache web server</li>
 <li>Configure start-up of services</li>  <li>Configure start-up of services</li>
 <li>Check firewall settings</li>  <li>Check firewall settings</li>
 <li>Stop services not used by LON-CAPA,<br />  <li>Stop services not used by LON-CAPA,<br>
     e.g., services for a print server: cups daemon</li>      e.g., services for a print server: cups daemon</li>
 <li>Download LON-CAPA source code in readiness for installation</li>  <li>Download LON-CAPA source code in readiness for installation</li>
 </ul>  </ul>
Line 208  for it to function at all.  Below is a l Line 210  for it to function at all.  Below is a l
   <dd>Each site or school which installs LON-CAPA needs its own domain.    <dd>Each site or school which installs LON-CAPA needs its own domain.
       Here at MSU we use 'msu'.  You should choose something short but        Here at MSU we use 'msu'.  You should choose something short but
       meaningful.  <i>Restriction: One word, no hyphens, underscores, or         meaningful.  <i>Restriction: One word, no hyphens, underscores, or 
       special characters.</i><br />Domain names which include a departmental         special characters.</i><br>Domain names which include a departmental 
       abbreviation are not recommended as although LON-CAPA may start in        abbreviation are not recommended as although LON-CAPA may start in
       a single department, other departments frequently join subsequently.        a single department, other departments frequently join subsequently.
       For a domain name: 'msu' is a superior choice to 'msuphys' for example.        For a domain name: 'msu' is a superior choice to 'msuphys' for example.
Line 253  in the previous section. Line 255  in the previous section.
 You will need at least one user at your site who has the role of  You will need at least one user at your site who has the role of
 'domain coordinator'.  This user creates accounts for other users and  'domain coordinator'.  This user creates accounts for other users and
 grants them additional privileges.  The make_domain_coordinator.pl script  grants them additional privileges.  The make_domain_coordinator.pl script
 invoked below requires that you enter the users password.  The password will  invoked below requires that you enter the user's password.
 show in plaintext as you type it.  Feel free to use the "passwd username"  Replace USERNAME and DOMAIN with an appropriate username and your domain.
 command to change it later.  Replace USERNAME and DOMAIN with an   
 appropriate user name and your domain.  
 </p>  </p>
 <pre>  <pre>
 cd /root/loncapa-X.Y.Z/loncom/build  cd /root/loncapa-X.Y.Z/loncom/build
 perl make_domain_coordinator.pl USERNAME DOMAIN  perl make_domain_coordinator.pl USERNAME DOMAIN
 (WILL PROMPT FOR PASSWORD HERE)  
 </pre>  </pre>
   
 <h2>7. <a name="sts">Start/Restart Services</a></h2>  <h2>7. <a name="sts">Start/Restart Services</a></h2>
Line 287  Point a web browser at your new machine Line 286  Point a web browser at your new machine
 coordinator.  Congratulations!  coordinator.  Congratulations!
 </p>  </p>
   
 <hr />  <hr>
 <h2>If things aren't working right</h2>  <h2>If things aren't working right</h2>
 <p>  <p>
 If you've followed the steps above and the server doesn't start or you think   If you've followed the steps above and the server doesn't start or you think 

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


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