version 1.3, 2003/12/12 22:06:08
|
version 1.5, 2004/09/08 21:37:06
|
Line 180 if ($install_httpd_conf) {
|
Line 180 if ($install_httpd_conf) {
|
} |
} |
|
|
#my $lctarball = 'loncapa-current.tar.gz'; |
#my $lctarball = 'loncapa-current.tar.gz'; |
my $lctarball = 'loncapa-fedora-1.0.99.2.tar.gz'; |
my $lctarball = 'loncapa-fedora-current.tar.gz'; |
if ($download_loncapa) { |
if ($download_loncapa) { |
&download_loncapa($lctarball); |
&download_loncapa($lctarball); |
} else { |
} else { |
Line 334 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; |