Use this script to install and remove instance sets from a SourceForge installation.
Overview
The instance-set-install.sh script takes these steps:
- Verifies that the user invoking the script is the equivalent of a root user.
- Checks the specified directory for the existence of a valid SourceForge
installation.
- If SourceForge is running, asks you to stop the services and then rerun the
script.
- 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.
- Installs or uninstalls the instance set.
- 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