• 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.
    
  • 相关阅读:
    verifycode验证码模版
    输出一个整数的每一位,如:123的每一位是1 , 2 , 3
    编写代码模拟三次密码输入的场景。 最多能输入三次密码,密码正确,提示“登录成功”,密码错误, 可以重新输 入,最多输入三次。三次均错,则提示退出程序
    获取一个数二进制序列中所有的偶数位和奇数位, 分别输出二进制序列
    一台客户端有三百个客户与三百个客户端有三百个客户对服务器施压,有什么区别?
    软件生存周期及其模型是什么?
    试述软件的概念和特点?软件复用的含义?构件包括哪些?
    Spring Cloud Stream与Spring Cloud Bus区别
    Spring的设计模式
    JavaScript的事件循环机制总结 eventLoop
  • 原文地址:https://www.cnblogs.com/linga/p/11024353.html
Copyright © 2020-2023  润新知