apachewebspherewebsphere-libertywebsphere-8ibmhttpserver

How can install and configure IBM HTTP Server v9 from archieve zip


I want to install the "IBM HTTP Server for IBM WebSphere Application Server V9.0" without the IBM InstallationManager just with an archive file.

I already downloaded the archive file 9.0.5-WS-IHS-ARCHIVE-win-x86_64-FP003.zip and just run the postinstall.bat and I cannot install it . So, Does anyone know how can install it?

This the message that get everytime i run this command

postinstall.bat
    postinst: Could not reliably determine the server's fully qualified domain 
    name, using 127.0.0.1 for ServerName
    SERVERROOT_NATIVE=D:\Mohamed\Mohamed Nour\MohmedNour\Software\IBM WAS 
    ND\IHS
    SERVERROOT=D:/Mohamed/Mohamed Nour/MohmedNour/Software/IBM WAS ND/IHS
    PORT=80
    GSK7LIBDIR_NATIVE=D:\Mohamed\Mohamed Nour\MohmedNour\Software\IBM WAS 
    ND\IHS\gsk8\lib64
    GSK7LIBDIR=D:/Mohamed/Mohamed Nour/MohmedNour/Software/IBM WAS 
    ND/IHS/gsk8/lib64
    SERVERNAME=127.0.0.1
    postinst complete

here when access IBM HTTP Server

click to view errors picture

and also after register IHS in Admin Console and created unmanaged node for remote

when am access application from WAS it success but not when access through IHS

and also updated the http.conf configuration like :

<IfFile plugin/config/webserver1/plugin-cfg.xml>                             
LoadModule was_ap24_module C:\Program Files\IBM\WebSphere\Plugins\bin\mod_was_ap24_http.dll                    
WebSpherePluginConfig C:\Program Files\IBM\WebSphere\Plugins\config\webserver12\plugin-cfg.xml     
</IfFile>

and also web server created from console named webserver12


Solution

  • Just did what you want. This is the procedure:

    1. Download 9.0.5-WS-IHS-ARCHIVE-win-x86_64-FP003.zip
    2. Unzip to target folder (recommended folder without spaces in the path)
    3. Run postinstall.bat it displays the following:

      D:\install\WAS_90\IHS>postinstall.bat
      postinst: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
      SERVERROOT_NATIVE=D:\install\WAS_90\IHS
      SERVERROOT=D:/install/WAS_90/IHS
      PORT=80
      GSK7LIBDIR_NATIVE=D:\install\WAS_90\IHS\gsk8\lib64
      GSK7LIBDIR=D:/install/WAS_90/IHS/gsk8/lib64
      SERVERNAME=127.0.0.1
      postinst complete
      
    4. Verify in httpd.conf that you have settings changed, for example search for server root settin: ServerRoot "D:/install/WAS_90/IHS"
    5. Add IHS as service (you must have Administrator command line to do it):

    httpd.exe -k install -n IHS9A

    if you dont have admin rights just start server with the httpd.exe command

    1. All done. Access your server via http://localhost

    2. To federate to WebSphere App Server just follow usual instruction and provide your IHS unzipped folder as IHS install root.

    3. To configure your plugin add the following lines to httpd.conf, the plugin file for IHS is located in IHS\plugin\bin. Example for Win:

      <IfFile plugin/config/webserver1/plugin-cfg.xml>
      LoadModule was_ap24_module plugin/bin/mod_was_ap24_http.dll WebSpherePluginConfig c:/IHS/plugin/config/webserver1/plugin-cfg.xml
      </IfFile>

    These lines were correct after unzipping the IHS, but you manually messed that up, pointing to non existing C:\Program Files\IBM\WebSphere\Plugins folder. While configuring IHS in WAS console you have to think and set the IHS home (eg. C:\IHS) and Plugin home (c:\IHS\plugin) correctly to the directory where you unzipped the IHS archive. This was already discussed here Archive Installation for “Web Server Plug-ins for IBM WebSphere Application Server V9.0” instead of IM