File:  [LON-CAPA] / doc / Attic / how_to_install_loncapa_on_a_preinstalled_system.txt
Revision 1.1: download - view: text, annotated - select for diffs
Thu Jun 21 22:16:31 2001 UTC (22 years, 10 months ago) by ng
Branches: MAIN
CVS tags: stable_2001_fall, HEAD
quick instructions written by scott as adding it to Dr. Ng (Hon-Kie)'s
system. -Scott

    1: Scott Harrison
    2: June 21, 2001
    3: 
    4: NORMAL PEOPLE INSTALL LON-CAPA WITH THE INSTALLATION
    5: CD ON A FRESH SYSTEM.
    6: 
    7: IF YOU ARE A FREAKZOID, READ BELOW.
    8: 
    9: 1.  disable shadow and md5sum passwords
   10: remove 'md5 shadow' from 'password required' lines in
   11: /etc/pam.d/login
   12: /etc/pam.d/passwd
   13: 
   14: then run /usr/sbin/pwunconv and
   15: /usr/sbin/grpunconv
   16: 
   17: and then, manually enter in all your passwords again
   18: first for root
   19: passwd
   20: and then the usernames...
   21: passwd username1
   22: passwd username2
   23: 
   24: 2.  make sure you have a web server
   25: 
   26: 3.  make sure you have mod_perl
   27: http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/mod_perl-1.23-3.i386.rpm
   28: 
   29: 4.  cvs co loncapa (see install.lon-capa.org for instructions)
   30: 
   31: 5.  Install the LON-CAPA-base RPM
   32: http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/LON-CAPA-base-3.1-1.i386.rpm
   33: rpm -Uvh --force --nodeps /home/ng/RPMS/LON-CAPA-base-3.1-1.i386.rpm
   34: 
   35: 6.  Add a user www.
   36:     /usr/sbin/adduser www
   37: 
   38: 7.  make sure you have all the needed RPMs
   39:     as root, cd loncapa/loncom/build; make rpmstatuspost
   40:     look at the status of your RPMS
   41:     http://MACHINENAME/lon-status/rpmstatus.html
   42: 
   43:     install/upgrade the ones you don't have
   44:     probably start with the out-of-date RPMs
   45:     and then run make rpmstatuspost again
   46: 
   47:     install RPMs from the minimal set
   48:     (you might want to be a little selective here.. like, you
   49:      don't "need" autofs)
   50: 
   51:     install RPMs from the development set
   52:     (you might want to be a LOT selective here)
   53: 
   54: 8.  update LON-CAPA-base files with CVS
   55:     cvs update -d
   56:     cd loncom/build
   57:     make install; make configinstall
   58: 
   59: 9.  run /usr/sbin/loncapaconfig and change the settings on your
   60:     machine
   61: 
   62: 10. restart all the services
   63: /etc/rc.d/init.d/httpd restart
   64: /etc/rc.d/init.d/loncontrol restart

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