Diff for /doc/install/fedora/install.pl between versions 1.1 and 1.5

version 1.1, 2003/12/04 21:58:35 version 1.5, 2004/09/08 21:37:06
Line 1 Line 1
 #!/usr/bin/perl -w  #!/usr/bin/perl -w
 # The LearningOnline Network   # The LearningOnline Network 
 # Red Hat 7.3 installation script  # Fedora installation script
 #  #
 # $Id$  # $Id$
 #  #
Line 179  if ($install_httpd_conf) { Line 179  if ($install_httpd_conf) {
     &copy_httpd_conf();      &copy_httpd_conf();
 }  }
   
 my $lctarball = 'loncapa-current.tar.gz';  #my $lctarball = 'loncapa-current.tar.gz';
   my $lctarball = 'loncapa-fedora-current.tar.gz';
 if ($download_loncapa) {  if ($download_loncapa) {
     &download_loncapa($lctarball);      &download_loncapa($lctarball);
 } else {  } else {
Line 333  END Line 334  END
  $mysql_commands .= <<"END";   $mysql_commands .= <<"END";
 INSERT INTO user (Host, User, Password)  INSERT INTO user (Host, User, Password)
 VALUES ('localhost','www',password('localhostkey'));  VALUES ('localhost','www',password('localhostkey'));
 INSERT INTO db VALUES ('localhost','loncapa','www',  INSERT INTO db (Host,Db,User,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv,Grant_priv,References_priv,Index_priv,Alter_priv) VALUES ('localhost','loncapa','www','Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');  
 SET PASSWORD FOR root\@localhost=PASSWORD('$rootpass');  SET PASSWORD FOR root\@localhost=PASSWORD('$rootpass');
 DELETE FROM user WHERE host<>'localhost';  DELETE FROM user WHERE host<>'localhost';
 FLUSH PRIVILEGES;  FLUSH PRIVILEGES;
Line 409  END Line 409  END
     ## untar loncapa.tar.gz      ## untar loncapa.tar.gz
     ##      ##
     print_and_log("Extracting LON-CAPA source files\n");      print_and_log("Extracting LON-CAPA source files\n");
     writelog(`cd ~root; tar zxf $instdir/loncapa-current.tar.gz`);      writelog(`cd ~root; tar zxf $instdir/$lctarball`);
     print_and_log("\n");      print_and_log("\n");
     print <<"ENDMSG";      print <<"ENDMSG";
 All of the extra files seem to have been installed correctly.  It remains for   All of the extra files seem to have been installed correctly.  It remains for 

Removed from v.1.1  
changed lines
  Added in v.1.5


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