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.
If the command or an alternative command is not applicable for a component on a particular operating system, the N/A abbreviation is displayed in the following table. A command is not applicable if the component cannot be installed on the operating system.
Operating System | WebSphere Application Server | Application Client | IBM HTTP Server | Web Server Plug-ins | Application Server Toolkit | Edge Components | Update Installer (UPDI) |
---|---|---|---|---|---|---|---|
AIX | install | install | install | install | N/A | install | install |
HP-UX | install | install | install | install | N/A | install | install |
Linux | install | install | install | install | install | install | install |
Solaris | install | install | install | install | N/A | install | install |
Windows | install | install | install | install | install | setup | install |
Operating System | Installation command |
---|---|
AIX | pkgadd -d ./packagename |
HP-UX | installp -acXd ./packagename |
Linux | rpm -i ./packagename |
Solaris | swinstall -s ./packagename |
Windows | setup |
component_disc_directory/install
component_disc_directory/install -options "response_file_name" -silent
Use the following install command options to install a new installation, add a feature to an existing installation, or configure an existing WebSphere Application Server Network Deployment product by creating a profile.
Option Name (-OPT) | WebSphere Application Server Network Deployment | |
---|---|---|
Values | Default | |
allowNonRootSilentInstall | "true | false" | "false" |
feature | "noFeature | samplesSelected" | "samplesSelected" |
installLocation | Any valid directory path | app_server_root directories for root and non-root installers |
installType | "installNew | addFeature | createProfile" | "installNew" |
profileType | "standAlone" | "deploymentManager" | "cell" | "custom" | "none" | "none" |
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. | "ADMIN_USER_NAME" |
PROF_adminPassword | Any valid user password. | "ADMIN_PASSWORD" |
PROF_appServerProfileName | A valid profile name | Commented |
PROF_appServerNodeName | A string with valid characters | Commented |
PROF_cellName | A string with valid characters | Commented |
PROF_defaultPorts | Commented | Uncommented | Commented |
PROF_dmgrAdminPassword | Valid deployment manager administrative user password | Commented |
PROF_dmgrAdminUserName | Valid deployment manager administrative user name | Commented |
PROF_dmgrHost | Host name of the deployment manager | Commented |
PROF_dmgrPort | SOAP port of the deployment manager | Commented |
PROF_dmgrProfileName | A valid profile name | 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_nodeOmitAction | Valid name of a configuration action for the cell | 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
-OPT allowNonRootSilentInstall="false"
-OPT feature="samplesSelected"
-OPT installLocation="app_server_root"
-OPT installType="installNew"
-OPT silentInstallLicenseAcceptance="true"
-OPT traceFormat=ALL
-OPT traceLevel=INFO
install -options /tmp/was/my_response_file2.txt -silent
-OPT allowNonRootSilentInstall="false"
-OPT installLocation="app_server_root"
-OPT installType="createProfile"
-OPT profileType="cell"
-OPT silentInstallLicenseAcceptance="true"
-OPT traceFormat=ALL
-OPT traceLevel=INFO
-OPT PROF_appServerNodeName="cellappnode01"
-OPT PROF_appServerProfileName="cellapp01"
-OPT PROF_cellName="dmgrcell01"
-OPT PROF_defaultPorts=
-OPT PROF_dmgrProfileName="dmgr01"
-OPT PROF_enableAdminSecurity="false"
-OPT PROF_hostName="5.55.555.555"
-OPT PROF_isDefault=
-OPT PROF_nodeName="dmgrnode"
-OPT PROF_profilePath="profile_root"
-OPT PROF_serverName="server01"
-OPT PROF_validatePorts=
-OPT PROF_webServerCheck="true"
-OPT PROF_webServerHostname="5.55.555.555"
-OPT PROF_webServerInstallPath="Web_server_root"
-OPT PROF_webServerName="IHS01"
-OPT PROF_webServerOS="linux"
-OPT PROF_webServerPluginPath="plugins_root"
-OPT PROF_webServerPort="80"
-OPT PROF_webServerType="IHS"
See Installing Feature Pack for EJB 3.0 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 | Application Server Toolkit | Edge Components | Update Installer (UPDI) |
---|---|---|---|---|---|---|---|
Operating system such as AIX or Linux | Yes | 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.
The exit codes for the Application Client are different than the Version 6.0 exit codes, which are “1=success” and “0=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.