instance-set-install.sh

Use this script to install and remove instance sets from a SourceForge installation.

Overview

The instance-set-install.sh script takes these steps:

  1. Verifies that the user invoking the script is the equivalent of a root user.
  2. Checks the specified directory for the existence of a valid SourceForge installation.
  3. If SourceForge is running, asks you to stop the services and then rerun the script.
  4. Validates the feasibility of continuing with the process. For installations, checks for a previously installed instance on the server. For uninstalls, verifies that the instance set currently installed matches the manifest designated.
  5. Installs or uninstalls the instance set.
  6. Recreates the runtime environment. This will only occur if there is an existing runtime environment. If there is no existing runtime environment this step is skipped.

Options

The instance installation script takes these options:

-d | --directory
Location of the installed version of SourceForge
Note: This option is required.
-f | --file
Location of the manifest file
Note: This option is required.
-h | --help
Print this usage message and exit
-r | --rollback
Alias for uninstall -- remove the instance
-t | --test
A flag indicating a test run -- no changes
-u | --uninstall
Remove the instance