--- doc/build/Attic/upgrade.html 2000/10/26 07:31:16 1.2
+++ doc/build/Attic/upgrade.html 2000/10/27 02:25:43 1.5
@@ -4,7 +4,13 @@
LON-CAPA Upgrade
-Current Upgrade Procedure (Almost)
+Current Upgrade Procedure
+
+Scott Harrison
+
+
+Last updated: 10/26/2000
+
LON-CAPA system releases currently are not released under version
numbers given the fast pace of system development. To upgrade your
@@ -12,9 +18,8 @@ system, you need to
- Make sure your software packages are up-to-date (based on install.lon-capa.org).
-- As root, run the script
-loncapaverifypackages. This script should be present on your system in the file
-/usr/sbin/loncapaverifypackages. If packages are out-of-date, this script will output
+
- As root, run the script /usr/sbin/loncapaverifypackages.
+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",
are packages that you may wish to remove to improve system security. (These packages
may represent important modifications of your institution, so do with care. Removing
@@ -24,12 +29,19 @@ packages is done with the command: r
- Upgrade software packages by either
-- Running /usr/sbin/loncapaupgradepackages.
-
- Or, going to http://www.lon-capa.org/install/RPMS/,
-you can individual download each package from the world-wide web. You then need to enter the command:
-rpm -Uvh --force PACKAGE_RPM_FILE_NAME to upgrade your system.
+
- Running /usr/sbin/loncapaupgradepackages.
+
- Or, going to http://install.lon-capa.org/3.1/SupplementalRPMS/,
+you can individually download each package from the world-wide web. You then need to enter the command:
+rpm -Uvh --force PACKAGE_RPM_FILE_NAME to upgrade your system for each package.
+- Make the LON-CAPA base files up to date (based on install.lon-capa.org).
+
+- [optional] Run the script /usr/sbin/loncapaverifybasepackage. Then view /home/httpd/html/dev/index.html for the verification report.
+If there are no real changes, then you do not need to make your files up-to-date.
+
- Download the most recent LON-CAPA rpm (
+LON-CAPA-base-3.1-1.i386.rpm). rpm -Uvh --force LON-CAPA-base-3.1-1.i386.rpm will upgrade your software package files.
+
- Restore configuration files.
- As you run /usr/sbin/loncapaupgradepackages or enter in rpm -Uvh --force commands, you may
@@ -40,12 +52,15 @@ see messages appear on your screen such
to restore your configurations. However, it is worthwhile to use the 'diff' command
to make sure that you are not accidentally losing important updates to the configuration
files.
- - Alternatively, you can run /usr/sbin/loncaparestoreconfigurations to "smartly" run through the system and restore LON-CAPA configuration values.
+
- Alternatively, you can run /usr/sbin/loncaparestoreconfigurations to "smartly" run through the system and restore LON-CAPA configuration values.
+
+ - Restart the LON-CAPA networking processes
+
+- /etc/rc.d/init.d/loncontrol restart
- - Should you wish to automate all of this, you can (at your own risk) enable a script which will
-do all of this automatically. This definitely should NOT be implemented on a system that students
-are using). You can enable this script by entering the command:
-cp /usr/sbin/loncapaautoupgrade /etc/cron.daily/loncapaautoupgrade
+
- 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:
+/usr/sbin/loncapaautoupgrade
Future Upgrade Procedure (not yet implemented)