--- doc/Attic/how_to_install_on_RedHat7.2.txt 2002/05/10 16:17:17 1.7 +++ doc/Attic/how_to_install_on_RedHat7.2.txt 2002/09/23 01:25:09 1.10 @@ -1,4 +1,4 @@ -$Id: how_to_install_on_RedHat7.2.txt,v 1.7 2002/05/10 16:17:17 harris41 Exp $ +$Id: how_to_install_on_RedHat7.2.txt,v 1.10 2002/09/23 01:25:09 harris41 Exp $ (Alternative approach to perl module-ing is at end...) (Alternative approach to mysql is at end...) @@ -112,8 +112,8 @@ make DIST='redhat7' build; make DIST='re httpd configuration: cd /etc/httpd/conf -cp access.conf.lpmlnew access.conf -edit access.conf to reflect the correct information: +cp loncapa.conf.lpmlnew loncapa.conf +edit loncapa.conf to reflect the correct information: PerlSetVar lonHostID YOUR LON-HOST ID PerlSetVar lonRole library @@ -286,7 +286,7 @@ CREATE DATABASE loncapa; INSERT INTO user (Host, User, Password) VALUES ('localhost','www',password('SOMEPASSWORD')); -GRANT ALL PRIVILEGES ON *.* TO www@localhost; +GRANT ALL PRIVILEGES ON loncapa.* TO www@localhost; FLUSH PRIVILEGES; @@ -295,7 +295,7 @@ shell> mysql -u root mysql mysql> SET PASSWORD FOR root@localhost=PASSWORD('new_password'); ************************************ SECURITY: only allow access from localhost -mysql> delete * from user where host<>'localhost' +mysql> delete from user where host<>'localhost' ------------------------------------------------------------------