Annotation of doc/how_to_install_loncapa_on_a_preinstalled_system.txt, revision 1.2
1.1 ng 1: Scott Harrison
1.2 ! harris41 2: $Date$; $Revision$
1.1 ng 3:
1.2 ! harris41 4: The standard process is to install LON-CAPA with an installation
! 5: CD on a fresh system. We provide this document as a secondary
! 6: service to those who wish to install and experiment on an existing
! 7: Linux system.
1.1 ng 8:
1.2 ! harris41 9: These are the current steps for installing LON-CAPA on an existing
! 10: RedHat 6.2 system. Please note that step 1 is optional. You can
! 11: run LON-CAPA on a shadow-based system. However, you need to follow
! 12: steps at http://install.lon-capa.org/docs/loncapapasswordauthentication.html.
1.1 ng 13:
14: 1. disable shadow and md5sum passwords
15: remove 'md5 shadow' from 'password required' lines in
16: /etc/pam.d/login
17: /etc/pam.d/passwd
18:
19: then run /usr/sbin/pwunconv and
20: /usr/sbin/grpunconv
21:
22: and then, manually enter in all your passwords again
23: first for root
24: passwd
25: and then the usernames...
26: passwd username1
27: passwd username2
28:
29: 2. make sure you have a web server
30:
31: 3. make sure you have mod_perl
32: http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/mod_perl-1.23-3.i386.rpm
33:
34: 4. cvs co loncapa (see install.lon-capa.org for instructions)
35:
36: 5. Install the LON-CAPA-base RPM
37: http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/LON-CAPA-base-3.1-1.i386.rpm
38: rpm -Uvh --force --nodeps /home/ng/RPMS/LON-CAPA-base-3.1-1.i386.rpm
39:
40: 6. Add a user www.
41: /usr/sbin/adduser www
42:
43: 7. make sure you have all the needed RPMs
44: as root, cd loncapa/loncom/build; make rpmstatuspost
45: look at the status of your RPMS
46: http://MACHINENAME/lon-status/rpmstatus.html
47:
48: install/upgrade the ones you don't have
49: probably start with the out-of-date RPMs
50: and then run make rpmstatuspost again
51:
52: install RPMs from the minimal set
53: (you might want to be a little selective here.. like, you
54: don't "need" autofs)
55:
56: install RPMs from the development set
57: (you might want to be a LOT selective here)
58:
59: 8. update LON-CAPA-base files with CVS
60: cvs update -d
61: cd loncom/build
62: make install; make configinstall
63:
64: 9. run /usr/sbin/loncapaconfig and change the settings on your
65: machine
66:
67: 10. restart all the services
68: /etc/rc.d/init.d/httpd restart
69: /etc/rc.d/init.d/loncontrol restart
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>