version 1.7, 2002/07/18 18:40:10
|
version 1.11, 2002/12/19 17:41:08
|
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 151 cd install
|
Line 156 cd install
|
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.4') |
./UPDATE |
./UPDATE |
</pre> |
</pre> |
<p> |
<p> |
Line 200 command to change it later. Replace USE
|
Line 205 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 216 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 |
/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 |
Line 243 coordinator. Congratulations!
|
Line 267 coordinator. Congratulations!
|
</p> |
</p> |
</body> |
</body> |
</html> |
</html> |
|
|