SUSE 11 SP3 搭建weblogic服务
环境的搭建和业务需求相关,仅供参考
环境:
- SUSE 11 SP3
安装步骤
- 创建一个
weblogic
组 - 创建一个用户名为
weblogic
的用户, - 创建相关目录
- 上传jdk,脚本等
- 安装
创建用户及其用户组
groupadd weblogic # 创建组 mkdir -p /home/weblogic # 建立家目录 useradd -g weblogic -d /home/weblogic weblogic # 创建weblogic用户,指定属组,以及家目录 passwd weblogic # 修改密码 chown -R weblogic:weblogic /home/weblogic # 改变家目录的属主和属组
过程如下:
linux-u0ly:~ # groupadd weblogic linux-u0ly:~ # useradd -g weblogic -d /home/weblogic weblogic linux-u0ly:~ # mkdir -p /home/weblogic linux-u0ly:~ # chown -R weblogic:weblogic /home/weblogic linux-u0ly:~ # passwd weblogic Changing password for weblogic. New Password: Reenter New Password: Password changed. linux-u0ly:~ # passwd gx4500 Changing password for gx4500. New Password: Reenter New Password: Password changed.
上传安装脚本和相关安装包
通过rz
命令上传,没有的话使用zypper install -y lrzsz
进行安装
安装软件上传到/home/weblogic/software/
下
安装脚本上传到/home/weblogic/install/
下
安装jdk
root
移动到/home/weblogic/software/
下,使用rpm -ivh jdk-7u60-linux-x64.rpm
安装
linux-u0ly:/home/weblogic/software # rpm -ivh jdk-7u60-linux-x64.rpm Preparing... ########################################### [100%] 1:jdk ########################################### [100%] Unpacking JAR files... rt.jar... jsse.jar... charsets.jar... tools.jar... localedata.jar... jfxrt.jar...
安装weblogic
切换到weblogic用户,配置.profile
中的java目录
JAVA_HOME=usr/java/jdk1.7.0_60/bin/
执行install
目录下的安装脚本进行安装。
weblogic@linux-u0ly:~/install> sh install_wls1213.sh CREATING SILENT INSTALL FILES INSTALLING WEBLOGIC SERVER Launcher log file is /tmp/OraInstall2019-06-14_12-39-22PM/launcher2019-06-14_12-39-22PM.log. Extracting files....................... Starting Oracle Universal Installer Checking if CPU speed is above 300 MHz. Actual 2494.346 MHz Passed Checking swap space: must be greater than 512 MB. Actual 1123324 MB Passed Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Checking temp space: must be greater than 300 MB. Actual 12141 MB Passed Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2019-06-14_12-39-22PM Log: /tmp/OraInstall2019-06-14_12-39-22PM/install2019-06-14_12-39-22PM.log Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved. Reading response file.. Starting check : CertifiedVersions Expected result: One of enterprise-4,enterprise-5,enterprise-6,redhat-6,redhat-4,redhat-5,SuSE-11 Actual Result: SuSE-11 Check complete. The overall result of this check is: Passed CertifiedVersions Check: Success. Starting check : CheckJDKVersion Expected result: 1.7.0_15 Actual Result: 1.7.0_60 Check complete. The overall result of this check is: Passed CheckJDKVersion Check: Success. Validations are enabled for this session. Verifying data...... Copying Files... You can find the log of this install session at: /tmp/OraInstall2019-06-14_12-39-22PM/install2019-06-14_12-39-22PM.log -----------20%----------40%----------60%----------80%--------100% The installation of Oracle Fusion Middleware 12c WebLogic Server and Coherence 12.1.3.0.0 completed successfully. Logs successfully copied to /home/weblogic/tmp/.inventory/logs.
作者: 咕咚!
出处: https://www.cnblogs.com/linga/
关于作者:专注虚拟化,运维开发,RPA,Rust,Go,Python!
本文版权归作者和博客园共有,禁止*.csdn.net转载,禁止以盈利为目的的转载,转载文章,但未经作者同意必须保留此段声明,且在文章页面明显位置给出, 原文链接 如有问题, 可邮件(oldsixa@163.com)咨询.
标签:
Linux
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)