--- doc/build/Attic/install.html 2002/11/15 23:36:58 1.35 +++ doc/build/Attic/install.html 2002/12/14 18:35:35 1.39 @@ -1,7 +1,7 @@ - + @@ -25,6 +25,8 @@ Make a LON-CAPA system work with shadow Installing LON-CAPA files
  • Checking your Linux RPMs
  • +
  • +Fixing /etc/hosts
  • Configuring the MySQL database
  • @@ -177,6 +179,27 @@ against an FTP repository.
    ./CHECKRPMS
    +

    +Also, please be sure to install the LON-CAPA-systemperl RPM as described on +the Downloads page. +

    + +

    Fixing /etc/hosts

    +

    +A common RedHat glitch of new installations (RedHat's fault, not LON-CAPA) +is the generation of /etc/hosts. +

    +

    +It should look something like this (except the myschool line +should be replaced with settings specific to your machine): +

    + + +
    +
    +127.0.0.1		localhost.localdomain localhost
    +12.34.56.78		www.myschool.edu myschool
    +

    Configuring the MySQL database

    @@ -211,7 +234,8 @@ mysql> CREATE DATABASE loncapa; mysql> INSERT INTO user (Host, User, Password) mysql> VALUES ('localhost','www',password('localhostkey')); -mysql> GRANT ALL PRIVILEGES ON loncapa.* TO 'www@localhost'; +mysql> INSERT INTO db VALUES ('localhost','loncapa','www', +mysql> 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); mysql> FLUSH PRIVILEGES;