File:  [LON-CAPA] / doc / build / Attic / install.html
Revision 1.13: download - view: text, annotated - select for diffs
Tue Apr 23 12:33:40 2002 UTC (22 years, 2 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
latest updates

    1: <!-- The LearningOnline Network with CAPA -->
    2: <!-- $Id: install.html,v 1.13 2002/04/23 12:33:40 harris41 Exp $ -->
    3: <html>
    4: <head>
    5: <title>LON-CAPA Installation</title>
    6: <!-- pdfahref install.pdf -->
    7: <!-- button INSTALL -->
    8: </head>
    9: <body bgcolor='#ffffff'>
   10: <!-- preamble start -->
   11: <br />&nbsp;
   12: <p>
   13: You will need to check all the following things to ensure proper
   14: installation of your LON-CAPA system.
   15: <ul>
   16: <li><a href="#wwwuser">
   17: Creating a user 'www'</a></li>
   18: <li><a href="#shadow">
   19: Make a LON-CAPA system work with shadow passwords</a></li>
   20: <li><a href="#install">
   21: Installing LON-CAPA files</a></li>
   22: <li><a href="#checkrpms">
   23: Checking your Linux RPMs</a></li>
   24: <li><a href="#mysql">
   25: Configuring the MySQL database</a></li>
   26: </ul>
   27: <br />&nbsp;
   28: <!-- preamble end -->
   29: <!-- maintext start -->
   30: <a name="wwwuser" />
   31: <h3>Creating a user 'www'</h3>
   32: <p>
   33: 
   34: </p>
   35: <a name="shadow" />
   36: <h3>Make a LON-CAPA system work with shadow passwords</h3>
   37: <p>
   38: <table border='1'>
   39: <tr><th>Step #</th><th>Description</th></tr>
   40: <tr><td>
   41: <font size='+1'>1</font>
   42: </td><td>
   43: <p>Is your system using shadow passwords? (Note: LON-CAPA will
   44: work with either MD5/non-MD5 configured systems).  If your
   45: system is not using shadow passwords, then do not perform
   46: any of the additional steps.  If your system is using shadow
   47: passwords, then you will need to perform the additional steps below.
   48: </p>
   49: <p>
   50: <strong>How to detect:</strong>
   51: <br />command: <tt>cat /etc/passwd | grep ':x:'</tt>
   52: </p>
   53: <p>If there is output such as "<tt>root:x:0:0:root:/root:/bin/bash</tt>",
   54: then your system is using shadow passwords and you will need to continue with
   55: the steps below.
   56: </p>
   57: </td></tr>
   58: <tr><td>
   59: <font size='+1'>2</font>
   60: </td><td>
   61: <p><strong>Retrieve the mod_auth_external source</strong> by
   62: running the following command
   63: </p>
   64: <p><tt>
   65: wget http://www.wwnet.net/~janc/software/mod_auth_external-2.1.13.tar.gz
   66: </tt>
   67: </p>
   68: </td></tr>
   69: <tr><td>
   70: <font size='+1'>3</font>
   71: </td><td>
   72: <p><strong>More steps...</strong>
   73: </p>
   74: <p><tt>
   75: There are more steps to include here.
   76: </tt>
   77: </p>
   78: </td></tr>
   79: </table>
   80: </p>
   81: <a name="install" />
   82: <h3>Installing LON-CAPA files</h3>
   83: <p>
   84: Download the most current
   85: <a href="http://install.lon-capa.org/versions/current/loncapa.tar.gz">
   86: loncapa.tar.gz</a>.
   87: </p>
   88: <a name="checkrpms" />
   89: <h3>Checking your Linux RPMs</h3>
   90: <p>
   91: The CHECKRPMS command will check the RPMs on your machine against
   92: an FTP repository.
   93: </p>
   94: <table bgcolor="#aaaaaa">
   95: <tr><td><tt>./CHECKRPMS</tt></td></tr>
   96: </table>
   97: <a name="mysql" />
   98: <h3>Configuring the MySQL database</h3>
   99: <p>
  100: The following commands describe how to configure the MySQL database
  101: on your LON-CAPA server.
  102: </p>
  103: <table bgcolor="#aaaaaa"><tr><td>
  104: <pre>
  105: Enter the mysql shell---
  106: mysql -u root -p mysql
  107: 
  108: Run these commands---
  109: CREATE DATABASE loncapa;
  110: 
  111: INSERT INTO user (Host, User, Password)
  112: VALUES ('localhost','www',password('SOMEPASSWORD'));
  113: 
  114: GRANT ALL PRIVILEGES ON *.* TO www@localhost;
  115: 
  116: FLUSH PRIVILEGES;
  117: 
  118: shell> mysql -u root mysql
  119: mysql> SET PASSWORD FOR root@localhost=PASSWORD('new_password');
  120: </pre>
  121: </td></tr></table>
  122: <!-- maintext end -->
  123: <h1>LON-CAPA Installation</h1>
  124: <h3>Current Installation Procedure</h3>
  125: <p>
  126: Scott Harrison
  127: </p>
  128: <p>$Date: 2002/04/23 12:33:40 $; $Revision: 1.13 $</p>
  129: <p>
  130: This is the current list of steps to support LON-CAPA installation.  These
  131: steps have been tested.</p>
  132: <ol>
  133: <li>Get LON-CAPA on a CD by
  134: <ul>
  135: <li>Requesting a LON-CAPA installation CD (c/o Helen Keefe, 
  136: helen@lon-capa.org).</li>
  137: <li>Or, downloading a LON-CAPA installation
  138: <a href="http://install.lon-capa.org/3.1/currentcdimage">CD image</A> and
  139: burning a CD.</li>
  140: <li>(Depending on whether your computer has a bootable CD-ROM, you may
  141: need to also make a boot floppy.  Download this floppy disk image file: 
  142: <a href=
  143: "http://install.lon-capa.org/3.1/currentcdsource/images/boot-20000407.img">
  144: boot-20000407.img</a>.  (Download the image file; insert a blank floppy disk;
  145: and type this command: <tt>dd if=boot-20000407.img of=/dev/fd0</tt>).</li>
  146: </ul></li>
  147: <li>Install with CD-ROM
  148: <ul>
  149: <li>Follow the <A HREF="instructions_with_cd.html">
  150: CD-ROM installation instructions</a></li>
  151: </ul></li>
  152: <li>After installation, restart the computer.  Login as root.  Enter this
  153: command (you only need to do this after your first reboot):
  154: <ol>
  155: <li><tt>sh /usr/sbin/loncapa_configure</tt></li>
  156: </ol></li>
  157: </ol>
  158: <hr />
  159: <p>
  160: You can also try to install LON-CAPA on an existing installation of
  161: RedHat 6.2.  Please see <a
  162: href='how_to_install_loncapa_on_a_preinstalled_system.txt'>
  163: how_to_install_loncapa_on_a_preinstalled_system.txt</a>.
  164: </p>
  165: </body>
  166: </html>

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