Diff for /doc/build/suse11.1_install.frag between versions 1.3 and 1.4

version 1.3, 2011/05/13 11:36:10 version 1.4, 2011/11/26 20:48:03
Line 51  DHCP is <em>not</em> supported. Line 51  DHCP is <em>not</em> supported.
   
 <h2>3. <a name="lin">Minimal SuSE 11.1 Install</a></h2>  <h2>3. <a name="lin">Minimal SuSE 11.1 Install</a></h2>
 <p>  <p>
 Installing SuSE 11.1 is quite easy if you've installed Linux products  Installing SuSE 11.1 is quite easy if you've installed Linux products 
 before.  Some documentation is available from  before.  Some documentation is available from the
 <a href="http://en.opensuse.org/INSTALL_Local">  <a href="http://doc.opensuse.org/products/opensuse/openSUSE/opensuse-startup/art.osuse.installquick.html">
 http://en.opensuse.org/INSTALL_Local</a> for installations from DVD and  Installation Quick Start</a> guide.<br /><br /> 
 <a href="http://en.opensuse.org/INSTALL_Internet">http://en.opensuse.org/INSTALL_Internet</a> for installations via the network, booting from the NET iso CD.<br /><br />  Most of the installation screens are self explanatory.
 Most of the subsequent installation screens are self explanatory.  
 There are a few steps that require comment and are dealt with below.  There are a few steps that require comment and are dealt with below.
 </p>  </p>
 <dl style="list-style:square outside none">  <dl style="list-style:square outside none">
Line 91  There are a few steps that require comme Line 90  There are a few steps that require comme
        IP address.  When configuring your network card, you should include host name information (e.g., host name = tmp1, domain = lite.msu.edu), as well as name server. Other settings (ip address, gateway, netmask will have been set when you included them in the boot configuration).         IP address.  When configuring your network card, you should include host name information (e.g., host name = tmp1, domain = lite.msu.edu), as well as name server. Other settings (ip address, gateway, netmask will have been set when you included them in the boot configuration).
    </dd>     </dd>
    <dt>Firewall</dt>     <dt>Firewall</dt>
    <dd>Enable the firewall, and allow the following services: web services (http and https) and login services (SSH).</dd>     <dd>Enable the firewall, and allow login services (SSH).</dd>
    <dt>Online Update Configuration</dt>  
    <dd>It is recommended that you register your server with Novell for future updates during the installation process, and then run the online update.</dd>  
    </dt>     </dt>
 </dl>  </dl>
 <p>  <p>
Line 140  zypper ar -f 'http://download.opensuse.o Line 137  zypper ar -f 'http://download.opensuse.o
 <pre>  <pre>
 yast -i LONCAPA-prerequisites  yast -i 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>
   <h3>Configure firewall settings for Apache</h3>
   <p>After Apache has been installed use yast to configure the Firewall to open port 80 for http (and port 443 for https, if you plan to use Apache with SSL).
   <dl style="list-style:square outside none">
      <dt>Firewall</dt>
      <dd>Allow the following services: web services (http and https).</dd>
   </dl>
 </p>  </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 with the following command:  Retrieve the LON-CAPA setup with the following command:
 </p>  </p>
 <pre>  <pre>
 wget http://install.loncapa.org/versions/suse/11.1/suse11.1_install.tar  wget http://install.loncapa.org/linux/install.tar
 </pre>  </pre>
 <p>  <p>
 Extract the archive with the following command:  Extract the archive with the following command:
 </p>  </p>
 <pre>  <pre>
 tar xf suse11.1_install.tar  tar xf install.tar
 </pre>  </pre>
 <p>  <p>
 This creates a directory named <tt>installation</tt>.  Change to it and  This creates a directory named <tt>installation</tt>.  Change to it and
Line 164  cd installation Line 168  cd installation
 ./install.pl  ./install.pl
 </pre>  </pre>
 <p>  <p>
 This script will prompt you for the MySQL root password and will download the latest LON-CAPA release.  The script is used to prepare a Linux system to run LON-CAPA, and can also be
   used to check the configuration of a system on which LON-CAPA has already been installed.  Typically, though, you will run this script only once, when you first install LON-CAPA.
   </p>
   <p>
   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.
   </p>
   <p>The possible actions are:
   <ul>
   <li>Create the www user/group</li>
   <li>Install the package LON-CAPA uses to authenticate users.</li>
   <li>Set-up the MySQL database</li>
   <li>Set-up MySQL permissions</li>
   <li>Configure Apache web server</li>
   <li>Configure start-up of services</li>
   <li>Check firewall settings</li>
   <li>Stop services not used by LON-CAPA,<br />
       e.g., services for a print server: cups daemon</li>
   <li>Download LON-CAPA source code in readiness for installation</li>
   </ul>
 </p>  </p>
 <h3>Determine LON-CAPA Settings</h3>  <h3>Determine LON-CAPA Settings</h3>
 <p>  <p>
Line 182  for it to function at all.  Below is a l Line 205  for it to function at all.  Below is a l
   <dt>LON-CAPA domain</dt>    <dt>LON-CAPA domain</dt>
   <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 underscores or
       special characters.</i>        special characters (except hyphens).</i>
   </dd>    </dd>
   <dt>LON-CAPA host id</dt>    <dt>LON-CAPA host id</dt>
   <dd>Each LON-CAPA server requires a unique internal name.  We use names    <dd>Each LON-CAPA server requires a unique internal name.  We use names
       such as "msul1" for the first library server. <i>Restriction: One word,        such as "msul1" for the first library server. <i>Restriction: One word,
       no hyphens, underscores, or special characters.</i>        no underscores or special characters (except hyphens).</i>
   </dd>    </dd>
   <dt>Host administrator email</dt>    <dt>Host administrator email</dt>
   <dd>The amount of email sent to this address is relatively minimal.  Messages    <dd>The amount of email sent to this address is relatively minimal.  Messages
Line 202  for it to function at all.  Below is a l Line 225  for it to function at all.  Below is a l
 To configure and install LON-CAPA, execute the following commands:  To configure and install LON-CAPA, execute the following commands:
 </p>  </p>
 <pre>  <pre>
 cd /root/loncapa-N.N     (N.N should correspond to a version number like '2.9.0')  cd /root/loncapa-X.Y.Z     (X.Y.Z should correspond to a version number like '2.10.0')
 ./UPDATE  ./UPDATE
 </pre>  </pre>
 <p>  <p>
Line 215  in the previous section. Line 238  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"  Feel free to use the "passwd username" command to change it later.
 command to change it later.  Replace USERNAME and DOMAIN with an  Replace USERNAME and DOMAIN with an appropriate user name and your domain.
 appropriate user name and your domain.  
 </p>  </p>
 <pre>  <pre>
 cd /root/loncapa-N.N/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>

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


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