--- doc/Attic/how_to_install_on_RedHat7.2.txt 2002/04/14 17:17:32 1.5 +++ doc/Attic/how_to_install_on_RedHat7.2.txt 2002/05/10 20:51:20 1.8 @@ -1,4 +1,4 @@ -$Id: how_to_install_on_RedHat7.2.txt,v 1.5 2002/04/14 17:17:32 harris41 Exp $ +$Id: how_to_install_on_RedHat7.2.txt,v 1.8 2002/05/10 20:51:20 harris41 Exp $ (Alternative approach to perl module-ing is at end...) (Alternative approach to mysql is at end...) @@ -140,7 +140,7 @@ LON-CAPA hosts configuration: 12. Updated documentation Please help us keep our documentation up to date! If there is something -in this document that was unclear or required further explaination, please help +in this document that was unclear or required further explanation, please help us help others by improving it! @@ -204,7 +204,7 @@ rpm -Uvh perl-DBD-MySQL-1.2216-4.i386.rp rpm -Uvh perl-DBI-1.18-1.i386.rpm Still need: -wget http://www.linuxjar.com/CPAN/authors/id/R/RK/RKOBES/Math-FFT-0.25.tar.gz + http://www.cpan.org/authors/id/R/RK/RKOBES/Math-FFT-0.25.tar.gz wget http://www.cpan.org/authors/id/MVERB/GDTextUtil-0.80.tar.gz wget http://www.cpan.org/authors/id/W/WA/WADG/GDGraph3d-0.56.tar.gz wget http://www.cpan.org/authors/id/MVERB/GDGraph-1.33.tar.gz @@ -274,8 +274,11 @@ Require these RPMs: mysql-3.23.41-1 (or standard RedHat 7.* version) mysql-server-3.23.41 (or standard RedHat 7.* version) +*********************************************** Generating the 'www' mysql user Enter the mysql shell--- mysql -u root -p mysql +OR +mysql -u root mysql (depending on whether the mysql root password is set) Run these commands--- CREATE DATABASE loncapa; @@ -287,9 +290,13 @@ GRANT ALL PRIVILEGES ON *.* TO www@local FLUSH PRIVILEGES; +************************************* SECURITY: Setting the mysql root password 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' + ------------------------------------------------------------------ Also, be sure to: