version 1.11, 2002/12/19 17:41:08
|
version 1.12, 2003/01/06 18:11:39
|
Line 143 for it to function at all. Below is a l
|
Line 143 for it to function at all. Below is a l
|
<p> |
<p> |
Log in as root with the password you provided during the Red Hat |
Log in as root with the password you provided during the Red Hat |
installation process. |
installation process. |
</p> |
</p><p> |
|
Stop the http daemon while we're installing LON-CAPA. |
|
<pre> |
|
/etc/init.d/httpd stop |
|
</pre> |
|
</p><p> |
|
Retrieve the LON-CAPA installation package |
<pre> |
<pre> |
wget http://install.loncapa.org/versions/rh73install/loncapa-rh73install.tar |
wget http://install.loncapa.org/versions/rh73install/loncapa-rh73install.tar |
tar xf loncapa-rh73install.tar |
tar xf loncapa-rh73install.tar |
cd install |
cd install |
./install.pl |
./install.pl |
</pre> |
</pre> |
|
</p> |
|
|
<h2>Configure LON-CAPA</h2> |
<h2>Configure LON-CAPA</h2> |
<p> |
<p> |
Execute the following commands |
Execute the following commands |
</p> |
</p> |
<pre> |
<pre> |
cd /root/loncapa-N.N (N.N should correspond to a version number like '0.4') |
cd /root/loncapa-N.N (N.N should correspond to a version number like '0.6') |
./UPDATE |
./UPDATE |
</pre> |
</pre> |
<p> |
<p> |
Line 164 You will need to enter the LON-CAPA conf
|
Line 171 You will need to enter the LON-CAPA conf
|
above. |
above. |
</p> |
</p> |
|
|
|
<h2>Update your system</h2> |
|
<p> |
|
It is very important that you update your LON-CAPA system to use the |
|
latest RedHat packages. LON-CAPA uses CHECKRPMS to notify users their system |
|
needs updating. |
|
<pre> |
|
/usr/local/loncapa/bin/CHECKRPMS |
|
</pre> |
|
CHECKRPMS will give you the option of downloading the updates you need. |
|
Say yes. Then issue the following commands: |
|
<pre> |
|
cd /tmp/loncapa_rpm_updates' |
|
rpm -Uvh * |
|
</pre> |
|
</p><p> |
|
You will need to reboot your system to begin running the new Linux Kernel |
|
put out by RedHat. You can wait until the end of the LON-CAPA installation |
|
process to reboot. |
|
</p><p> |
|
Congratulate yourself - your system is up to date. Please do your best to |
|
keep it that way! When LON-CAPA is installed it sets itself up to run |
|
CHECKRPMS script every night and email you the results. |
|
<b>Please do not ignore these emails.</b> |
|
You will need to update the RPMs yourself when it notifies you. |
|
Keeping your system up-to-date goes a long way towards ensuring the |
|
integrity of your student records. |
|
</p> |
|
|
<h2>Picking a hosts.tab file</h2> |
<h2>Picking a hosts.tab file</h2> |
<p> |
<p> |
The "hosts.tab" file controls which LON-CAPA servers your server attempts |
The "hosts.tab" file controls which LON-CAPA servers your server attempts |
Line 223 The LON-CAPA network services take about
|
Line 258 The LON-CAPA network services take about
|
/etc/init.d/httpd restart |
/etc/init.d/httpd restart |
</pre> |
</pre> |
|
|
<h2>Update your system</h2> |
|
<p> |
|
It is very important that you update your LON-CAPA system to use the |
|
latest packages. LON-CAPA uses CHECKRPMS to notify users their system |
|
needs updating. |
|
<pre> |
|
cd /usr/local/loncapa/bin; |
|
./CHECKRPMS |
|
</pre> |
|
CHECKRPMS will give you the option of downloading the updates you need. |
|
Say yes. Then issue the following commands: |
|
<pre> |
|
cd /tmp/loncapa_rpm_updates' |
|
rpm -Uvh * |
|
</pre> |
|
Congratulate yourself - your system is up to date. Please do your best to |
|
keep it that way! |
|
</p> |
|
|
|
<h2>Make Sure that Services Autostart on Boot</h2> |
<h2>Make Sure that Services Autostart on Boot</h2> |
<p>On Redhat 7.3 it is not guaranteed that Apache and MySQL automatically |
<p>On Redhat 7.3 it is not guaranteed that Apache and MySQL automatically |
restart on boot. You should run /usr/sbin/ntsysv and set the following |
restart on boot. You should run /usr/sbin/ntsysv and set the following |