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)咨询.