version 1.7, 2000/11/21 15:35:09
|
version 1.10, 2001/12/01 15:38:52
|
Line 9
|
Line 9
|
Scott Harrison |
Scott Harrison |
</P> |
</P> |
<P> |
<P> |
Last updated: 11/21/2000 |
Last updated: 02/22/2001 |
</P> |
</P> |
<P> |
<P> |
This is the current list of steps to support LON-CAPA installation. These steps have |
This is the current list of steps to support LON-CAPA installation. These steps have |
been tested. |
been tested. |
<OL> |
<OL> |
<LI>Get Redhat 6.2 on a CD by |
<LI>Get LON-CAPA on a CD by |
<UL> |
<UL> |
<LI>Using a RedHat 6.2 CD |
<LI>Requesting a LON-CAPA installation CD (c/o Dr. Kortemeyer, |
<LI>Downloading a RedHat 6.2 <A HREF="http://install.lon-capa.org/3.1/currentcdimage">CD image</A> and burning a CD |
korte@lon-capa.org). |
<LI>Or, alternatively do a network install from a <A HREF="http://install.lon-capa.org/3.1/currentcdsource"> |
<LI>Or, downloading a LON-CAPA installation <A HREF="http://install.lon-capa.org/3.1/currentcdimage">CD image</A> and burning a CD. |
RedHat 6.2 CD source tree</A>. You need to burn a boot floppy disk with a network boot image; |
<LI>(Depending on whether your computer has a bootable CD-ROM, you may |
<A HREF="http://install.lon-capa.org/3.1/currentcdsource/images/bootnet-20000407.img"> |
need to also make a boot floppy. Download this floppy disk image file: |
bootnet-20000407.img</A>. (Download the image file; insert a blank floppy disk; and type a |
<A HREF="http://install.lon-capa.org/3.1/currentcdsource/images/boot-20000407.img"> |
command similar to: <TT>dd if=bootnet-20000407.img of=/dev/fd0</TT>). For installation, you |
boot-20000407.img</A>. (Download the image file; insert a blank floppy disk; and type this command: <TT>dd if=boot-20000407.img of=/dev/fd0</TT>). |
need to specify <TT>hobbes.lite.msu.edu/~loninst</TT> as your download URL, and <TT>/3.1/currentcdsource</TT> |
|
as the source location. |
|
</UL> |
</UL> |
<LI>Install RedHat 6.2 |
<LI>Install with CD-ROM |
<UL> |
<UL> |
<LI><B>Important: Do a "GNOME Workstation Install" and go with their default list of packages</B> |
<LI>Follow the <A HREF="instructions_with_cd.html"> |
<LI><B>Important: Make sure you add a user "www"</B> |
CD-ROM installation instructions</A> |
</UL> |
</UL> |
</P> |
<LI>After installation, restart the computer. Login as root. Enter this command (you only need to do this after your first reboot): |
<P> |
|
After installation, restart the computer. Login as root. Enter these two commands: |
|
<OL> |
<OL> |
<LI><TT>lynx -source http://install.lon-capa.org/3.1/scripts/postinstall.pl>postinstall.pl</TT> |
<LI><TT>sh /usr/sbin/loncapa_configure</TT> |
<LI><TT>perl postinstall.pl</TT> |
|
</OL> |
</OL> |
</P> |
|
<P> |
|
As postinstall.pl runs, you will be asked various questions. Follow the instructions to correctly |
|
enter in the appropriate parameter values. |
|
</P> |
|
<HR> |
|
<H1>Old steps; do not use these...</H1> |
|
Last updated: 11/01/2000 |
|
</P> |
|
<P> |
|
This is the current list of steps to support LON-CAPA installation. These steps have |
|
been tested. |
|
<OL> |
|
<LI>Get Redhat 6.2 on a CD by |
|
<UL> |
|
<LI>Using a RedHat 6.2 CD |
|
<LI>Downloading a RedHat 6.2 <A HREF="http://install.lon-capa.org/3.1/currentcdimage">CD image</A> and burning a CD |
|
<LI>Or, alternatively do a network install from a <A HREF="http://install.lon-capa.org/3.1/currentcdsource"> |
|
RedHat 6.2 CD source tree</A>. You need to burn a boot floppy disk with a network boot image; |
|
<A HREF="http://install.lon-capa.org/3.1/currentcdsource/images/bootnet-20000407.img"> |
|
bootnet-20000407.img</A>. (Download the image file; insert a blank floppy disk; and type a |
|
command similar to: <TT>dd if=bootnet-20000407.img of=/dev/fd0</TT>). For installation, you |
|
need to specify <TT>hobbes.lite.msu.edu/~loninst</TT> as your download URL, and <TT>/3.1/currentcdsource</TT> |
|
as the source location. |
|
</UL> |
|
<LI>Install RedHat 6.2 |
|
<UL> |
|
<LI><B>Important: Do a "GNOME Workstation Install" and go with their default list of packages</B> |
|
<LI><B>Important: Make sure you add a user "www"</B> |
|
</UL> |
|
<LI>After installation, install extra RPMs/upgrades by downloading all files from |
|
<A HREF="http://install.lon-capa.org/3.1/SupplementalRPMS/"> |
|
http://install.lon-capa.org/3.1/SupplementalRPMS</A>. |
|
<UL> |
|
<LI>Use this command to install the RPMs you download: <TT>rpm -Uvh --force *.rpm</TT>. |
|
</UL> |
|
<LI>Remove extra RPMs by downloading and running the script |
|
<A HREF="http://install.lon-capa.org/3.1/scripts/remove_extra.sh"> |
|
http://install.lon-capa.org/3.1/scripts/remove_extra.sh</A> as root. |
|
<LI>After installing the supplemental RPMS, install a final RPM set by downloading all files from |
|
<A HREF="http://install.lon-capa.org/3.1/FinalRPMS/"> |
|
http://install.lon-capa.org/3.1/FinalRPMS</A>. |
|
<UL> |
|
<LI>Use this command to install the RPMs you download: <TT>rpm -Uvh --force *.rpm</TT>. |
|
</UL> |
|
<LI>Configure needed files. |
|
<UL> |
|
<LI>Currently, reconfiguration must be handled manually and involves an administrator |
|
altering configuration files present throughout the system. For a list of these |
|
files and their descriptions, visit <A HREF="http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html"> |
|
http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html</A>. |
|
</UL> |
|
<LI>Important files are /etc/httpd/conf/access.conf, /etc/ntp.conf, /etc/krb.conf, |
|
/home/httpd/lonTabs/spare.tab, /home/httpd/lonTabs/hosts.tab (if setting up a cluster different |
|
than MSU's). |
|
<LI>Unshadow passwords |
|
<UL> |
|
<PRE>You can do this by these 5 steps: |
|
1. enter the system command, as "root", pwunconv |
|
2. enter the system command, as "root", grpunconv |
|
3. Set the following to be the /etc/pam.d/login file on your system |
|
#%PAM-1.0 |
|
auth required /lib/security/pam_securetty.so |
|
auth required /lib/security/pam_pwdb.so shadow nullok |
|
auth required /lib/security/pam_nologin.so |
|
account required /lib/security/pam_pwdb.so |
|
password required /lib/security/pam_cracklib.so |
|
password required /lib/security/pam_pwdb.so nullok use_authtok |
|
session required /lib/security/pam_pwdb.so |
|
session optional /lib/security/pam_console.so |
|
4. Set the following to be the /etc/pam.d/passwd file on your system |
|
#%PAM-1.0 |
|
auth required /lib/security/pam_pwdb.so shadow nullok |
|
account required /lib/security/pam_pwdb.so |
|
password required /lib/security/pam_cracklib.so retry=3 |
|
password required /lib/security/pam_pwdb.so use_authtok nullok |
|
5. Set/reset passwords. As "root" use 'passwd', and 'passwd www' |
|
to change the important passwords. This creates crypt-processible |
|
passwords in /etc/passwd. |
|
</PRE> |
|
</UL> |
|
<LI>Run, as root, <TT>ln -s /etc/mime.types /etc/httpd/conf/mime.types</TT> |
|
<LI>Run, as root, <TT>/etc/rc.d/init.d/httpd start</TT>. |
|
<LI>Run, as root, <TT>/etc/rc.d/init.d/loncontrol start</TT>. |
|
<LI>After 10 minutes, you should be able to check the file <TT>/home/httpd/html/lon-status/index.html</TT> |
|
to see if your machine has been successfully set up. |
|
</UL> |
|
</OL> |
</OL> |
</P> |
<hr /> |
<H3>Future Installation Procedure (not yet implemented)</H3> |
<p> |
<P> |
You can also try to install LON-CAPA on an existing installation of |
In the future, LON-CAPA Installation will be distributed on a CD complete with a |
RedHat 6.2. Please see <a href='how_to_install_loncapa_on_a_preinstalled_system.txt'>how_to_install_loncapa_on_a_preinstalled_system.txt</a>. |
customized interface. Many elements for doing this have been coded, and are in place, but |
</p> |
it awaits completion. |
|
</P> |
|
</BODY> |
</BODY> |
</HTML> |
</HTML> |