--- doc/Attic/how_to_install_loncapa_on_a_preinstalled_system.txt 2001/12/12 14:31:35 1.3 +++ doc/Attic/how_to_install_loncapa_on_a_preinstalled_system.txt 2001/12/12 22:29:00 1.5 @@ -1,5 +1,5 @@ Scott Harrison -$Date: 2001/12/12 14:31:35 $; $Revision: 1.3 $ +$Date: 2001/12/12 22:29:00 $; $Revision: 1.5 $ 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,31 @@ 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.1 NOTICE !!!!!!!!!!!!!!!!!!!! +!!!!!!!!! LINE IN Cookie.pm !!!!!!!!!!!!!!!!!!!! +!!!!!!!!! MUST BE REPLACED DUE !!!!!!!!!!!!!!!!!!!! +!!!!!!!!! TO PERL 5.6.0 ERROR !!!!!!!!!!!!!!!!!!!! +!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!! The offending line is in CGI/Cookie.pm !! +!!!! !! +!!!! it went from !! +!!!! !! +!!!! !! +!!!! # IE requires the path and domain to be present for some reason. !! +!!!! ($path = $ENV{'SCRIPT_NAME'})=~s![^/]+$!! unless $path; !! +!!!! !! +!!!! to !! +!!!! !! +!!!! !! +!!!! # IE requires the path and domain to be present for some reason. !! +!!!! $path = CGI::url(-absolute=>1) unless defined $path; !! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + + SUMMARY This is what has to happen in the installation. @@ -60,6 +85,8 @@ If you are using RedHat 7.1, the only fi RPM is tth.so. http://install.lon-capa.org/3.1/binaries/tth.so +should go in +/usr/lib/perl5/site_perl/5.???/tth.so 6. Add a user www. /usr/sbin/adduser www