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

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.5     ! harris41   12: Last updated: 11/01/2000
1.4       harris41   13: </P>
                     14: <P>
1.1       harris41   15: This is the current list of steps to support LON-CAPA installation.  These steps have
1.3       harris41   16: been tested.
1.1       harris41   17: <OL>
                     18: <LI>Get Redhat 6.2 on a CD by
                     19: <UL>
                     20: <LI>Using a RedHat 6.2 CD
1.2       harris41   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">
1.1       harris41   23: RedHat 6.2 CD source tree</A>.  You need to burn a boot floppy disk with a network boot image;
1.2       harris41   24: <A HREF="http://install.lon-capa.org/3.1/currentcdsource/images/bootnet-20000407.img">
1.1       harris41   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>http://www.lon-capa.org</TT> as your download URL, and <TT>/install/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: <LI>After installation, install extra RPMs/upgrades by downloading all files from
1.2       harris41   36: <A HREF="http://install.lon-capa.org/3.1/SupplementalRPMS/">
                     37: http://install.lon-capa.org/3.1/SupplementalRPMS</A>.
1.1       harris41   38: <UL>
                     39: <LI>Use this command to install the RPMs you download: <TT>rpm -Uvh --force *.rpm</TT>.
                     40: </UL>
                     41: <LI>Remove extra RPMs by downloading and running the script 
1.2       harris41   42: <A HREF="http://install.lon-capa.org/3.1/scripts/remove_extra.sh">
                     43: http://install.lon-capa.org/3.1/scripts/remove_extra.sh</A> as root.
1.3       harris41   44: <LI>After installing the supplemental RPMS, install a final RPM set by downloading all files from
                     45: <A HREF="http://install.lon-capa.org/3.1/FinalRPMS/">
                     46: http://install.lon-capa.org/3.1/FinalRPMS</A>.
                     47: <UL>
                     48: <LI>Use this command to install the RPMs you download: <TT>rpm -Uvh --force *.rpm</TT>.
                     49: </UL>
1.1       harris41   50: <LI>Configure needed files.
                     51: <UL>
                     52: <LI>Currently, reconfiguration must be handled manually and involves an administrator
                     53: altering configuration files present throughout the system.  For a list of these
1.3       harris41   54: files and their descriptions, visit <A HREF="http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html">
                     55: http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html</A>.
1.5     ! harris41   56: </UL>
1.1       harris41   57: <LI>Important files are /etc/httpd/conf/access.conf, /etc/ntp.conf, /etc/krb.conf,  
                     58: /home/httpd/lonTabs/spare.tab, /home/httpd/lonTabs/hosts.tab (if setting up a cluster different
1.3       harris41   59: than MSU's).
1.5     ! harris41   60: <LI>Unshadow passwords
        !            61: <UL>
        !            62: <PRE>You can do this by these 5 steps:
        !            63: 1. enter the system command, as "root", pwunconv
        !            64: 2. enter the system command, as "root", grpunconv
        !            65: 3. Set the following to be the /etc/pam.d/login file on your system
        !            66: #%PAM-1.0
        !            67: auth       required     /lib/security/pam_securetty.so
        !            68: auth       required     /lib/security/pam_pwdb.so shadow nullok
        !            69: auth       required     /lib/security/pam_nologin.so
        !            70: account    required     /lib/security/pam_pwdb.so
        !            71: password   required     /lib/security/pam_cracklib.so
        !            72: password   required     /lib/security/pam_pwdb.so nullok use_authtok
        !            73: session    required     /lib/security/pam_pwdb.so
        !            74: session    optional     /lib/security/pam_console.so
        !            75: 4. Set the following to be the /etc/pam.d/passwd file on your system
        !            76: #%PAM-1.0
        !            77: auth       required     /lib/security/pam_pwdb.so shadow nullok
        !            78: account    required     /lib/security/pam_pwdb.so
        !            79: password   required     /lib/security/pam_cracklib.so retry=3
        !            80: password   required     /lib/security/pam_pwdb.so use_authtok nullok
        !            81: 5. Set/reset passwords.  As "root" use 'passwd', and 'passwd www'
        !            82: to change the important passwords.  This creates crypt-processible
        !            83: passwords in /etc/passwd.
        !            84: </PRE>
        !            85: </UL>
        !            86: <LI>Run, as root, <TT>ln -s /etc/mime.types /etc/httpd/conf/mime.types</TT>
        !            87: <LI>Run, as root, <TT>/etc/rc.d/init.d/httpd start</TT>.
1.3       harris41   88: <LI>Run, as root, <TT>/etc/rc.d/init.d/loncontrol start</TT>.
1.1       harris41   89: <LI>After 10 minutes, you should be able to check the file <TT>/home/httpd/html/lon-status/index.html</TT>
                     90: to see if your machine has been successfully set up.
                     91: </UL>
                     92: </OL>
                     93: </P>
                     94: <H3>Future Installation Procedure (not yet implemented)</H3>
                     95: <P>
                     96: In the future, LON-CAPA Installation will be distributed on a CD complete with a
                     97: customized interface.  Many elements for doing this have been coded, and are in place, but
                     98: it awaits completion.
                     99: </P>
                    100: </BODY>
                    101: </HTML>

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