[LON-CAPA-cvs] cvs: doc /build fedora_install.frag
matthew
lon-capa-cvs@mail.lon-capa.org
Fri, 19 Nov 2004 21:08:47 -0000
matthew Fri Nov 19 16:08:47 2004 EDT
Modified files:
/doc/build fedora_install.frag
Log:
Minimal install is the default.
Index: doc/build/fedora_install.frag
diff -u doc/build/fedora_install.frag:1.12 doc/build/fedora_install.frag:1.13
--- doc/build/fedora_install.frag:1.12 Thu Sep 9 14:41:11 2004
+++ doc/build/fedora_install.frag Fri Nov 19 16:08:47 2004
@@ -2,12 +2,13 @@
<head><title>New installation instructions</title></head>
<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>
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
-a LON-CAPA server and will be expected to have no other services running
-on it.
+server running Fedora Core 2 (FC2) with a minimum of packages installed.
+The computer will be configured solely as a LON-CAPA server and will be
+expected to have no other services running. Your server is expected to have
+a reasonably fast connection to the internet.
</p><p>
More information is available at <a href="http://install.lon-capa.org/">
http://install.lon-capa.org/</a>.
@@ -40,9 +41,10 @@
<h2>Obtain Fedora Linux</h2>
<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>.
-</p>
+You will need only the first ISO image for the minimal install.
+</p>
<h2>Determine Network Settings</h2>
<p>
@@ -58,7 +60,7 @@
<li>domain name server(s) </li>
</ul>
-<h2>Install Fedora</h2>
+<h2>Minimal FC2 Install</h2>
<p>
Installing Fedora is quite easy if you've installed any of the Red Hat products
before. Some documentation is available from
@@ -89,21 +91,7 @@
Additional ports used by LON-CAPA are 5663 and 8080.
Enter these in the entry box as <nobr>"5663:tcp, 8080:tcp"</nobr>.</dd>
<dt>Package Group Selection</dt>
- <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>
+ <dd>Choose 'minimal install'</dd>
</dl>
<p>
Finish installing your server, reboot it, and log in as root.
@@ -117,33 +105,31 @@
wget http://install.loncapa.org/versions/fedora/loncapa_yum.conf
</pre>
<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:
</p>
<pre>
-yum -c ./loncapa_yum.conf update
+yum update
</pre>
<p>
-You will probably need to reboot your system, specifically when a new kernel is
-installed. Reboot your system before proceeding with the LON-CAPA install.
+You will need to reboot your system after yum finishes. Reboot your system before proceeding with the LON-CAPA install.
</p>
<h2>Installing LON-CAPA</h2>
<h3>Install prerequisites</h3>
<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>
Installating the LON-CAPA prerequisites is pretty straightforward. Execute:
</p><pre>
-yum -c ./loncapa_yum.conf install LONCAPA-prerequisites
+yum install LONCAPA-prerequisites ntp
</pre><p>
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>
<h3>Retrieve and execute LON-CAPA setup program</h3>
<p>