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, 9 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

Scott Harrison
June 21, 2001

NORMAL PEOPLE INSTALL LON-CAPA WITH THE INSTALLATION
CD ON A FRESH SYSTEM.

IF YOU ARE A FREAKZOID, READ BELOW.

1.  disable shadow and md5sum passwords
remove 'md5 shadow' from 'password required' lines in
/etc/pam.d/login
/etc/pam.d/passwd

then run /usr/sbin/pwunconv and
/usr/sbin/grpunconv

and then, manually enter in all your passwords again
first for root
passwd
and then the usernames...
passwd username1
passwd username2

2.  make sure you have a web server

3.  make sure you have mod_perl
http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/mod_perl-1.23-3.i386.rpm

4.  cvs co loncapa (see install.lon-capa.org for instructions)

5.  Install the LON-CAPA-base RPM
http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/LON-CAPA-base-3.1-1.i386.rpm
rpm -Uvh --force --nodeps /home/ng/RPMS/LON-CAPA-base-3.1-1.i386.rpm

6.  Add a user www.
    /usr/sbin/adduser www

7.  make sure you have all the needed RPMs
    as root, cd loncapa/loncom/build; make rpmstatuspost
    look at the status of your RPMS
    http://MACHINENAME/lon-status/rpmstatus.html

    install/upgrade the ones you don't have
    probably start with the out-of-date RPMs
    and then run make rpmstatuspost again

    install RPMs from the minimal set
    (you might want to be a little selective here.. like, you
     don't "need" autofs)

    install RPMs from the development set
    (you might want to be a LOT selective here)

8.  update LON-CAPA-base files with CVS
    cvs update -d
    cd loncom/build
    make install; make configinstall

9.  run /usr/sbin/loncapaconfig and change the settings on your
    machine

10. restart all the services
/etc/rc.d/init.d/httpd restart
/etc/rc.d/init.d/loncontrol restart

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