--- doc/Attic/how_to_install_loncapa_on_a_preinstalled_system.txt 2001/12/12 14:34:03 1.4 +++ doc/Attic/how_to_install_loncapa_on_a_preinstalled_system.txt 2002/04/14 17:17:32 1.7 @@ -1,5 +1,5 @@ Scott Harrison -$Date: 2001/12/12 14:34:03 $; $Revision: 1.4 $ +$Date: 2002/04/14 17:17:32 $; $Revision: 1.7 $ The standard process is to install LON-CAPA with an installation CD on a fresh system. We provide this document as a secondary @@ -12,6 +12,27 @@ for RedHat 7.1. Please note that step 1 run LON-CAPA on a shadow-based system. However, you need to follow steps at http://install.lon-capa.org/docs/loncapapasswordauthentication.html. +Also, an important bug that we keep forgetting with redhat 7.1 +and LON-CAPA. See below: + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!! REDHAT 7.* NOTICE !!!!!!!!!!!!!!!!!!!! +!!!!!!!!! LINE IN Cookie.pm !!!!!!!!!!!!!!!!!!!! +!!!!!!!!! MUST BE REPLACED DUE !!!!!!!!!!!!!!!!!!!! +!!!!!!!!! TO PERL 5.6.0 ERROR !!!!!!!!!!!!!!!!!!!! +!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!! The offending line is in CGI/Cookie.pm !! +!!!! !! +!!!! it should be changed from !! +!!!! $path = CGI::url(-absolute=>1) unless defined $path; !! +!!!! to !! +!!!! ($path = $ENV{'SCRIPT_NAME'})=~s![^/]+$!! unless $path; !! +!!!! !! +!!!! (This is just below the following line ) !! +!!!! # IE requires the path and domain to be present for some reason. !! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + + SUMMARY This is what has to happen in the installation. @@ -92,17 +113,11 @@ should go in cd loncom/build make build; make install NOTE!!! -REDHAT 7.1 or 7.2 (make DIST='redhat7.1' build; make DIST='redhat7.1' install) - -9. run /usr/sbin/loncapaconfig and change the settings on your - machine - - OR +REDHAT 7.1 or 7.2 (make DIST='redhat7' build; make DIST='redhat7' install) - manually edit - /etc/krb.conf - /etc/httpd/conf/access.conf - /home/httpd/lonTabs/hosts.tab +9. + manually edit configuration files + (see CVS:doc/build/reconfig.html) 10. restart all the services /etc/rc.d/init.d/httpd restart