version 1.5, 2001/09/05 22:03:30
|
version 1.8, 2001/11/27 23:00:01
|
Line 1
|
Line 1
|
|
<!-- The LearningOnline Network with CAPA --> |
|
<!-- $Id$ --> |
<html> |
<html> |
<head> |
<head> |
<title>LON-CAPA CVS Upgrade</title> |
<title>LON-CAPA CVS Upgrade</title> |
Line 5
|
Line 7
|
<body> |
<body> |
<h1>LON-CAPA CVS Upgrade</h1> |
<h1>LON-CAPA CVS Upgrade</h1> |
<h3>Current CVS Upgrade Procedure</h3> |
<h3>Current CVS Upgrade Procedure</h3> |
<p> |
<p>Scott Harrison</p> |
Scott Harrison, last updated 05/19/2001 |
<p>$Date$; $Revision$</p> |
</p> |
|
<p> |
|
Last updated: 4/18/2001 |
|
</p> |
|
<ul> |
<ul> |
<li><a href="#fileupgrade">CVS Upgrade</a></li> |
<li><a href="#fileupgrade">CVS Upgrade</a></li> |
<li><a href="#rpm">RPM Upgrade</a></li> |
<li><a href="#rpm">RPM Upgrade</a></li> |
Line 41 upgrading your system is a simple proces
|
Line 39 upgrading your system is a simple proces
|
<tr><td>Update your CVS sources</td><td>cvs update -d -r STABLE</td></tr> |
<tr><td>Update your CVS sources</td><td>cvs update -d -r STABLE</td></tr> |
<tr><td>Go to the build directory</td><td>cd loncom/build</td></tr> |
<tr><td>Go to the build directory</td><td>cd loncom/build</td></tr> |
<tr><td>Become 'root'</td><td>su</td></tr> |
<tr><td>Become 'root'</td><td>su</td></tr> |
|
<tr><td>Build files</td><td>make build</td></tr> |
<tr><td>Install/update static files</td><td>make install</td></tr> |
<tr><td>Install/update static files</td><td>make install</td></tr> |
<tr><td>Install/update dynamically configurable files<br /> |
|
<i>this preserves the current settings of your machine, don't worry :)</i> |
|
</td> |
|
<td>make configinstall</td></tr> |
|
<tr><td>Restart your web server<br />Due to an apache bug, you should |
<tr><td>Restart your web server<br />Due to an apache bug, you should |
enter this command twice. Restarting the web server will |
enter this command twice. Restarting the web server will |
<ul> |
<ul> |
Line 59 enter this command twice. Restarting th
|
Line 54 enter this command twice. Restarting th
|
<td>/etc/rc.d/init.d/loncontrol restart</td></tr> |
<td>/etc/rc.d/init.d/loncontrol restart</td></tr> |
<tr><td colspan=2>After CVS logging in, you can always cut and paste this line |
<tr><td colspan=2>After CVS logging in, you can always cut and paste this line |
below assuming you do everything as root :)<br /> |
below assuming you do everything as root :)<br /> |
<tt>cd loncapa; cvs update -d -r STABLE; cd loncom/build; make install; make |
<tt>cd loncapa; cvs update -d -r STABLE; cd loncom/build; make build; |
configinstall; /etc/rc.d/init.d/httpd restart; /etc/rc.d/init.d/httpd |
make install; /etc/rc.d/init.d/httpd restart; /etc/rc.d/init.d/httpd |
restart; /etc/rc.d/init.d/httpd restart; /etc/rc.d/init.d/loncontrol restart |
restart; /etc/rc.d/init.d/httpd restart; /etc/rc.d/init.d/loncontrol restart |
</tt></td></tr> |
</tt></td></tr> |
</table> |
</table> |
Line 114 and CVS:doc/otherfiles/cd_rpms.txt.
|
Line 109 and CVS:doc/otherfiles/cd_rpms.txt.
|
<b>Upgrade existing RPMS from a trusted source:</b> |
<b>Upgrade existing RPMS from a trusted source:</b> |
RPMs are currently available at |
RPMs are currently available at |
<blockquote> |
<blockquote> |
http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS |
http://install.lon-capa.org/3.1/latestRPMS/ |
</blockquote> |
</blockquote> |
For example, to upgrade your LON-CAPA-systemperl RPM, you |
For example, to upgrade your LON-CAPA-systemperl RPM, you |
would enter commands like |
would enter commands like |
<blockquote> |
<blockquote> |
wget http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/LON-CAPA-systemperl-3.1-1.i386.rpm<br /> |
wget http://install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/LON-CAPA-systemperl-3.2-1.i386.rpm<br /> |
(then as root) rpm -Uvh --force LON-CAPA-systemperl-3.1-1.i386.rpm |
(then as root) rpm -Uvh --force LON-CAPA-systemperl-3.1-1.i386.rpm |
</blockquote> |
</blockquote> |
</p> |
</p> |