version 1.1, 2000/10/25 18:37:49
|
version 1.3, 2000/10/26 08:01:26
|
Line 7
|
Line 7
|
<H3>Current Installation Procedure</H3> |
<H3>Current Installation Procedure</H3> |
<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 (almost, I'm going to do this today). |
been tested. |
<OL> |
<OL> |
<LI>Get Redhat 6.2 on a CD by |
<LI>Get Redhat 6.2 on a CD by |
<UL> |
<UL> |
<LI>Using a RedHat 6.2 CD |
<LI>Using a RedHat 6.2 CD |
<LI>Downloading a RedHat 6.2 <A HREF="http://www.lon-capa.org/install/3.1/currentcdimage">CD image</A> and burning a 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://www.lon-capa.org/install/3.1/currentcdsource"> |
<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; |
RedHat 6.2 CD source tree</A>. You need to burn a boot floppy disk with a network boot image; |
<A HREF="http://www.lon-capa.org/install/3.1/currentcdsource/images/bootnet-20000407.img"> |
<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 |
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 |
command similar to: <TT>dd if=bootnet-20000407.img of=/dev/fd0</TT>). For installation, you |
need to specify <TT>http://www.lon-capa.org</TT> as your download URL, and <TT>/install/3.1/currentcdsource</TT> |
need to specify <TT>http://www.lon-capa.org</TT> as your download URL, and <TT>/install/3.1/currentcdsource</TT> |
Line 27 as the source location.
|
Line 27 as the source location.
|
<LI><B>Important: Make sure you add a user "www"</B> |
<LI><B>Important: Make sure you add a user "www"</B> |
</UL> |
</UL> |
<LI>After installation, install extra RPMs/upgrades by downloading all files from |
<LI>After installation, install extra RPMs/upgrades by downloading all files from |
<A HREF="http://www.lon-capa.org/install/3.1/SupplementalRPMS/"> |
<A HREF="http://install.lon-capa.org/3.1/SupplementalRPMS/"> |
http://www.lon-capa.org/install/3.1/SupplementalRPMS</A>. |
http://install.lon-capa.org/3.1/SupplementalRPMS</A>. |
<UL> |
<UL> |
<LI>Use this command to install the RPMs you download: <TT>rpm -Uvh --force *.rpm</TT>. |
<LI>Use this command to install the RPMs you download: <TT>rpm -Uvh --force *.rpm</TT>. |
</UL> |
</UL> |
<LI>Remove extra RPMs by downloading and running the script |
<LI>Remove extra RPMs by downloading and running the script |
<A HREF="http://www.lon-capa.org/install/3.1/scripts/remove_extra.sh"> |
<A HREF="http://install.lon-capa.org/3.1/scripts/remove_extra.sh"> |
http://www.lon-capa.org/install/3.1/scripts/remove_extra.sh</A> as root. |
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. |
<LI>Configure needed files. |
<UL> |
<UL> |
<LI>Currently, reconfiguration must be handled manually and involves an administrator |
<LI>Currently, reconfiguration must be handled manually and involves an administrator |
altering configuration files present throughout the system. For a list of these |
altering configuration files present throughout the system. For a list of these |
files and their descriptions, visit <A HREF="http://www.lon-capa.org/install/3.1/loncapafiles.html"> |
files and their descriptions, visit <A HREF="http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html"> |
http://www.lon-capa.org/install/3.1/loncapafiles.html</A>. |
http://install.lon-capa.org/3.1/loncapafiles/loncapafiles.html</A>. |
<LI>Important files are /etc/httpd/conf/access.conf, /etc/ntp.conf, /etc/krb.conf, |
<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 |
/home/httpd/lonTabs/spare.tab, /home/httpd/lonTabs/hosts.tab (if setting up a cluster different |
than MSU's) |
than MSU's). |
<LI>Run <B>AS USER=www (NEVER EVER EVER EVER AS USER=root)</B> <TT>/home/httpd/perl/loncron &</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> |
<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. |
to see if your machine has been successfully set up. |
</UL> |
</UL> |