Installing WebSphere Application Server 4.0 -- Typical Installation option
This article describes the quickest way to install WebSphere Application Server and IBM HTTP Server
on a Linux (Intel) machine.
These instructions assume the following:
- Your machine has enough memory and disk space for your installation. The Typical Installation requires
approximately 130 MB of disk space for WebSphere Application Server and an additional 22 MB for IBM HTTP Server.
- If you plan to use IBM HTTP Server, you will select it for installation during the WebSphere Application
Server installation process. If you plan to use a different supported Web server with WebSphere,
you have already installed it on the same machine that will contain WebSphere Application Server.
- You have installed and configured a supported database for use with WebSphere Application Server.
- You do not have a previous version of WebSphere Application Server already installed on this machine.
If you do have a previous version of WebSphere Application Server already installed, do not follow these instructions.
Instead, see the article Migration overview.
Perform the following steps to install WebSphere Application Server:
- Log into the machine with superuser (root) privileges.
- If you have a version of IBM HTTP Web Server previous to version 1.3.19 installed on your machine,
uninstall IBM HTTP Web Server. The Typical Installation of WebSphere Application Server installs IBM HTTP Web Server
version 1.3.19.
- If another Web server is running on your system, stop the Web server.
- Insert the WebSphere Application Server CD-ROM into the CD-ROM drive.
- If necessary, use the mkdir command to create a mount point for the
CD-ROM. The following command creates a mount point at the directory /cdrom; you can mount
the CD-ROM at any location on the machine's local file system.
# mkdir /cdrom
The commands in these steps assume the CD-ROM is mounted at /cdrom. If you
mount the CD-ROM at a different location, use that location when issuing
commands.
- Mount the CD-ROM drive by entering the following command:
# mount -t isso9660 -r /dev/cdrom /cdrom
Note: |
Some window managers automatically mount a CD-ROM for you. Consult your operating system
documentation for more information. |
- Ensure that the DISPLAY and TERM environment variables are set properly.
- If the supported Web server or database you plan to use with WebSphere 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 /cdrom 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.
- Navigate to the /cdrom directory.
- If you have not downloaded an updated prereq.properties file or disabled the
prerequisite checking functionality, start the WebSphere Application Server installation program by using the
install.sh command, as follows:
# ./install.sh
If you have downloaded an updated prereq.properties file or disabled the
prerequisite checking functionality as detailed in Step 8, start the WebSphere Application Server installation program
by using the install.sh command, as follows:
# ./install.sh -prereqfile /tmp/prereq.properties
- The Welcome to the IBM WebSphere Application Server Setup program dialog box opens.
Click Next to continue.
- The Install Options dialog box opens. Ensure that Typical Installation is selected, and
click Next.
- The Database Options dialog box opens. Depending on the database you have installed, complete
one of the following set of instructions:
If you are using DB2, perform the following steps in the Database Options dialog:
- In the Database Type field, select DB2 from the pull-down menu.
- Ensure that Remote DB is not selected. For this example, the database and
WebSphere Application Server are installed on the same node.
- In the Database Name (Database SID) field, type the name of the database,
was40 .
- In the DB Home field, type the full pathname of the home directory of the DB2 instance owner,
/home/db2inst1 ,
or specify the full pathname of the home directory by using the Browse button.
- The DB URL field cannot be edited.
- The Server Name field cannot be edited.
- The Port Number field cannot be edited.
- In the Database User ID field, type the name of the database instance owner,
db2inst1 .
- In the Database Password field, type the current password for the database instance owner.
- Click Next to continue.
If you are using Oracle, perform the following steps in the Database Options dialog:
- In the Database Type field, select Oracle from the pull-down menu.
- Ensure that Remote DB is not selected. For this example, the database and
WebSphere Application Server are installed on the same node.
- In the Database Name (Database SID) field, type the name of the Oracle database you created.
For example,
ORA817.machine_name .
- In the DB Home field, type the full pathname of the directory you created to contain
the Oracle software and to be the home directory of the user named oracle, or specify the full path
name of the directory by using the Browse button. This path should
also be the value of the ORACLE_HOME environment variable.
- In the DB URL field, accept the default value
jdbc:oracle:thin:@fully_qualified_domain_name:port_number:database_name , or specify
a different URL for accessing the database.
- In the Server Name field, type the name of the machine on which the database is installed.
- In the Port Number field, type the port number used to access the database.
- In the Database User ID field, type the name of the database owner,
EJSADMIN .
- In the Database Password field, type the current password for the database owner.
- Click Next to continue.
- The Select Destination Directory dialog opens. Specify the directory in which you want to
install WebSphere Application Server. You can either accept the default destination directory or specify a
different one by typing the full pathname or by clicking Browse. Note that you cannot modify the destination
directory for IBM HTTP Server. Click Next to continue.
- The Install Options Selected dialog box opens. Verify that the information is correct and click
Install to complete the installation.
- The Setup Complete dialog box opens. To view the ReadMe file, ensure that Yes, I want to view
the ReadMe File is selected and click Finish; the ReadMe file is displayed in a default
browser window. To view the ReadMe file at a later time, deselect Yes, I want to view
the ReadMe File and click Finish to exit from the WebSphere Application Server installation program.
- The WebSphere Application Server - First Steps dialog box opens. You can use this GUI to access product
information in the InfoCenter, start the administrative server, launch the administrative console, or
launch the application assembly tool. Because you must first start and possibly configure the Web server before
using WebSphere, close this dialog for now. You can launch the First Steps GUI at a later time by running the
firststeps.sh script located in the /opt/WebSphere/AppServer/bin directory.
- Unmount the CD-ROM before removing it from the CD-ROM drive by using the umount command,
as follows:
# umount /cdrom
- If you are using a Web server other than IBM HTTP Server, start the server. If you are using IBM HTTP Server
and have installed it during the WebSphere Application Server installation, you may need to configure the
Web Server to run it successfully.
Perform the following steps to verify that IBM HTTP Server is installed and configured correctly:
- Ensure that the Web server is running. If not, start it by entering the following command:
# /opt/IBMHTTPServer/bin/apachectl start
- Start a browser and enter the name of the local machine as the URL. If
you see the IBM HTTP Server Web page, the server is installed and configured correctly.
See the IBM HTTP Server documentation Web site at
www.ibm.com/software/webservers/httpservers/library.html
for more information about configuring IBM HTTP Server.
To enable the Secure Sockets Layer (SSL) for IBM HTTP Server, see the IBM HTTP Server documentation Web site at
www.ibm.com/software/webservers/httpservers/doc/v1319/index.html
for more information.
- Proceed to the article Testing the installation.
|
|