version 1.6, 2001/11/08 16:42:49
|
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 11/7/2001 |
<p>$Date$; $Revision$</p> |
</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 38 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 56 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> |