Annotation of doc/build/install.html, revision 1.7

1.1       harris41    1: <HTML>
                      2: <HEAD>
                      3: <TITLE>LON-CAPA Installation</TITLE>
                      4: </HEAD>
                      5: <BODY>
                      6: <H1>LON-CAPA Installation</H1>
                      7: <H3>Current Installation Procedure</H3>
                      8: <P>
1.4       harris41    9: Scott Harrison
                     10: </P>
                     11: <P>
1.7     ! harris41   12: Last updated: 11/21/2000
        !            13: </P>
        !            14: <P>
        !            15: This is the current list of steps to support LON-CAPA installation.  These steps have
        !            16: been tested.
        !            17: <OL>
        !            18: <LI>Get Redhat 6.2 on a CD by
        !            19: <UL>
        !            20: <LI>Using a RedHat 6.2 CD
        !            21: <LI>Downloading a RedHat 6.2 <A HREF="http://install.lon-capa.org/3.1/currentcdimage">CD image</A> and burning a CD
        !            22: <LI>Or, alternatively do a network install from a <A HREF="http://install.lon-capa.org/3.1/currentcdsource">
        !            23: RedHat 6.2 CD source tree</A>.  You need to burn a boot floppy disk with a network boot image;
        !            24: <A HREF="http://install.lon-capa.org/3.1/currentcdsource/images/bootnet-20000407.img">
        !            25: bootnet-20000407.img</A>.  (Download the image file; insert a blank floppy disk; and type a
        !            26: command similar to: <TT>dd if=bootnet-20000407.img of=/dev/fd0</TT>).  For installation, you
        !            27: need to specify <TT>hobbes.lite.msu.edu/~loninst</TT> as your download URL, and <TT>/3.1/currentcdsource</TT>
        !            28: as the source location.
        !            29: </UL>
        !            30: <LI>Install RedHat 6.2
        !            31: <UL>
        !            32: <LI><B>Important: Do a "GNOME Workstation Install" and go with their default list of packages</B>
        !            33: <LI><B>Important: Make sure you add a user "www"</B>
        !            34: </UL>
        !            35: </P>
        !            36: <P>
        !            37: After installation, restart the computer.  Login as root.  Enter these two commands:
        !            38: <OL>
        !            39: <LI><TT>lynx -source http://install.lon-capa.org/3.1/scripts/postinstall.pl&gt;postinstall.pl</TT>
        !            40: <LI><TT>perl postinstall.pl</TT>
        !            41: </OL>
        !            42: </P>
        !            43: <P>
        !            44: As postinstall.pl runs, you will be asked various questions.  Follow the instructions to correctly
        !            45: enter in the appropriate parameter values.
        !            46: </P>
        !            47: <HR>
        !            48: <H1>Old steps; do not use these...</H1>
1.5       harris41   49: Last updated: 11/01/2000
1.4       harris41   50: </P>
                     51: <P>
1.1       harris41   52: This is the current list of steps to support LON-CAPA installation.  These steps have
1.3       harris41   53: been tested.
1.1       harris41   54: <OL>
                     55: <LI>Get Redhat 6.2 on a CD by
                     56: <UL>
                     57: <LI>Using a RedHat 6.2 CD
1.2       harris41   58: <LI>Downloading a RedHat 6.2 <A HREF="http://install.lon-capa.org/3.1/currentcdimage">CD image</A> and burning a CD
                     59: <LI>Or, alternatively do a network install from a <A HREF="http://install.lon-capa.org/3.1/currentcdsource">
1.1       harris41   60: RedHat 6.2 CD source tree</A>.  You need to burn a boot floppy disk with a network boot image;
1.2       harris41   61: <A HREF="http://install.lon-capa.org/3.1/currentcdsource/images/bootnet-20000407.img">
1.1       harris41   62: bootnet-20000407.img</A>.  (Download the image file; insert a blank floppy disk; and type a
                     63: command similar to: <TT>dd if=bootnet-20000407.img of=/dev/fd0</TT>).  For installation, you
1.6       harris41   64: need to specify <TT>hobbes.lite.msu.edu/~loninst</TT> as your download URL, and <TT>/3.1/currentcdsource</TT>
1.1       harris41   65: as the source location.
                     66: </UL>
                     67: <LI>Install RedHat 6.2
                     68: <UL>
                     69: <LI><B>Important: Do a "GNOME Workstation Install" and go with their default list of packages</B>
                     70: <LI><B>Important: Make sure you add a user "www"</B>
                     71: </UL>
                     72: <LI>After installation, install extra RPMs/upgrades by downloading all files from
1.2       harris41   73: <A HREF="http://install.lon-capa.org/3.1/SupplementalRPMS/">
                     74: http://install.lon-capa.org/3.1/SupplementalRPMS</A>.
1.1       harris41   75: <UL>
                     76: <LI>Use this command to install the RPMs you download: <TT>rpm -Uvh --force *.rpm</TT>.
                     77: </UL>
                     78: <LI>Remove extra RPMs by downloading and running the script 
1.2       harris41   79: <A HREF="http://install.lon-capa.org/3.1/scripts/remove_extra.sh">
                     80: http://install.lon-capa.org/3.1/scripts/remove_extra.sh</A> as root.
1.3       harris41   81: <LI>After installing the supplemental RPMS, install a final RPM set by downloading all files from
                     82: <A HREF="http://install.lon-capa.org/3.1/FinalRPMS/">
                     83: http://install.lon-capa.org/3.1/FinalRPMS</A>.
                     84: <UL>
                     85: <LI>Use this command to install the RPMs you download: <TT>rpm -Uvh --force *.rpm</TT>.
                     86: </UL>
1.1       harris41   87: <LI>Configure needed files.
                     88: <UL>
                     89: <LI>Currently, reconfiguration must be handled manually and involves an administrator
                     90: altering configuration files present throughout the system.  For a list of these
1.3       harris41   91: files and their descriptions, visit <A HREF="http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html">
                     92: http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html</A>.
1.5       harris41   93: </UL>
1.1       harris41   94: <LI>Important files are /etc/httpd/conf/access.conf, /etc/ntp.conf, /etc/krb.conf,  
                     95: /home/httpd/lonTabs/spare.tab, /home/httpd/lonTabs/hosts.tab (if setting up a cluster different
1.3       harris41   96: than MSU's).
1.5       harris41   97: <LI>Unshadow passwords
                     98: <UL>
                     99: <PRE>You can do this by these 5 steps:
                    100: 1. enter the system command, as "root", pwunconv
                    101: 2. enter the system command, as "root", grpunconv
                    102: 3. Set the following to be the /etc/pam.d/login file on your system
                    103: #%PAM-1.0
                    104: auth       required     /lib/security/pam_securetty.so
                    105: auth       required     /lib/security/pam_pwdb.so shadow nullok
                    106: auth       required     /lib/security/pam_nologin.so
                    107: account    required     /lib/security/pam_pwdb.so
                    108: password   required     /lib/security/pam_cracklib.so
                    109: password   required     /lib/security/pam_pwdb.so nullok use_authtok
                    110: session    required     /lib/security/pam_pwdb.so
                    111: session    optional     /lib/security/pam_console.so
                    112: 4. Set the following to be the /etc/pam.d/passwd file on your system
                    113: #%PAM-1.0
                    114: auth       required     /lib/security/pam_pwdb.so shadow nullok
                    115: account    required     /lib/security/pam_pwdb.so
                    116: password   required     /lib/security/pam_cracklib.so retry=3
                    117: password   required     /lib/security/pam_pwdb.so use_authtok nullok
                    118: 5. Set/reset passwords.  As "root" use 'passwd', and 'passwd www'
                    119: to change the important passwords.  This creates crypt-processible
                    120: passwords in /etc/passwd.
                    121: </PRE>
                    122: </UL>
                    123: <LI>Run, as root, <TT>ln -s /etc/mime.types /etc/httpd/conf/mime.types</TT>
                    124: <LI>Run, as root, <TT>/etc/rc.d/init.d/httpd start</TT>.
1.3       harris41  125: <LI>Run, as root, <TT>/etc/rc.d/init.d/loncontrol start</TT>.
1.1       harris41  126: <LI>After 10 minutes, you should be able to check the file <TT>/home/httpd/html/lon-status/index.html</TT>
                    127: to see if your machine has been successfully set up.
                    128: </UL>
                    129: </OL>
                    130: </P>
                    131: <H3>Future Installation Procedure (not yet implemented)</H3>
                    132: <P>
                    133: In the future, LON-CAPA Installation will be distributed on a CD complete with a
                    134: customized interface.  Many elements for doing this have been coded, and are in place, but
                    135: it awaits completion.
                    136: </P>
                    137: </BODY>
                    138: </HTML>

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