Diff for /doc/build/Attic/upgrade.html between versions 1.5 and 1.6

version 1.5, 2000/10/27 02:25:43 version 1.6, 2001/04/18 15:55:19
Line 1 Line 1
 <HTML>  <html>
 <HEAD>  <head>
 <TITLE>LON-CAPA Upgrade</TITLE>  <title>LON-CAPA Upgrade</title>
 </HEAD>  </head>
 <BODY>  <body>
 <H1>LON-CAPA Upgrade</H1>  <h1>LON-CAPA Upgrade</h1>
 <H3>Current Upgrade Procedure</H3>  <h3>Current Upgrade Procedure</h3>
 <P>  <p>
 Scott Harrison  Scott Harrison
 </P>  </p>
 <P>  <p>
 Last updated: 10/26/2000  Last updated: 4/18/2001
 </P>  </p>
 <P>  <p>
 LON-CAPA system releases currently are not released under version  LON-CAPA system releases currently are not released under version
 numbers given the fast pace of system development.  To upgrade your  numbers given the fast pace of system development.  To upgrade your
 system, you need to   system, you need to 
 <OL>  <ol>
 <LI>Make sure your software packages are up-to-date (based on install.lon-capa.org).  <li>Make sure your software packages are up-to-date
 <UL>  (based on install.lon-capa.org).</li>
 <LI>As root, run the script <TT>/usr/sbin/loncapaverifypackages</TT>.    <ul>
   <li>As root, run the script <tt>/usr/sbin/loncapaverifypackages</tt>.  
 If packages are out-of-date, this script will output  If packages are out-of-date, this script will output
 the out-of-date packages.  Packages that this script identifies as "should not be here",  the out-of-date packages.  Packages that this script identifies as
 are packages that you may wish to remove to improve system security.  (These packages  "should not be here", are packages that you may wish to remove to
 may represent important modifications of your institution, so do with care.  Removing  improve system security.  (These packages may represent important
 packages is done with the command: <TT>rpm -e --nodeps PACKAGE_NAME</TT>.  modifications of your institution, so do with care.  Removing
 </UL>  packages is done with the command: <tt>rpm -e --nodeps PACKAGE_NAME</tt>.</li>
 <LI>Upgrade old software packages.  </ul>
 <UL>  <li>Upgrade old software packages.</li>
 <LI>Upgrade software packages by either  <ul>
 <UL>  <li>Upgrade software packages by either</li>
 <LI>Running <TT>/usr/sbin/loncapaupgradepackages</TT>.  <ul>
 <LI>Or, going to <A HREF="http://install.lon-capa.org/3.1/SupplementalRPMS/">http://install.lon-capa.org/3.1/SupplementalRPMS/</A>,  <li>Running <tt>/usr/sbin/loncapaupgradepackages</tt>.</li>
 you can individually download each package from the world-wide web.  You then need to enter the command:  <li>Or, going to <a href="http://install.lon-capa.org/3.1/SupplementalRPMS/">http://install.lon-capa.org/3.1/SupplementalRPMS/</a>,
 <TT>rpm -Uvh --force PACKAGE_RPM_FILE_NAME</TT> to upgrade your system for each package.  you can individually download each package from the world-wide web.  You 
 </UL>  then need to enter the command:
 </UL>  <tt>rpm -Uvh --force PACKAGE_RPM_FILE_NAME</tt> to upgrade your system
 <LI>Make the LON-CAPA base files up to date (based on install.lon-capa.org).  for each package.</li>
 <UL>  </ul>
 <LI><B>[optional]</B> Run the script <TT>/usr/sbin/loncapaverifybasepackage</TT>.  Then view /home/httpd/html/dev/index.html for the verification report.  </ul>
 If there are no real changes, then you do not need to make your files up-to-date.  <li>Make the LON-CAPA base files up to date (based on
 <LI>Download the most recent LON-CAPA rpm (<A HREF="http://install.lon-capa.org/3.1/loncapafiles/LON-CAPA-base-3.1-1.i386.rpm">  install.lon-capa.org).</li>
 LON-CAPA-base-3.1-1.i386.rpm</A>).  <TT>rpm -Uvh --force LON-CAPA-base-3.1-1.i386.rpm</TT> will upgrade your software package files.  <ul>
 </UL>  <li><B>[optional]</B> Run the script
 <LI>Restore configuration files.  <tt>/usr/sbin/loncapaverifybasepackage</tt>.  Then view
 <UL>  /home/httpd/html/dev/index.html for the verification report.
 <LI>As you run /usr/sbin/loncapaupgradepackages or enter in <TT>rpm -Uvh --force</TT> commands, you may  If there are no real changes, then you do not need to make your files
   up-to-date.</li>
   <li>Download the most recent LON-CAPA rpm (<a href="http://install.lon-capa.org/3.1/loncapafiles/LON-CAPA-base-3.1-1.i386.rpm">
   LON-CAPA-base-3.1-1.i386.rpm</a>).  <tt>rpm -Uvh --force LON-CAPA-base-3.1-1.i386.rpm</tt> will upgrade your software package files.</li>
   </ul>
   <li>Restore configuration files.</li>
   <ul>
   <li>As you run /usr/sbin/loncapaupgradepackages or enter in
   <tt>rpm -Uvh --force</tt> commands, you may
 see messages appear on your screen such as:  see messages appear on your screen such as:
 <BR><TT>warning: /etc/httpd/conf/access.conf saved as /etc/httpd/conf/access.conf.rpmsave</TT>  <br /><tt>warning: /etc/httpd/conf/access.conf saved as
 <BR>You can probably just type in commands like:  /etc/httpd/conf/access.conf.rpmsave</tt>
 <BR><TT>cp /etc/httpd/conf/access.conf.rpmsave /etc/httpd/conf/access.conf</TT>  <br />You can probably just type in commands like:
 <BR>to restore your configurations.  However, it is worthwhile to use the 'diff' command  <br /><tt>cp /etc/httpd/conf/access.conf.rpmsave
 to make sure that you are not accidentally losing important updates to the configuration  /etc/httpd/conf/access.conf</tt>
 files.    <br />to restore your configurations.  However, it is worthwhile to use the
 <LI>Alternatively, you can run <TT>/usr/sbin/loncaparestoreconfigurations</TT> to "smartly" run through the system and restore LON-CAPA configuration values.  'diff' command to make sure that you are not accidentally losing important
 </UL>  updates to the configuration files.  
 <LI>Restart the LON-CAPA networking processes  <li>Alternatively, you can run <tt>/usr/sbin/loncaparestoreconfigurations</tt>
 <UL>  to "smartly" run through the system and restore LON-CAPA configuration
 <LI><TT>/etc/rc.d/init.d/loncontrol restart</TT>  values.</li>
 </UL>  </ul>
 <LI>Should you wish to automate the updating of your LON-CAPA base files, you can (at your own risk) run a script which will  <li>Restart the LON-CAPA networking processes
   <ul>
   <li><tt>/etc/rc.d/init.d/loncontrol restart</tt></li>
   </ul>
   <li>Should you wish to automate the updating of your LON-CAPA base files, you can (at your own risk) run a script which will
 do all of this automatically.  You can run this script by entering the command:  do all of this automatically.  You can run this script by entering the command:
 <TT>/usr/sbin/loncapaautoupgrade</TT>  <TT>/usr/sbin/loncapaautoupgrade</TT></li>
 </OL>  </ol>
 </P>  </p>
 <H3>Future Upgrade Procedure (not yet implemented)</H3>  <h3>Future Upgrade Procedure (not yet implemented)</h3>
 <P>  <p>
 In the future, LON-CAPA will be a versioned system that is released via CD.  In the future, LON-CAPA will be a versioned system that is released via CD.
 The upgrade procedure will be to insert the CD and follow instructions.  The CD  The upgrade procedure will be to insert the CD and follow instructions.  The CD
 upgrade procedure is already defined and somewhat implemented, but awaits  upgrade procedure is already defined and somewhat implemented, but awaits
 completion.  completion.
 </P>  
 </BODY>  
 </HTML>  
   
   </p>
   </body>
   </html>

Removed from v.1.5  
changed lines
  Added in v.1.6


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