Diff for /doc/Attic/how_to_install_on_RedHat7.2.txt between versions 1.4 and 1.10

version 1.4, 2002/03/02 05:37:32 version 1.10, 2002/09/23 01:25:09
Line 105  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
   
 httpd configuration:  httpd configuration:
   
 cd /etc/httpd/conf  cd /etc/httpd/conf
 cp access.conf.lpmlnew access.conf  cp loncapa.conf.lpmlnew loncapa.conf
 edit access.conf to reflect the correct information:  edit loncapa.conf to reflect the correct information:
   
 PerlSetVar       lonHostID    YOUR LON-HOST ID  PerlSetVar       lonHostID    YOUR LON-HOST ID
 PerlSetVar       lonRole      library  PerlSetVar       lonRole      library
Line 140  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 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 274  Require these RPMs: Line 274  Require these RPMs:
 mysql-3.23.41-1 (or standard RedHat 7.* version)  mysql-3.23.41-1 (or standard RedHat 7.* version)
 mysql-server-3.23.41 (or standard RedHat 7.* version)  mysql-server-3.23.41 (or standard RedHat 7.* version)
   
   *********************************************** Generating the 'www' mysql user
 Enter the mysql shell---  Enter the mysql shell---
 mysql -u root -p mysql  mysql -u root -p mysql
   OR
   mysql -u root mysql     (depending on whether the mysql root password is set)
   
 Run these commands---  Run these commands---
 CREATE DATABASE loncapa;  CREATE DATABASE loncapa;
Line 283  CREATE DATABASE loncapa; Line 286  CREATE DATABASE loncapa;
 INSERT INTO user (Host, User, Password)  INSERT INTO user (Host, User, Password)
 VALUES ('localhost','www',password('SOMEPASSWORD'));  VALUES ('localhost','www',password('SOMEPASSWORD'));
   
 GRANT ALL PRIVILEGES ON *.* TO www@localhost;  GRANT ALL PRIVILEGES ON loncapa.* TO www@localhost;
   
 FLUSH PRIVILEGES;  FLUSH PRIVILEGES;
   
   ************************************* SECURITY: Setting the mysql root password
 shell> mysql -u root mysql  shell> mysql -u root mysql
 mysql> SET PASSWORD FOR root@localhost=PASSWORD('new_password');  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:  Also, be sure to:

Removed from v.1.4  
changed lines
  Added in v.1.10


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