The install command installs the product and most of the components in the product. When you install the product, the installer program installs the core product files and creates zero, one, or two profiles, depending on the product that you are installing and your installation selections. A silent parameter runs the Installation wizard in silent mode without displaying the graphical user interface.
This topic describes the command-line syntax for the install command. Start the install command module from the command line to install the product.
Before you begin installing the product
Prepare the operating system for installation. Follow the procedure in Task overview: Installing to get started.
The command file resides in the root directory of the component on the product disk.
Use the following install command options to install a new installation, add a feature to an existing installation, upgrade a trial or the Express product, or configure an existing WebSphere Application Server - Express product by creating a profile.
Option Name (-OPT) | WebSphere Application Server - Express | |
---|---|---|
Values | Default | |
allowNonRootSilentInstall | "true | false" | Commented |
disableOSPrereqChecking | "true | false" | Commented |
disableNonBlockingPrereqChecking | "true | false" | Commented |
checkFilePermissions | "true | false" | Commented |
feature | "noFeature | samplesSelected | languagepack.console.all | languagepack.server.all" | "samplesSelected" |
installLocation | Any valid directory path | app_server_root directories for root and non-root installers |
installType | "installNew | addFeature | upgrade" | "installNew" |
profileType | "standAlone | none" | "standAlone" |
silentInstallLicenseAcceptance | "true | false" | "false" |
traceFormat | ALL | text | XML | Commented |
traceLevel | OFF | SEVERE | WARNING | INFO | CONFIG | FINE | FINER | FINEST | Commented |
PROF_adminUserName | Any valid user ID | Empty string |
PROF_adminPassword | Any valid user password | Empty string |
PROF_cellName | A string with valid characters | Commented |
PROF_defaultPorts | Commented | Uncommented | Commented |
PROF_enableAdminSecurity | "true | false" | "true" |
PROF_hostName | Any valid host name | Commented |
PROF_isDefault | Commented | Uncommented | Commented |
PROF_nodeName | Any valid and unique node name | Commented |
PROF_omitAction | Name of a configuration action | Commented |
PROF_portsFile | Any valid file path to a valid ports file | Commented |
PROF_profileName | Any valid profile name string | Commented |
PROF_profilePath | Any valid file path. See the description of profile_root in Directory conventions for default values. | Commented |
PROF_serverName | Any application server name, such as server1 | Commented |
PROF_startingPort | Any valid port number | Commented |
PROF_validatePorts | Commented | Uncommented | Commented |
PROF_webServerCheck | "true | false" | Commented |
PROF_webServerHostname | A valid host name of the system with the Web server | Commented |
PROF_webServerInstallPath | Any valid directory path to the Web server | Commented |
PROF_webServerName | A valid name of a valid Web server | Commented |
PROF_webServerOS | linux | windows | aix | hp | solaris | os390 | i5os | Commented |
PROF_webServerPluginPath | Any valid directory path to the Web server plug-ins | Commented |
PROF_webServerPort | A valid port to access the Web server | Commented |
PROF_webServerType | IHS | IIS | SUNJAVASYSTEM | DOMINO | APACHE | HTTPSERVER_ZOS | Commented |
PROF_winserviceAccountType | specified user | localsystem | Commented |
PROF_winserviceCheck | "true | false" | Commented |
PROF_winserviceStartupType | manual | automatic | disabled | Commented |
PROF_winservicePassword | The password of the valid specified user | Commented |
PROF_winserviceUserName | The name of the valid specified user | Commented |
See the following descriptions for more information about each option.
Option descriptions
install
See Installing the product and additional software for more information about installing with the Installation wizard.
install -options /tmp/was/my_response_file.txt -silent
install -options /tmp/was/my_response_file.txtThe command installs the product with these particulars:
-OPT allowNonRootSilentInstall="false"
-OPT feature="samplesSelected"
-OPT installLocation="app_server_root"
-OPT installType="installNew"
-OPT profileType="standAlone"
-OPT silentInstallLicenseAcceptance="true"
-OPT traceFormat=ALL
-OPT traceLevel=INFO
-OPT PROF_cellName="exp_cell1"
-OPT PROF_defaultPorts=
-OPT PROF_hostName="5.55.555.555"
-OPT PROF_isDefault=
-OPT PROF_nodeName="expnode1_node"
-OPT PROF_profileName="my_default"
-OPT PROF_profilePath="profile_root"
-OPT PROF_serverName="my_server1"
-OPT PROF_validatePorts=
-OPT PROF_webServerCheck="true"
-OPT PROF_webServerHostname="5.55.555.555"
-OPT PROF_webServerInstallPath="Web_server_root"
-OPT PROF_webServerName="my_ihs_web_server1"
-OPT PROF_webServerOS="linux"
-OPT PROF_webServerPluginPath="plugins_root"
-OPT PROF_webServerPort="80"
-OPT PROF_webServerType="IHS"
See Installing silently for more information about using the installation wizard in silent mode, without the graphical user interface.
Examine the app_server_root/logs/install/log.txt file to verify that there were no file system or other unusual errors while installing. If there are problems, correct them, and reinstall the product.
Return codes are in use in the following components on the following operating systems.
Operating System | WebSphere Application Server | Application Client | IBM HTTP Server | Web Server Plug-ins | Edge Components | Update Installer (UPDI) |
---|---|---|---|---|---|---|
AIX®, HP-UX, Linux®, and Solaris | Yes | Yes | Yes | Yes | Yes | Yes |
ISMP does not set exit codes on Windows due to a limitation. Consult the
install log to determine success or failure.
Partial success means that some portion of the installation failed but the installation is still at least partially usable. The failure is recoverable. Once recovered, the installation is completely usable. Consult the log to determine the exact failure and what, if any, corrective action can be taken.