[LON-CAPA-cvs] cvs: doc / how_to_install_on_RedHat7.2.txt

harris41 lon-capa-cvs@mail.lon-capa.org
Fri, 10 May 2002 16:17:17 -0000


harris41		Fri May 10 12:17:17 2002 EDT

  Modified files:              
    /doc	how_to_install_on_RedHat7.2.txt 
  Log:
  updating MySQL instructions; plus small spelling fix
  
  
Index: doc/how_to_install_on_RedHat7.2.txt
diff -u doc/how_to_install_on_RedHat7.2.txt:1.6 doc/how_to_install_on_RedHat7.2.txt:1.7
--- doc/how_to_install_on_RedHat7.2.txt:1.6	Tue May  7 17:47:32 2002
+++ doc/how_to_install_on_RedHat7.2.txt	Fri May 10 12:17:17 2002
@@ -1,4 +1,4 @@
-$Id: how_to_install_on_RedHat7.2.txt,v 1.6 2002/05/07 21:47:32 harris41 Exp $
+$Id: how_to_install_on_RedHat7.2.txt,v 1.7 2002/05/10 16:17:17 harris41 Exp $
 
 (Alternative approach to perl module-ing is at end...)
 (Alternative approach to mysql is at end...)
@@ -140,7 +140,7 @@
 
 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!
 
 
@@ -274,8 +274,11 @@
 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,8 +290,12 @@
 
 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'
 
 ------------------------------------------------------------------