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

harris41 lon-capa-cvs@mail.lon-capa.org
Sat, 02 Mar 2002 05:37:32 -0000


harris41		Sat Mar  2 00:37:32 2002 EDT

  Modified files:              
    /doc	how_to_install_on_RedHat7.2.txt 
  Log:
  adding notes on chkconfig and also mysql using RedHat 7.* mysql
  RPMs
  
  
Index: doc/how_to_install_on_RedHat7.2.txt
diff -u doc/how_to_install_on_RedHat7.2.txt:1.3 doc/how_to_install_on_RedHat7.2.txt:1.4
--- doc/how_to_install_on_RedHat7.2.txt:1.3	Fri Mar  1 17:11:17 2002
+++ doc/how_to_install_on_RedHat7.2.txt	Sat Mar  2 00:37:32 2002
@@ -1,6 +1,7 @@
-$Id: how_to_install_on_RedHat7.2.txt,v 1.3 2002/03/01 22:11:17 harris41 Exp $
+$Id: how_to_install_on_RedHat7.2.txt,v 1.4 2002/03/02 05:37:32 harris41 Exp $
 
 (Alternative approach to perl module-ing is at end...)
+(Alternative approach to mysql is at end...)
 
 Install RedHat 7.2 on your system.  Use a 'custom' install and include
 the web and sql servers along with any others you need or desire.
@@ -156,6 +157,7 @@
 ==================================================================
 Alternative Approaches
 
+------------------------------------------------------------------
 Regarding: Perl modules
 As noted above, it is possible to install then redirect
 the files with LON-CAPA-systemperl.  Another approach
@@ -236,6 +238,8 @@
 perl Makefile.PL; make; make test; sudo make install
 GDGraph (need to do GDTextUtil first so)
 perl Makefile.PL; make; make test; sudo make install
+IO-Stringy
+perl Makefile.PL; make; make test; sudo make install
 Krb4 (need to get athena kerberos...delay)
 MailTools
 perl Makefile.PL; make; make test; sudo make install
@@ -243,6 +247,8 @@
 perl Makefile.PL; make; make test; sudo make install
 Math-Random
 perl Makefile.PL; make; make test; sudo make install
+MIME-Tools
+perl Makefile.PL; make; make test; sudo make install
 Safe-Hole
 perl Makefile.PL; make; make test; sudo make install
 Text-Query
@@ -260,3 +266,32 @@
 Krb4
 sudo rpm -Uvh LON-CAPA-krb4-3.1-1.i386.rpm
 perl Makefile.PL; make; make test; sudo make install
+
+------------------------------------------------------------------
+
+Regarding MySQL.
+Require these RPMs:
+mysql-3.23.41-1 (or standard RedHat 7.* version)
+mysql-server-3.23.41 (or standard RedHat 7.* version)
+
+Enter the mysql shell---
+mysql -u root -p mysql
+
+Run these commands---
+CREATE DATABASE loncapa;
+
+INSERT INTO user (Host, User, Password)
+VALUES ('localhost','www',password('SOMEPASSWORD'));
+
+GRANT ALL PRIVILEGES ON *.* TO www@localhost;
+
+FLUSH PRIVILEGES;
+
+shell> mysql -u root mysql
+mysql> SET PASSWORD FOR root@localhost=PASSWORD('new_password');
+
+------------------------------------------------------------------
+
+Also, be sure to:
+/sbin/chkconfig --level 345 httpd on
+/sbin/chkconfig --level 345 mysqld on