SUSE 11 SP3 搭建weblogic服务

环境的搭建和业务需求相关,仅供参考

环境:

  • SUSE 11 SP3

安装步骤

  1. 创建一个weblogic
  2. 创建一个用户名为weblogic的用户,
  3. 创建相关目录
  4. 上传jdk,脚本等
  5. 安装

创建用户及其用户组

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.
posted @ 2019-06-14 17:11  咕咚!  阅读(445)  评论(0编辑  收藏  举报