websphere7 linux 命令行安装(静默安装)

This blog outlines the steps for installing WebSphere Application Server 7 on a Linux system via command line. It involves editing the response file, accepting licenses, disabling system checks, specifying installation path, and performing a silent installation as root. The process also includes creating a server profile, starting the server, and verifying the installation through the administration console." 64905098,1456572,经纪人(Broker)在分布式系统中的封装与位置无关性设计,"['系统架构', '解决方案', '流程控制', '开发人员', '企业培训']

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1 登陆root用户,解压该安装包 was.cd.70011.trial.base.opt.linux.ia32.tar.gz

2、编辑配置文件responsefile.nd.txt。
responsefile.nd.txt文件(本人实验时文件名是responsefile.base.txt,一下皆替换即可)位于WAS文件夹中,命令行安装(静默安装)需要修改该文件的相关选择,下面讲要修改的参数陈列如下:
-OPT silentInstallLicenseAcceptance="true"    –接受License
-OPT allowNonRootSilentInstall="true" --是否允许非root用户安装
-OPT disableOSPrereqChecking="true" --取消对系统的检测
-OPT installType="installNew"   --是否全新安装
-OPT feature="noFeature"   --不安装示例
-OPT installLocation="/opt/IBM/WebSphere/AppServer" --默认安装路径
-OPT profileType="none"   --不生成概要
-OPT PROF_enableAdminSecurity="false" --设置管理员安全,如果该值为true 则在下面两项上输入用户名和密码。如:用户名为admin ,密码为123456
-OPT PROF_adminUserName=”admin”
-OPT PROF_adminPassword=”123456”
保存该文件


3 执行命令行安装(静默安装):
以root账号身份执行,在安装程序目录执行命令
# ./install -options "responsefile.nd.txt" –silent
等待一会,直到命令执行完成。查看是否安装成功
# ls –alF /opt 如果opt路径下有.ibm 和IBM文件夹则说明安装完成。


4 查看安装日志。日志文件位于
/opt/IBM/WebSphere/AppServer/logs/install/log.txt,有兴趣可以自己看一下
如果安装失败,查看日志,本人安装时就是磁盘剩余空间有限,然后解决.


5 命令行建立AppSrv01服务器,进入/opt/IBM/WebSphere/AppServer/bin目录,运行

  ./manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default -profileName AppSrv01


6 启动AppSrv01在/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin目录下执行
./startServer.sh server1

7 启动完成后,在其他机器输入http://ip:9060/ibm/console,如果能打卡界面,说明安装成功

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值