version 1.3, 2001/05/19 13:22:52
|
version 1.5, 2001/09/05 22:03:30
|
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 |
Scott Harrison, last updated 05/19/2001 |
</p> |
</p> |
<p> |
<p> |
Last updated: 4/18/2001 |
Last updated: 4/18/2001 |
Line 38 upgrading your system is a simple proces
|
Line 38 upgrading your system is a simple proces
|
<td>export CVSROOT=:pserver:USERNAME@zaphod.lite.msu.edu:/home/cvs |
<td>export CVSROOT=:pserver:USERNAME@zaphod.lite.msu.edu:/home/cvs |
<br />cvs login</td></tr> |
<br />cvs login</td></tr> |
<tr><td>Go to your repository directory</td><td>cd loncapa</td></tr> |
<tr><td>Go to your repository directory</td><td>cd loncapa</td></tr> |
<tr><td>Update your CVS sources</td><td>cvs update -d</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>Install/update static files</td><td>make install</td></tr> |
<tr><td>Install/update static files</td><td>make install</td></tr> |
Line 59 enter this command twice. Restarting th
|
Line 59 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; cd loncom/build; make install; make configinstall; /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</tt></td></tr> |
<tt>cd loncapa; cvs update -d -r STABLE; cd loncom/build; make install; make |
|
configinstall; /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 |
|
</tt></td></tr> |
</table> |
</table> |
<p> |
<p> |
It may be also advisable to test your system after an upgrade if there are |
It may be also advisable to test your system after an upgrade if there are |
Line 148 RedHat 6.2 bugs involving enlightenment
|
Line 151 RedHat 6.2 bugs involving enlightenment
|
<td>export CVSROOT=:pserver:USERNAME@zaphod.lite.msu.edu:/home/cvs |
<td>export CVSROOT=:pserver:USERNAME@zaphod.lite.msu.edu:/home/cvs |
<br />cvs login</td></tr> |
<br />cvs login</td></tr> |
<tr><td>Go to your repository directory</td><td>cd loncapa</td></tr> |
<tr><td>Go to your repository directory</td><td>cd loncapa</td></tr> |
<tr><td>Update your CVS sources</td><td>cvs update -d</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>View the CVS source->install status of your machine</td><td>make statuspost |
<tr><td>View the CVS source->install status of your machine</td><td>make statuspost |
Line 216 Useful commands are:
|
Line 219 Useful commands are:
|
<tr><td>Command</td></td><td>Description</td></tr> |
<tr><td>Command</td></td><td>Description</td></tr> |
<tr><td>info cvs</td></td><td>doc's</td></tr> |
<tr><td>info cvs</td></td><td>doc's</td></tr> |
<tr><td>cvs log FILENAME</td></td><td>see what's happened with a file</td></tr> |
<tr><td>cvs log FILENAME</td></td><td>see what's happened with a file</td></tr> |
<tr><td>cvs update -d</td></td><td>update your CVS tree from the current |
<tr><td>cvs update -d -r STABLE</td></td><td>update your CVS tree from the |
directory location</td></tr> |
current directory location</td></tr> |
</table> |
</table> |
</body> |
</body> |
</html> |
</html> |