version 1.12, 2004/09/09 18:41:11
|
version 1.13, 2004/11/19 21:08:47
|
Line 2
|
Line 2
|
<head><title>New installation instructions</title></head> |
<head><title>New installation instructions</title></head> |
<body> |
<body> |
|
|
<h1>Installing LON-CAPA on a Fedora Core 2 Linux System</h1> |
<h1>Installing LON-CAPA on a minimal Fedora Core 2 Linux System</h1> |
<p> |
<p> |
This document guides you through the process of setting up a new LON-CAPA |
This document guides you through the process of setting up a new LON-CAPA |
server running Fedora Core 2 (FC2). The computer will be configured solely as |
server running Fedora Core 2 (FC2) with a minimum of packages installed. |
a LON-CAPA server and will be expected to have no other services running |
The computer will be configured solely as a LON-CAPA server and will be |
on it. |
expected to have no other services running. Your server is expected to have |
|
a reasonably fast connection to the internet. |
</p><p> |
</p><p> |
More information is available at <a href="http://install.lon-capa.org/"> |
More information is available at <a href="http://install.lon-capa.org/"> |
http://install.lon-capa.org/</a>. |
http://install.lon-capa.org/</a>. |
Line 40 The installation process takes the follo
|
Line 41 The installation process takes the follo
|
|
|
<h2>Obtain Fedora Linux</h2> |
<h2>Obtain Fedora Linux</h2> |
<p> |
<p> |
Fedora linux ISO files can be obtained from the projects main site, |
FC2 ISO files can be obtained from the projects main site, |
<a href="http://fedora.redhat.com/">http://fedora.redhat.com/</a>. |
<a href="http://fedora.redhat.com/">http://fedora.redhat.com/</a>. |
</p> |
You will need only the first ISO image for the minimal install. |
|
</p> |
|
|
<h2>Determine Network Settings</h2> |
<h2>Determine Network Settings</h2> |
<p> |
<p> |
Line 58 DHCP is <em>not</em> supported.
|
Line 60 DHCP is <em>not</em> supported.
|
<li>domain name server(s) </li> |
<li>domain name server(s) </li> |
</ul> |
</ul> |
|
|
<h2>Install Fedora</h2> |
<h2>Minimal FC2 Install</h2> |
<p> |
<p> |
Installing Fedora is quite easy if you've installed any of the Red Hat products |
Installing Fedora is quite easy if you've installed any of the Red Hat products |
before. Some documentation is available from |
before. Some documentation is available from |
Line 89 There are a few sections that require co
|
Line 91 There are a few sections that require co
|
Additional ports used by LON-CAPA are 5663 and 8080. |
Additional ports used by LON-CAPA are 5663 and 8080. |
Enter these in the entry box as <nobr>"5663:tcp, 8080:tcp"</nobr>.</dd> |
Enter these in the entry box as <nobr>"5663:tcp, 8080:tcp"</nobr>.</dd> |
<dt>Package Group Selection</dt> |
<dt>Package Group Selection</dt> |
<dd> |
<dd>Choose 'minimal install'</dd> |
<b>Do not</b> install a web server. It is intentially omitted from |
|
this list. Installing packages not listed below is not recommended. |
|
If you install packages not listed below you should expect difficulties |
|
when installing the LON-CAPA dependencies. |
|
<ul> |
|
<li>Editors</li> |
|
<li>Text Based Internet</li> |
|
<li>Authoring and Publishing</li> |
|
<li>Server Configuration Tools</li> |
|
<li>Development Tools</li> |
|
<li>Administration Tools</li> |
|
<li>Printing Support</li> |
|
</ul> |
|
</dd> |
|
</dl> |
</dl> |
<p> |
<p> |
Finish installing your server, reboot it, and log in as root. |
Finish installing your server, reboot it, and log in as root. |
Line 117 Retrieve the loncapa_yum.conf file from
|
Line 105 Retrieve the loncapa_yum.conf file from
|
wget http://install.loncapa.org/versions/fedora/loncapa_yum.conf |
wget http://install.loncapa.org/versions/fedora/loncapa_yum.conf |
</pre> |
</pre> |
<p> |
<p> |
|
Copy the loncapa_yum.conf file to /etc/yum.conf: |
|
</p> |
|
<pre> |
|
mv /etc/yum.conf /etc/yum.conf.backup |
|
cp loncapa_yum.conf /etc/yum.conf |
|
</pre> |
|
<p> |
Update your system to the latest versions of the system software: |
Update your system to the latest versions of the system software: |
</p> |
</p> |
<pre> |
<pre> |
yum -c ./loncapa_yum.conf update |
yum update |
</pre> |
</pre> |
<p> |
<p> |
You will probably need to reboot your system, specifically when a new kernel is |
You will need to reboot your system after yum finishes. Reboot your system before proceeding with the LON-CAPA install. |
installed. Reboot your system before proceeding with the LON-CAPA install. |
|
</p> |
</p> |
|
|
<h2>Installing LON-CAPA</h2> |
<h2>Installing LON-CAPA</h2> |
<h3>Install prerequisites</h3> |
<h3>Install prerequisites</h3> |
<p> |
<p> |
On our test install we needed to remove the httpd and system-config-httpd |
|
packages using the command: |
|
</p><pre> |
|
rpm -e httpd system-config-httpd |
|
</pre> |
|
<p> |
<p> |
Installating the LON-CAPA prerequisites is pretty straightforward. Execute: |
Installating the LON-CAPA prerequisites is pretty straightforward. Execute: |
</p><pre> |
</p><pre> |
yum -c ./loncapa_yum.conf install LONCAPA-prerequisites |
yum install LONCAPA-prerequisites ntp |
</pre><p> |
</pre><p> |
This may take a moment due to LON-CAPA's large number of dependencies. |
This may take a moment due to LON-CAPA's large number of dependencies. |
</p><p> |
|
If yum complains of conflicting packages you will need to uninstall them |
|
using 'rpm -e <packagename>'. |
|
</p> |
</p> |
<h3>Retrieve and execute LON-CAPA setup program</h3> |
<h3>Retrieve and execute LON-CAPA setup program</h3> |
<p> |
<p> |