version 1.5, 2004/06/01 21:23:02
|
version 1.10, 2004/07/15 14:34:56
|
Line 27 The installation process takes the follo
|
Line 27 The installation process takes the follo
|
<li> Obtain Fedora Linux </li> |
<li> Obtain Fedora Linux </li> |
<li> Determine Network Settings</li> |
<li> Determine Network Settings</li> |
<li> Install Fedora </li> |
<li> Install Fedora </li> |
|
<li> Uninstall the http server </li> |
<li> Install LON-CAPA Dependencies </li> |
<li> Install LON-CAPA Dependencies </li> |
<li> Determine your LON-CAPA Settings </li> |
<li> Determine your LON-CAPA Settings </li> |
<li> Install LON-CAPA </li> |
<li> Install LON-CAPA </li> |
Line 129 tar xf fedora_install.tar
|
Line 130 tar xf fedora_install.tar
|
This creates a directory named <tt>installation</tt>. |
This creates a directory named <tt>installation</tt>. |
</p> |
</p> |
|
|
<h2>Installing LON-CAPA Dependencies</h2> |
<h2>Uninstall the http server</h2> |
|
<p> |
|
Fedora Core 2 installs the http server even if you have not chosen it in |
|
the package selection part of the install. LON-CAPA will not work with this |
|
web server installed. It must be removed. |
|
Use the following commands to remove the http and mod_perl packages if they |
|
exist: (<b>Note:</b> |
|
<i>The commands below use backticks, not single quotes.</i>: |
|
</p> |
<p> |
<p> |
This section walks you through installing the packages which LON-CAPA requires. |
|
There are a lot of dependencies. They have been grouped in a |
|
somewhat logical fashion to make them easier to deal with. When installing |
|
the rpms you should watch for errors. Errors generated by RPMs which are |
|
already should not be considered a problem, although you will have to ensure |
|
the other rpms in the directory get installed. |
|
</p><p> |
|
First, we need to make sure the web server and mod_perl have not been |
|
installed. Use the following commands to remove them if they exist: |
|
</p><p> |
|
<pre> |
<pre> |
rpm -e `rpm -q -a | grep httpd` |
|
rpm -e `rpm -q -a | grep mod_perl` |
rpm -e `rpm -q -a | grep mod_perl` |
|
rpm -e `rpm -q -a | grep httpd` |
</pre> |
</pre> |
</p><p> |
</p><p> |
If the above commands returns no output (the usual indicator of success), or an |
If the above commands returns no output (the usual indicator of success), or an |
error message 'rpm: no packages given for erase' (meaning there were no |
error message 'rpm: no packages given for erase' (meaning there were no |
packages that contain httpd or mod_perl), you are good to go. |
packages that contain httpd or mod_perl), you are good to go. |
</p><p> |
</p> |
|
|
|
<h2>Installing LON-CAPA Dependencies</h2> |
|
<p> |
|
This section walks you through installing the packages which LON-CAPA requires. |
|
There are a lot of dependencies. They have been grouped in a |
|
somewhat logical fashion to make them easier to deal with. When installing |
|
the rpms you should watch for errors. Errors generated by RPMs which are |
|
already should not be considered a problem, although you will have to ensure |
|
the other rpms in the directory get installed. |
|
</p> |
|
|
|
<p> |
To install the many LON-CAPA dependencies, execute the following commands: |
To install the many LON-CAPA dependencies, execute the following commands: |
</p> |
</p> |
<pre> |
<pre> |
Line 165 rpm -Uvh *rpm
|
Line 176 rpm -Uvh *rpm
|
cd ../GD |
cd ../GD |
rpm -Uvh *rpm |
rpm -Uvh *rpm |
cd ../gnuplot |
cd ../gnuplot |
rpm --install --oldpackage readline-2.2.1-6.i386.rpm |
rpm -Uvh *rpm |
rpm --install --oldpackage --excludedocs libpng-1.0.12-2.i386.rpm |
|
rpm -Uvh gnuplot-3.7.1-5.i386.rpm libgd-1.3-4.i386.rpm ncurses4-5.0-5.i386.rpm |
|
cd ../misc |
cd ../misc |
rpm -Uvh *rpm |
rpm -Uvh *rpm |
cd .. |
cd .. |
Line 265 appropriate user name and your domain.
|
Line 274 appropriate user name and your domain.
|
cd /root/loncapa-N.N/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 |
|
chown USERNAME:www ~USERNAME/public_html |
|
chmod 0775 ~USERNAME/public_html |
|
chmod a+x ~USERNAME |
</pre> |
</pre> |
|
|
<h2>Start/Restart Services</h2> |
<h2>Start/Restart Services</h2> |