How to make mandrake run LON-CAPA Scott Harrison October 2001 Files generated on the system during upgrade procedure (You may wish to delete these to keep your system clean and well-defined.) /mnt/DOS_hda1/mandrake70-2.i486.iso /home/www/*.rpm /home/www/LON-CAPA-rpms /home/www/RPMS /home/www/loncapa /root/kirs.pl /root/updatenow.txt /root/updateproblems.txt 1. cvs co loncapa 2. wget ftp://ftp2.sourceforge.net/pub/mirrors/mandrake/updates/7.0/RPMS/mod_perl-1.21-21mdk.i586.rpm 3. rpm -Uvh mod_perl-1.21-21mdk.i586.rpm 4. http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/LON-CAPA-base-3.1-1.i386.rpm 5. rpm -Uvh --force --nodeps /home/ng/RPMS/LON-CAPA-base-3.1-1.i386.rpm 6. cd loncapa/loncom/build; make rpmstatuspost 7. Look at http://HOSTNAME/lon-status/rpmstatus.html Look for the two sections: RPMS from the "bare minimum" set that you are missing and RPMS from the "development" set that you are missing These are RPMs you should probably update (DO NOT NOT NOT ever update LON-CAPA-setup though!!!!!!!!!!!!!!!) Note, I did not remove any RPMs. I was fairly liberal about leaving out various RPMs also. 8. Download original mandrake 7.0 rpm set (probably use ISO here) ftp://jungle.metalab.unc.edu/pub/Linux/distributions/mandrake/ Mandrake-iso/i586/mandrake70-2.i486.iso rpm -Uvh --force samba-* rpm -Uvh xntp3-5.93-4mdk.i486.rpm From install.lon-capa.org/3.1/latestRPMS rpm -Uvh swig-1.1p5-3.i386.rpm 9. Download update RPMs. ftp://ftp2.sourceforge.net/pub/mirrors/mandrake/updates/7.0/RPMS/ Using a modified CVS:loncapa/loncom/build/kirs.pl 78 RPMs currently on the system are updated unable to upgrade mod_php3 openldap added to system grpmi added to system urlview added to system 10. Download LON-CAPA RPMs. http://install.lon-capa.org/3.1/latestRPMS/LON-CAPA-barcode-3.1-1.i386.rpm http://install.lon-capa.org/3.1/latestRPMS/LON-CAPA-krb4-3.1-1.i386.rpm http://install.lon-capa.org/3.1/latestRPMS/LON-CAPA-loncapaconfig-3.1-1.i386.rpm http://install.lon-capa.org/3.1/latestRPMS/LON-CAPA-mysql-3.1-1.i386.rpm http://install.lon-capa.org/3.1/latestRPMS/LON-CAPA-systemperl-3.1-1.i386.rpm 11. Compile CVS repository cd loncapa/loncom/build make build 12. Install new CVS files make install 13. Configure system access.conf > PerlSetVar lonHostID testl1 > PerlSetVar lonRole library > PerlSetVar lonAdmEMail www@localhost > PerlSetVar lonDefDomain standalone > PerlSetVar lonLoadLim 2.00 > PerlSetVar lonExpire 86400 > PerlSetVar lonReceipt LKJSDKJjkhsdkopqouidnnn > PerlSetVar lonSqlAccess 123 > PerlSetVar lonSysEMail www@localhost spare.tab IS EMPTY hosts.tab testl1:standalone:library:mccoy.lite.msu.edu:35.8.63.43 should eventually be testl1:standalone:library:localhost:127.0.0.1 14. Enable support for shadow passwords (CVS:doc/loncapapasswordauthentication.html) 15. Add a domain coordinator (korte) (CVS:doc/how_to_domain_coordinator.txt) 16. Decided to reinstall apache RPMs using RedHat 6.2 (install.lon-capa.org/3.1/latestRPMS/.... apache, apache-devel, mod_perl)