--- doc/build/Attic/loncapasqldatabase.html 2001/02/12 17:32:15 1.5 +++ 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)
  • @@ -41,11 +42,22 @@ and checked again!

    Current status of implementation

    +Need to +

    +

    Right now, a lot of "feasibility" work has been done. Recipes for manual installation and configuration have been gathered. Network connectivity of lond->lonsql->lond->lonc type tests have been performed. A binary installation -has been compiled in an RPM (LON-CAPA-mysql). +has been compiled in an RPM (LON-CAPA-mysql, with perl components +a part of LON-CAPA-systemperl). The most lacking test in terms of feasibility has been looking at benchmarks to analyze the load at which the SQL database can efficiently allow many users to @@ -131,13 +143,33 @@ 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 by default when using the LON-CAPA installation CD (see http://install.lon-capa.org). It is installed as the LON-CAPA-mysql RPM. This RPM encodes for the MySQL -engine and related perl interfaces (Perl::DBI, Perl::Msql-Mysql). +engine. Related perl interfaces (Perl::DBI, Perl::Msql-Mysql) +are encoded in the LON-CAPA-systemperl RPM.

    The three components of a MySQL installation for the @@ -162,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: