version 1.5, 2001/09/05 22:03:30
|
version 1.7, 2001/11/27 22:59:04
|
Line 6
|
Line 6
|
<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, last updated 05/19/2001 |
Scott Harrison, last updated 11/7/2001 |
</p> |
|
<p> |
|
Last updated: 4/18/2001 |
|
</p> |
</p> |
<ul> |
<ul> |
<li><a href="#fileupgrade">CVS Upgrade</a></li> |
<li><a href="#fileupgrade">CVS Upgrade</a></li> |
Line 41 upgrading your system is a simple proces
|
Line 38 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 53 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 108 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> |