--- doc/build/Attic/install.html 2002/11/15 23:36:58 1.35 +++ doc/build/Attic/install.html 2002/11/16 15:35:33 1.37 @@ -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,23 @@ against an FTP repository.
    ./CHECKRPMS
    +
    +

    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 +230,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;