Install WebSphere Application Server V6
- Login as the user ‘wasadmin’ with a password of ‘wasadmin’. This user should have been created during the database installation.
- From the directory ‘C:\WAS v6\WAS v6’ or WebSphere Application Server V6 CD, double click on launchpad.bat.
- Choose Websphere Application server – Trial Installation. Click on the link Launch the installation wizard for the WebSphere Application Server.
- On the Welcome page choose Next.
- Accept the license agreement and choose Next.
- One the system passed the prerequisite checks choose Next.
- Select the default installation directory and press Next.
- Select Full Installation (or choose Custom Installation and ensure that all checkboxes are selected as shown in the figure below). Choose Next.
- Explore the different port numbers assigned to various components of the application server. Choose Next to accept the default port numbers.
- Accept the default node and host names for your machine. Choose Next.
- Select Log on as specified user account. Enter wasadmin as username and password. Accept all other defaults and choose Next.
- Choose Next on the summary page. Wait for the installation to complete. This may take a few minutes.
- When installation is complete choose Finish. You should now see the Fist Steps screen.
- Click on Installation verification link to verify that the installation is successful. You should see a list of messages indicating success. In the end, you should see the message Installation Verification is complete. Close the window.
- Return to the First steps console, stop the server and exit.
Install IBM HTTP Server V6
- In the IHS folder, double click on Install.exe to start the installation.
- Click Next on the Welcome screen.
- Accept the license and click Next.
- Choose the default installation location and click Next.
- Under installation type, choose Typical and press Next.
- Enter the password wasadmin and leave the other defaults as is.
- Press Next.
- Press Next in the Summary screen to start the installation. Click Finish when done.
Install the Web Server Plugin
- The Web Server Plugin can be installed primarily based on two topologies.
Remote stand-alone application server installation: In this topology, you run the configuration script on the application server machine. The Web server and its plug-in on a different machine than the application server.
- Local stand-alone application server installation: Detects the default profile on a local application server machine and creates the Web server definition for it directly. Install the Web server and its plug-in on the same machine with the application server. For the labs, we will be using this configuration.
- Ensure that the services for IBM HTTP Server and WebSphere Application Server are stopped.
- From the Web Server Plugin folder, navigate to the plugin folder. Click on install.exe to start the installation.
- In the Welcome screen, uncheck all checkboxes and press Next.
- Accept the license agreement and press Next.
- Upon successful completion of the prerequisite check, press Next.
- From the list of web servers, select the radio button for IBM HTTP Server V6.
- Press Next.
- For the installation scenario, select the radio button for the local scenario.
- Press Next.
- Choose the default installation location and press Next.
- Ensure that the application server root directory is correct. If not, click on the Browse button to navigate to the correct location.
- Press Next.
- Click on the Browse button to navigate to C:\Program Files\IBM HTTP Server\conf\httpd.conf file and press Next.
- Accept the default web server definition name and press Next.
- Ensure that the path for the plugin-cfg.xml file is C:\Program Files\IBM\WebSphere\AppServer\profiles\default\config\cells\<host_name_of_local_machine>Node01Cell\nodes\webserver1_node\servers\webserver1\plugin-cfg.xml and press Next.
- Press Next.
- Press Next in the Summary page.
- Press Next when installation is completed.
- In the Summary page, ensure that the installation is successful. If the installation is unsuccessful, refer to the log files mentioned in the Summary page. If a html page pops up referring to the web server plug-in installation roadmap, close the file.
- Press Finish.
- We will now verify that both the embedded HTTP Server(HTTP Transport) and the external web server are able to serve up the requests.
- Start the application server by opening a command prompt and navigating to C:\Program Files\IBM\WebSphere\AppServer\profiles\default\bin folder. Enter the command startServer server1. Wait for the server to start. You should see the message
ADMU3000I: Server server1 open for e-business; process id is 584.
- Start the IBM HTTP Server from the Windows Services panel or by navigating to C:\Program Files\IBM HTTP Server\bin directory and issuing the command Apache -k start.
- Open a browser and navigate to to test the embedded HTTP Server. You should see the Snoop servlet displayed in the browser.
- Now enter the URL to access the Snoop servlet from the external HTTP Server.
Note: Replace <Host_name_of_web_server_machine> with the actual host name of your machine.
- You have successfully installed and configured the WebSphere Application Server, IBM HTTP Server, Web Server Plug-in.
- Stop the application server and HTTP Server. Close all browsers and command prompts.