How to create a web server in WebSphere

Home > Search > How-to
  by

Install the Web Server

According to this article, only the IBM IHS Web Server can be controlled by WebSphere web console. For example, only IHS web server can be stopped or started using the WebSphere web console. For this reason, you will first want to download and install IBM's IHS web server. After IHS is installed, ensure you can get to the default IHS home page.

 


Install the plug in

Launch IBM Installation Manager.

~]# /opt/IBM/InstallationManager/eclipse/launcher

 

Select Install.

 

Select Web Server Plug-ins for IBM WebSphere Application Server and select Next.

 

Select I accept the terms of the license agreement and select Next.

 

Select Next.

 

Select Next.

 

 

Select Install.

 


If WebSphere Customzation Toolbox is not installed, install it.

Launch WebSphere Customization Toolbox. If you are not sure where wct.sh is located, use find / -iname *wct.sh* to determine where it is located.

~]# /opt/IBM/WebSphere/Toolbox/WCT/wct.sh

 

Select Web Server Plug-ins Configuration Tool and then select Launch Selected Tool.

 

Select Add. In the pop-up box, enter any name you would like. The plugin location must be the location of the WebSphere plugins. Select Finish.

 

Select Create. Select the appropriate server type and select Next. Since we are using Linux HTTPD web server, Apache Web Server V2.4 is the appropriate selection.

 

Remove the check from Setup IBM HTTP Server Administration Server and select Next.

 

Enter the location to the web server configuration file and select Next.

 

Give the web server a name, and select Next.

 

Since the web server is on the same system as the WebSphere application server, select Local, and then provide the directory to where the Websphere application server is installed, and select Next.

 

Select a profile and select Next. Select Configure and then select Finish.

 


Add the web server to the WebSphere web console

In the left panel of the WebSphere web console, expand Servers > Server Types, and select Web server. Select New. Enter the server name, type, host name and platform, and select Next.

 

Select IHS and select Next.

 

Select the port, plug in location, and mapping, and select Next.

 

Select Finish and then select Save.

 


You should now be able to start the web server using the web console.

 

Likewise, you should be able to stop the web server using the web console.

 

Once stopped, when attempting to request the URL of the web server, an error should be displayed, because the web server is stopped.

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments