Installing AppScan Source on Linux without a graphical installer
AppScan Source provides only a graphical installer. To install AppScan Source on a Linux system without X Windows, configure a silent install.
Although AppScan Source does not have a command line installer, you can install on a
Linux system without X Windows by configuring a silent install:
- Run a graphical installer on a Windows or Linux system to generate a .properties response file that specifies the components to install.
- Copy the .properties response file to the Linux system and run a silent install.
Generate a .properties response file
The .properties response file can be generated on any Windows or Linux system able to run the graphical installer.
- Open a command shell.Note: On Windows, run cmd as an administrator.
- Set the OUNCE_CONFIG_FILE=<path to response file>
environment variable as follows:
-
Windows:
set OUNCE_CONFIG_FILE=c:\temp\response.txt
-
Linux: export
OUNCE_CONFIG_FILE=/tmp/response.txt
-
- Start the install wizard by running the installer executable from the same shell where you set the OUNCE_CONFIG_FILE variable.
- Click OK on the language selection screen.
If you do not see the installation configuration wizard welcome screen, indicating the process helps create installation configuration files.
If you do not see this screen and reference, the the OUNCE_CONFIG_FILE variable was not set correctly.
- Click Next.
- The wizard asks if you want custom installation to be silent. Click Yes, then Next.
- Select the required components and select Next.
- Enter the desired install directory and click
Next.Note: Enter valid install directory information for the operating system where the tool is to be run.
- Follow the prompts to complete the wizard. Once completed the response file
is saved to the location referenced in the
OUNCE_CONFIG_FILE variable. If needed, edit the
configuration file to point to the correct paths on the target operating system.Important: Do not edit any passwords. This will invalidate the configuration file.
Run a silent install
- Copy the .properties response file to the Linux host.
- Run the installer with the
-f
switch and the response file as the argument:
"Launching installer" remains on the screen until install is complete.>setup.bin -f /tmp/response.txtPreparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer...