IBM HTTP Server8安装及plugin转发配置

#IHS 8.5安装及配置plugin

IHS 6 或 7 的安装方法相对简单,在这里不做介绍,如有需求尽管留言,IHS 8
以上版本需要用到wct工具来安装plugin插件,同事在部署时发现wct工具无法调用,缺少各种依赖包,等依赖包全部安装之后,再执行wct没有了任何反应,于是给出以下静默安装plugin方案:

一、 安装IBM Installation Manager

安装过程略

二、 使用IBM Installation Manager安装IBM HTTP server

  1. 解压IHS包
    将WAS_V8.5.5_SUPPL_1_OF_3.zip、WAS_V8.5.5_SUPPL_2_OF_3.zip、WAS_V8.5.5_SUPPL__OF_3.zip 解压

  2. 打开IBM Installation Manage工具

  3. 添加repository.config文件
    repository.config在上一步解压的目录中。

  4. 选择安装组件
    如下图所示,只选择 “IBM HTTP Server” 和 “Web Server Plug-ins”
    这里写图片描述

  5. 完成安装
    安装过程中注意选择安装目录和端口,出现下图界面则安装成功。
    这里写图片描述

三、 拷贝plugin文件
将was控制台生成的plugin文件拷贝至IHS服务器的/opt/IBM/WebSphere/Plugins/config/webserver1/中,准备配置转发。

四、 配置plugin程序

cd /opt/IBM/WebSphere/Plugins/bin

./configureIHSPlugin.sh \
-plugin.home /opt/IBM/WebSphere/Plugins \
-plugin.config.xml /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml \
-ihs.conf.file /opt/IBM/HTTPServer/conf/httpd.conf \
-ihs.admin.usergroup nobody -operating.system linux \
-operating.system.arch 64 \
-WAS.webserver.name webserver1 \
-WAS.host.name app1
解析:
-plugin.home /opt/IBM/WebSphere/Plugins   #Plugins的安装目录
-plugin.config.xml /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml   #plugin文件位置
-ihs.conf.file /opt/IBM/HTTPServer/conf/httpd.conf      #http.conf文件位置
-ihs.admin.usergroup nobody -operating.system linux      #系统类型Linux、AIX
-operating.system.arch 64   #64位系统
-WAS.webserver.name webserver1     #was控制台的web服务器名称
-WAS.host.name app1   #was服务器主机名

你可以在IBM/WebSphere/Plugins/bin/ ConfigureIHSPlugin.sh得到使用方法:

Where:
    "plugin.home" is the plugin install root
    "plugin.config.xml" is the full path of plugin-config.xml file
    "ihs.conf.file" is the full path name of the httpd.conf
    "ihs.admin.usergroup" is the user group of IHS Admin server
    "operating.system" is the name of the operating system
        Possible values are: Linux|AIX|HP-UX|SunOS|ZOS
    "operating.system.arch" is the architecture of the operating system
        Possible values are: 32|64. Default value is 32
    "WAS.webserver.name" is the name of the webserver as defined 
        in WebSphere admin console. Default is webserver1
    "WAS.host.name" is the host name of the WebSphere
 
IHS Example: 
    ConfigureIHSPlugin.sh -plugin.home /opt/IBM/WebSphere/Plugins
           -plugin.config.xml /opt/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml
           -ihs.conf.file /opt/IHS/conf/httpd.conf
           -ihs.admin.usergroup ihsadmin
           -operating.system AIX  
           -operating.system.arch 64
           -WAS.webserver.name webserver2
           -WAS.host.name localhost

五、 修改http.conf文件was模块

  vim /opt/IBM/HTTPServer/conf/httpd.conf

执行完./ConfigureIHSPlugin.sh后会生成LoadModule的路径
将${WAS_PLUGIN_DRIVER} 改为was_ap22模块的绝对路径
如果你不知道was_ap22模块在哪,可以用find 搜索一下。

LoadModule was_ap22_module /opt/IBM/WebSphere/Plugins/bin/64bits/mod_was_ap22_http.so

六、 启动apachectl

----END

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

范一刀

你的鼓励是我创作最大的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值