Diff for /doc/Attic/how_to_install_on_RedHat7.2.txt between versions 1.2 and 1.8

version 1.2, 2002/02/28 01:37:16 version 1.8, 2002/05/10 20:51:20
Line 1 Line 1
 $Id$  $Id$
   
 (Alternative approach to perl module-ing is at end...)  (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  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.  the web and sql servers along with any others you need or desire.
Line 50  LON-CAPA-base Line 51  LON-CAPA-base
 LON-CAPA-systemperl  LON-CAPA-systemperl
 LON-CAPA-krb4  LON-CAPA-krb4
 LON-CAPA-mysql  LON-CAPA-mysql
 LON-CAPA-loncapaconfig  
 LON-CAPA-barcode  LON-CAPA-barcode
   
 rpms on rpmfind.net (only accept these versions)  rpms on rpmfind.net (only accept these versions)
Line 83  rpm -Uvh --force --nodeps LON-CAPA-base Line 83  rpm -Uvh --force --nodeps LON-CAPA-base
 rpm -Uvh --force --nodeps rpm -Uvh LON-CAPA-systemperl.rpm  rpm -Uvh --force --nodeps rpm -Uvh LON-CAPA-systemperl.rpm
 rpm -Uvh --force --nodeps rpm -Uvh LON-CAPA-krb4.rpm  rpm -Uvh --force --nodeps rpm -Uvh LON-CAPA-krb4.rpm
 rpm -Uvh --force --nodeps rpm -Uvh LON-CAPA-mysql.rpm  rpm -Uvh --force --nodeps rpm -Uvh LON-CAPA-mysql.rpm
 rpm -Uvh --force --nodeps rpm -Uvh LON-CAPA-loncapaconfig.rpm  
 rpm -Uvh --force --nodeps rpm -Uvh LON-CAPA-barcode.rpm  rpm -Uvh --force --nodeps rpm -Uvh LON-CAPA-barcode.rpm
   
 7. Correct some RPM errors  7. Correct some RPM errors
Line 106  to: Line 105  to:
 cd ~/loncapa  cd ~/loncapa
 cvs update -d  cvs update -d
 cd loncom/build  cd loncom/build
 make DIST='redhat7.1' build; make DIST='redhat7.1' install  make DIST='redhat7' build; make DIST='redhat7' install
   
 10. Update LON-CAPA config files  10. Update LON-CAPA config files
   
Line 141  LON-CAPA hosts configuration: Line 140  LON-CAPA hosts configuration:
   
 12. Updated documentation  12. Updated documentation
 Please help us keep our documentation up to date!  If there is something  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!  us help others by improving it!
   
   
Line 158  libgd                 libgd-1.3-4.i386.r Line 157  libgd                 libgd-1.3-4.i386.r
 ==================================================================  ==================================================================
 Alternative Approaches  Alternative Approaches
   
   ------------------------------------------------------------------
 Regarding: Perl modules  Regarding: Perl modules
 As noted above, it is possible to install then redirect  As noted above, it is possible to install then redirect
 the files with LON-CAPA-systemperl.  Another approach  the files with LON-CAPA-systemperl.  Another approach
Line 204  rpm -Uvh perl-DBD-MySQL-1.2216-4.i386.rp Line 204  rpm -Uvh perl-DBD-MySQL-1.2216-4.i386.rp
 rpm -Uvh perl-DBI-1.18-1.i386.rpm   rpm -Uvh perl-DBI-1.18-1.i386.rpm 
   
 Still need:  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/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/W/WA/WADG/GDGraph3d-0.56.tar.gz
 wget http://www.cpan.org/authors/id/MVERB/GDGraph-1.33.tar.gz  wget http://www.cpan.org/authors/id/MVERB/GDGraph-1.33.tar.gz
Line 238  GDTextUtil Line 238  GDTextUtil
 perl Makefile.PL; make; make test; sudo make install  perl Makefile.PL; make; make test; sudo make install
 GDGraph (need to do GDTextUtil first so)  GDGraph (need to do GDTextUtil first so)
 perl Makefile.PL; make; make test; sudo make install  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)  Krb4 (need to get athena kerberos...delay)
 MailTools  MailTools
 perl Makefile.PL; make; make test; sudo make install  perl Makefile.PL; make; make test; sudo make install
Line 245  Math-Cephes Line 247  Math-Cephes
 perl Makefile.PL; make; make test; sudo make install  perl Makefile.PL; make; make test; sudo make install
 Math-Random  Math-Random
 perl Makefile.PL; make; make test; sudo make install  perl Makefile.PL; make; make test; sudo make install
   MIME-Tools
   perl Makefile.PL; make; make test; sudo make install
 Safe-Hole  Safe-Hole
 perl Makefile.PL; make; make test; sudo make install  perl Makefile.PL; make; make test; sudo make install
 Text-Query  Text-Query
Line 262  perl Makefile.PL POLLUTE=1; make; make t Line 266  perl Makefile.PL POLLUTE=1; make; make t
 Krb4  Krb4
 sudo rpm -Uvh LON-CAPA-krb4-3.1-1.i386.rpm  sudo rpm -Uvh LON-CAPA-krb4-3.1-1.i386.rpm
 perl Makefile.PL; make; make test; sudo make install  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)
   
   *********************************************** 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;
   
   INSERT INTO user (Host, User, Password)
   VALUES ('localhost','www',password('SOMEPASSWORD'));
   
   GRANT ALL PRIVILEGES ON *.* TO www@localhost;
   
   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:
   /sbin/chkconfig --level 345 httpd on
   /sbin/chkconfig --level 345 mysqld on 

Removed from v.1.2  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>