Using silent installation on Solaris
This article describes how to install WebSphere Application Server using the noninteractive, or silent, mode.
To complete a silent installation, you use the default response file or create a customized one, and then
execute the installation script for WebSphere Application Server, supplying the response
file as a command-line parameter.
These instructions assume the following:
Using the default response file
A default response file, named install.script, is supplied with WebSphere Application Server.
You can use the default options in this file to install WebSphere Application Server or use
the file as a template for creating a customized response file.
If you use the default options in the default response file to install WebSphere Application Server, the following software and other resources are installed:
- Java 2 Software Development Kit (SDK) 1.3 (version supplied with WebSphere Application Server)
- IBM HTTP Server 1.3.19
- WebSphere Application Server 4.0
- WebSphere Application Server application samples
- WebSphere Application Server application assembly and deployment tools
- Plug-in for IBM HTTP Server 1.3.19
- Documentation in U.S. English
All files except IBM HTTP Server are installed into the directory /opt/WebSphere/AppServer; IBM HTTP Web
Server is installed into the directory /opt/IBMHTTPD. In addition, WebSphere Application Server is configured
for use with IBM HTTP Server.
Using a customized response file
You can also use the default response file as a template for creating a customized response file.
You can edit the default response file to enable the configuration of WebSphere Application Server
with a different supported Web server or to install the products into a different directory.
Instructions for editing the default response file are included in the procedure
Performing a silent installation.
Performing a silent installation
Perform the following steps to create a customized response file (if needed) and install WebSphere
Application Server. These instructions assume that the installation is being
performed from the product CD-ROM:
- Ensure that you are logged into the machine with superuser (root) privileges.
- If a preexisting Web server on your system is running, stop the Web server.
If you plan to install IBM HTTP Server 1.3.19 as part of the WebSphere Application Server
installation and a version of IBM HTTP Server prior to 1.3.19 is already installed on your system, you must
uninstall it in order for the WebSphere Application Server installation program to successfully install
IBM HTTP Server 1.3.19.
- Insert the WebSphere Application Server CD-ROM and,
if necessary, mount the CD-ROM drive. (On most Solaris systems, the Volume Management daemon
(vold) mounts the CD-ROM automatically and immediately, as well as each time the machine is
restarted. If the vold process is not running on the local machine, see your Solaris documentation for instructions on how to mount the CD-ROM drive.) The following steps assume that the
CD-ROM drive is mounted at /cdrom.
- Navigate to the /cdrom/cdrom0/sun directory by entering the following command:
# cd /cdrom/cdrom0/sun
- Ensure that the directory /usr/ucb exists in the PATH environment variable for the
root login. If it does not, you must edit the install.sh script. To edit this script, do the following:
- Copy the install.sh script from the /cdrom/cdrom0/sun directory to the /tmp directory on the
machine on which you will install WebSphere Application Server.
- Open this script in a text editor and find the line
USERNAME=`/usr/ucb/whoami` .
- Add the following line before the line
USERNAME=`/usr/ucb/whoami` :
export PATH = $PATH:/usr/ucb
- Save the edited install.sh script.
- If the supported Web server you plan to use is newer than the
version currently required by WebSphere Application Server, you must update the prereq.properties file or disable
the prerequisite checking functionality before installing WebSphere Application Server.
To obtain an updated prereq.properties file, download the latest version from the WebSphere Application Server
Tools Web site at
www.ibm.com/software/webservers/appserv/tools.html.
Ensure that the updated prereq.properties file is downloaded or copied into the local /tmp directory.
To disable prerequisite checking functionality, perform the following steps:
- Copy the prereq.properties file from the the /cdrom/cdrom0/sun directory to the /tmp directory on the
machine on which you plan to install WebSphere Application Server.
- Open the prereq.properties file in a text editor and disable prerequisite checking for an individual
component by changing the value of the specific key from
1 to 0 .
- Save the edited prereq.properties file.
- Ensure
that you are in the directory /cdrom/cdrom0/sun and create a copy of the default response file by using the
cp command, as follows:
# cp install.script new_install.script
In this command, new_install.script represents the full pathname of the copy of the default
response file you are creating (for example, /tmp/new_install.script). The name of your response file
must have a .script extension.
- If you plan to install WebSphere Application Server by using the default options included in
the default response file, proceed to Step 9. If you plan to install
WebSphere Application Server by creating and using a customized response file, create this file
by performing the following steps:
- Open your copy of the default response file new_install.script in a text editor.
- Move to the editable area of the response file beginning with the property destinationDirectory.
This area of the response file contains editable properties specific to WebSphere Application Server
product installation. Use the detailed comments throughout the file and in the table below to guide you
through the installation and configuration options available for performing a customized
silent installation. The table describes the properties that can be modified and their default values.
All values are case-sensitive and must be entered exactly as they appear in the table.
Review especially the InstallOption property. Your choice for this property can eliminate
the need to make changes to other properties within the response file.
Property name |
Description |
Possible values |
Default value |
destinationDirectory |
Use the destinationDirectory property to specify the directory in which WebSphere Application Server
is installed. |
A fully qualified pathname |
/opt/WebSphere/AppServer |
InstallOption |
Use the InstallOption property to specify whether to perform a Quick (Typical) or Custom
installation. Set this property to the value QUICK if you want to install WebSphere Application Server
by using the Typical (Quick) installation option. Set this property to the value CUSTOM to install
WebSphere Application Server by using the Custom installation option.
- If you set the InstallOption property to the value
QUICK , the installer
installs WebSphere Application Server by using the default options listed in the section
Using the default response file. No other properties within
the install.script file have to be edited. At this point, save the edited install.script file. You can now
reference this customized response file during installation of WebSphere Application Server.
- If you set the InstallOption property to the value
CUSTOM , you must edit several
additional properties within this file. Proceed through the rest of the properties listed below.
|
QUICK or CUSTOM |
QUICK |
Install?WebSphere |
Use the Install?WebSphere property to specify whether to install WebSphere
Application Server. |
true or false |
true |
Install?.apserv |
Use the Install?.apserv property to specify whether to install the application
server runtime for hosting applications and an administrative server for managing configurations. |
true or false |
true |
Install?.admin |
Do not edit this option for WebSphere Application Server Advanced Single Server Edition.
|
true or false |
true |
Install?.sample |
Use the Install?.sample property to specify whether to install sample servlets
and Web site applications demonstrating both simple and advanced techniques.
If you install the samples, you must also install the application
and administrative servers or have the WebSphere Application Server product already
installed on your system.
|
true or false |
true |
Install?.tools |
Use the Install?.tools property to specify whether to install the
Application Assembly and Deployment tools.
|
true or false |
true |
Install?.http |
Use the Install?.http property to specify whether to install IBM HTTP Server 1.3.19. |
true or false |
true |
Install?.olt |
Use the Install?.olt property to specify whether to install the IBM Distributed Debugger.
The debugger provides object level trace.
|
true or false |
false |
Install?.plugins |
Use the Install?.plugins property to specify whether to install a Web server plug-in. This property must be
set to true to install any Web server plug-in.
| true or false |
true |
Install?.apserv.apache1312 |
Use the Install?.apserv.apache1312 property to specify whether to install the plug-in for
Apache 1.3.20 HTTP Web Server.
Also set the following properties to install the plug-in for this Web server:
- Select4.config.apserv.apache1312
- Enter the fully qualified
path and file name of the Web server configuration file. The default value is blank.
- Select4.error.apserv.apache1312
- Enter the fully qualified
path and file name of the Web server dialog error message file. The default value is blank.
|
true or false |
false |
Install?.apserv.httpserv |
Use the Install?.apserv.httpserv property to specify whether to install the plug-in for IBM HTTP Server 1.3.19.
Also set the following properties to install the plug-in for this Web server:
- Select4.config.apserv.httpserv
- Enter the fully qualified
path and file name of the Web server configuration file. The default value is blank.
- Select4.error.apserv.httpserv
- Enter the fully qualified
path and file name of the Web server dialog error message file. The default value is blank.
|
true or false |
true |
Install?.apserv.ipl41 |
Use the Install?.apserv.ipl41 property to specify whether to install the plug-in for
iPlanet Web Server Enterprise Edition Version 4.1.
Also set the following properties to install the plug-in for this Web server:
- Select4.config.apserv.ipl41
- Enter the fully qualified
path and file name of the Web server configuration file. The default value is blank.
- Select4.error.apserv.ipl41
- Enter the fully qualified
path and file name of the Web server dialog error message file. The default value is blank.
|
true or false |
false |
Install?.apserv.domino |
Use the Install?.apserv.domino property to specify whether to install the plug-in for Lotus Domino
Enterprise Server 5.0.
Also set the following properties to install the plug-in for this Web server:
- Select4.config.apserv.domino
- Enter the fully qualified
path and file name of the names.nsf file, which is the Domino/Lotus Notes database
modified by WebSphere Application Server to include the plug-in information. The default value is blank.
- Select4.error.apserv.domino
- Enter the fully qualified
path and file name of the Web server dialog error message file. The default value is blank.
- Select4.jarfile.apserv.domino
- Enter the fully qualified
path and file name of the Notes.jar file, which is a library that the configuration code needs to configure
Domino with the WebSphere Application plug-in. The default value is blank.
|
true or false |
false |
Do not edit the following properties when installing WebSphere Application Server Advanced Single Server Edition:
- DBType
- DBName
- DBUser
- DBPassword
- DBHome
- DBurl
- DBServerName
- DBPort
- RemoteDB
- When you have finished editing the response file, save it and exit the text editor. You can now reference
this customized response file during installation of WebSphere Application Server.
- Run the installation script in one of following ways depending on the actions you have taken in
Step 5 and Step 6. (Because the shell script performs some pre- and post-processing steps on the installation, do not use
the Solaris admintool utility to run the script.) The install.sh shell script uses the response file to
install the components and options that you have selected. In each case, the value new_install.script represents
the full pathname of the copy of the default response file or the customized response file that you created
(for example, /tmp/new_install.script).
- If you have edited the install.sh script as detailed in Step 5 but have not
downloaded a new prereq.properties file or disabled prerequisite checking functionality as detailed in
Step 6, run the installation script file by entering the following commands:
# cd /cdrom/cdrom0/sun
# /tmp/install.sh -silent -responseFile new_install.script
- If you have edited the install.sh script as detailed in Step 5 and have
downloaded a new prereq.properties file or disabled the prerequisite checking functionality as detailed in
Step 6, run the installation script file by entering the following commands:
# cd /cdrom/cdrom0/sun
# /tmp/install.sh -prereqfile /tmp/prereq.properties -silent \
-responseFile new_install.script
- If you have not edited the install.sh script as detailed in Step 5 and have
not downloaded a new prereq.properties file or disabled the prerequisite checking functionality as detailed in
Step 6, run the installation script file by entering the following command:
# /cdrom/cdrom0/sun/install.sh -silent -responseFile new_install.script
- If you have not edited the install.sh script as detailed in Step 5 and have
downloaded a new prereq.properties file or disabled the prerequisite checking functionality as detailed in
Step 6, run the installation script file by entering the following command:
# /cdrom/cdrom0/sun/install.sh -prereqfile /tmp/prereq.properties -silent \
-responseFile new_install.script
Note: If you choose to install the plug-in for IBM HTTP Server, the installation
process checks whether you have the correct version of the Web server on your machine. If you do not have IBM HTTP Server
installed on your machine, the installation process performs one of the following actions, based on whether you
have indicated in your response file to install IBM HTTP Server:
- If you indicated in your response file that you do want to have IBM HTTP Server installed,
the installation process installs the plug-in for it.
- If you indicated in your response file that you do not want to have IBM HTTP Server
installed, the script exits without installing the plug-in.
- After installation is complete, refer to the log file named install.log located in the /tmp
directory to determine whether the silent installation was successful.
- Unmount the CD-ROM before removing it from the CD-ROM drive by using the umount command, as follows:
# umount /cdrom/cdrom0
You can then eject the CD-ROM.
- If you are using a Web server other than IBM HTTP Server, start the server. If you installed
IBM HTTP Server as part of the WebSphere Application Server silent installation,
you might need to configure it. Perform the following steps to verify that the IBM HTTP Server is
installed correctly:
- Ensure that the Web server is running or start it by entering the following command:
# /opt/IBMHTTPD/bin/apachectl start
- Open a Web browser window and type the name of the host machine as the
URL (http://host_machine or localhost). If you see the Welcome to the IBM HTTP Server page,
the server has been installed correctly.
Note that you might need to make configuration adjustments to the server
in order to run it successfully on your system. See the IBM HTTP Server documentation at
www.ibm.com/software/webservers/httpservers/library.html
for more information.
To enable the Secure Sockets Layer (SSL) on IBM HTTP Server, see the IBM HTTP Server documentation at
www.ibm.com/software/webservers/httpservers/doc/v1319/9atstart.htm
for more information.
To test your resulting installation, proceed to the following articles:
|
|