File:  [LON-CAPA] / doc / build / upgrade.frag
Revision 1.5: download - view: text, annotated - select for diffs
Wed Jan 18 21:43:51 2012 UTC (10 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, HEAD, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse
- Updating documentation from the pre-Fedora days, where RedHat was actually referring to RedHat 7.2 (and earlier), and packages were assumed to always be RPMs.

<p>
There are three steps for upgrading the software on your LON-CAPA server.
</p>
<ul>
<li><a href="#upgrade">
Upgrading LON-CAPA files</a></li>
<li><a href="#checkrpms">
Checking your Linux RPMs</a></li>
<!--
<li><a href="#testing">
Testing to see if the LON-CAPA server is operational</a></li>
-->
</ul>

<h3>Upgrading LON-CAPA files</h3>
<p>
Download the most current
<a href="http://install.lon-capa.org/versions/loncapa-current.tar.gz">
loncapa-current.tar.gz</a>.
</p>
<table bgcolor="#aaaaaa" border="1">
<tr><td><tt>wget http://install.lon-capa.org/versions/loncapa-current.tar.gz
</tt>
<br />
<tt>tar xzvf loncapa-current.tar.gz</tt>
<br />
<tt>cd loncapa</tt></td></tr>
</table>
<p>
The <strong>UPDATE</strong> command will refresh your filesystem with all
the latest LON-CAPA software.
</p>
<table bgcolor="#aaaaaa" border="1">
<tr><td><tt>./UPDATE</tt></td></tr>
</table>
<a name="checkrpms" />
<h3>Checking your Linux packages</h3> 
<p>Checking RPMs (RedHat, CentOS, Scientific Linux, SLES, openSuSE, Fedora) or debs (Ubuntu LTS, Debian)</p>
<p>
The <strong>/usr/local/loncapa/bin/CHECKRPMS</strong> command will check that packages (rpms or debs, as appropriate for your distro) are up to date, by checking with the appropriate package repository.
<table bgcolor="#aaaaaa" border="1">
<tr><td><tt>/usr/local/loncapa/bin/CHECKRPMS</tt></td></tr>
</table>

<!--
<a name="testing" />
<h3>Testing to see if the LON-CAPA server is operational</h3>
<p>
The <strong>TEST</strong> command will check the installation software,
the perl libraries on your system, the MySQL database, and
will also automatically test the real-time operation of the 
LON-CAPA Apache web server.
</p>
<table bgcolor="#aaaaaa" border="1">
<tr><td><tt>./TEST</tt></td></tr>
</table>
<p>
Using the <strong>TEST</strong> command will likely
be an iterative process.
It is normal to expect that the <strong>TEST</strong> command
will recommend you perform various steps to ensure optimal
performance of your LON-CAPA server.
</p>
-->

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>