version 1.7, 2002/07/18 18:40:10
|
version 1.12, 2003/01/06 18:11:39
|
Line 8
|
Line 8
|
<body> |
<body> |
<!-- $Id$ --> |
<!-- $Id$ --> |
<h1>Setting up a Red Hat 7.3 LON-CAPA Server</h1> |
<h1>Setting up a Red Hat 7.3 LON-CAPA Server</h1> |
|
<h2>Integrated installation</h2> |
|
<p> |
|
These instructions combine the installation of RedHat 7.3 and LON-CAPA |
|
into one straightforward process. |
|
More information is available at <a href="http://install.lon-capa.org/"> |
|
http://install.lon-capa.org/</a>. |
|
</p> |
|
|
<h2>Before you begin</h2> |
<h2>Before you begin</h2> |
<p> |
<p> |
Line 36 The installation process takes the follo
|
Line 43 The installation process takes the follo
|
|
|
<h2>Obtain the Red Hat 7.3 installation CDs</h2> |
<h2>Obtain the Red Hat 7.3 installation CDs</h2> |
<p> |
<p> |
If you like, you may contact the LON-CAPA development staff and we can |
These are freely available on the internet. |
mail the CDs to you. Another option is to download the cd images and |
|
burn them yourself, or install from a mirror site using ftp or http. |
|
</p> |
</p> |
|
|
<h2>Determine Network settings for your site</h2> |
<h2>Determine Network settings for your site</h2> |
Line 138 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/ |
cd /root/loncapa-N.N (N.N should correspond to a version number like '0.6') |
./UPDATE |
./UPDATE |
</pre> |
</pre> |
<p> |
<p> |
Line 159 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 200 command to change it later. Replace USE
|
Line 240 command to change it later. Replace USE
|
appropriate user name and your domain. |
appropriate user name and your domain. |
</p> |
</p> |
<pre> |
<pre> |
cd /root/loncapa/loncom/build |
cd /root/loncapa-N.N/loncom/build |
perl make_domain_coordinator.pl USERNAME DOMAIN |
perl make_domain_coordinator.pl USERNAME DOMAIN |
(WILL PROMPT FOR PASSWORD HERE) |
(WILL PROMPT FOR PASSWORD HERE) |
mkdir ~USERNAME/public_html |
mkdir ~USERNAME/public_html |
Line 211 chmod a+x ~USERNAME
|
Line 251 chmod a+x ~USERNAME
|
|
|
<h2>Start/Restart Services</h2> |
<h2>Start/Restart Services</h2> |
<p> |
<p> |
The services take about 10 minutes to start. |
The LON-CAPA network services take about a minute to start. |
</p> |
</p> |
<pre> |
<pre> |
/etc/init.d/loncontrol start |
/etc/init.d/loncontrol start |
Line 243 coordinator. Congratulations!
|
Line 283 coordinator. Congratulations!
|
</p> |
</p> |
</body> |
</body> |
</html> |
</html> |
|
|