--- doc/build/Attic/loncapasqldatabase.html 2001/02/13 12:53:43 1.7 +++ doc/build/Attic/loncapasqldatabase.html 2001/02/14 14:33:35 1.8 @@ -20,6 +20,7 @@ and a SQL database.
  • Current status of documentation
  • Current status of implementation
  • Purpose within LON-CAPA
  • +
  • Dependencies
  • Installation
  • Installation from source
  • Configuration (automated)
  • @@ -142,6 +143,25 @@ THE SOLUTION: processes (lonsql's) handle the MySQL database manipulations.

    +

    Dependencies

    +

    +I believe (but am not 100% confident) that the following +RPMs are necessary (in addition to the current ones +in rpm_list.txt) to run MySQL. Basically I discovered these +dependencies while trying to do external RPM based installs. +I assume, and sometimes found, that these dependencies apply +to tarball-based distributions too. (So to play it on the +safe side, I am going to include these RPMs as part of the +core, minimal RPM set.) +

    + +

    Installation

    Installation of the LON-CAPA SQL database normally occurs @@ -174,6 +194,30 @@ actual MySQL functionality on the system

    Installation from source

    +Note: the mysql site recommends that Linux users install by +using the MySQL RPMs (MySQL-client, MySQL, MySQL-shared, etc). +While these RPMs work, I was unsuccessful at integrating +this RPM-installed database with perl modules from www.cpan.org. +Hence, I strongly recommend that, when installing +from "source", MySQL and the perl components be in fact installed +from their tarballs (.tar.gz, .tgz). (Perl components, when installed +from RPMs, also wound up in incorrect locations on the disk.) +Do not coordinate a source install with externally made RPMs! +It is, of course, okay to use LON-CAPA RPMs such as LON-CAPA-systemperl +and LON-CAPA-mysql since we, in fact, made these RPMs correctly :). +

    +

    + old notes in green +

    The following set of tarballs was found to work together properly on a LON-CAPA RedHat 6.2 system: