install.sh Command--Install Vector
The install.sh command can be used for both interactive and unattended installs.
Note: Not all command flags are valid for all distribution formats.
Debian/Ubuntu: The DEB distribution installs Vector under /opt/Actian/Vector; this location cannot be changed. Only one DEB instance per machine is allowed. If you want to install Vector in a different directory or install more than one instance on a machine, download the ingbuild distribution.
This command has the following format:
install.sh [-interactive|-express] [‑acceptlicense]
[-uid uid] [-user username] [-noroot] [-usesudo]
[-withad|-noad] [-respfile filename] [-?|‑help] [instance_ID] [install_dir]
-interactive
Installs interactively, prompting for all configuration options. (For advanced users only.)
Note: For RPM and DEB installs, prompting is limited. For full control, use a response file or the GUI installer.
-express
Installs with no user prompts (implies -acceptlicense.)
-acceptlicense
Accepts all license prompts.
-uid uid
Specifies the user ID (UID) to be used when creating user. The username must exist. (Disallowed with -noroot.) (Not valid for RPM and DEB.)
-user username
Installs as username instead of actian. The username must exist. (Disallowed with -noroot.) (Not valid for RPM and DEB.)
-noroot
Installs Vector as the current user. All installation locations must exist and be writable as current user for the installation to succeed. Instance will be owned by current user. (Not valid for RPM and DEB.)
-usesudo
Installs Vector using the current user and invokes sudo for root access, locally and remotely. The instance is owned as "actian" by default. If required, the current user is used for remote connections and sudo is invoked for root access. (Not valid for RPM and DEB.)
-withad | ‑noad
Installs or excludes Actian Director.
-respfile filename
Uses filename as the response file when running setup. A response file lets you customize the installation. (Not valid with ‑interactive.)
instance_ID
Defines a two-character string where the first character must be an uppercase letter and the second character must be an uppercase letter or a number from 0 to 9.
install_dir
Specifies the full path to the location where Vector is to be installed (II_SYSTEM).
Note: Not valid for DEBs, in which case II_SYSTEM is hard coded to: /opt/Actian/VectorVW.
-? | ‑help
Displays usage information.
Notes:
• install.sh will fail if another instance of Vector exists with the same instance ID as the one being installed.
• If logged in as a user other than "actian", after install.sh completes, do the following:
1. Log off from the current user.
2. Log on as the "actian" system user and source .ingXXsh (where XX is the instance ID), which is found in the home directory ($HOME) of the "actian" system user.