"WebLogic" WEBLOGIC12C deployment documentation

Source: Internet
Author: User
Tags node server

    1. Create WebLogic Users and WebLogic groups:
      Groupadd WebLogic
      Useradd–d/weblogic weblogic–g WebLogic
  • 2 Place the jdk1.7 installation package under/usr/local so that it can be called when it is configured later.
  • 3. Using WebLogic Users
    In Vim ~/.BASHRC, set the environment variable to add the contents of the Orange box below.

    Export java_home=/usr/local/jdk1.7
    Export JRE_HOME=/USR/LOCAL/JDK1.7/JRE
    Export classpath=.: $JAVA _home/lib: $JRE _home/lib: $CLASSPATH
    Export path= $JAVA _home/bin: $JRE _home/bin: $PATH
    Executes the source ~/.BASHRC, which takes effect on the environment variable.
  • 4. Unzip the WebLogic installation package
    Decompression WEBLOGIC12.TAR.GZ,TAR–XZVF weblogic12.tar.gz
    Generate 4 folders or directories after decompression:
  • 5. Setting Environment variables
    Cd/weblogic/weblogic12/wlserver/server/bin
    ./setwlsenv.sh
  • 6. Install WebLogic (silent installation)
    You need to create two files to generate Orainst.loc and WLS.RSP.
    1. Create a response file WLS.RSP [the item in the response file must be written in full, otherwise it will report insufficient parameters, etc.]
      ENGINE] #DO not. Response File Version=1.0.0.0.0[generic] #The Oracle home location. This can is a existing Oracle Home or a new Oracle Homeoracle_home=/weblogic #此项为weblogic的安装目录 #set This variable value To the installation Type selected. e.g. WebLogic Server, Coherence, complete with examples.install_type=weblogic server#provide the My Oracle support Usernam E. If you wish to ignore the Oracle configuration Manager configuration provide empty string for user name. Myoraclesupport_username= #Provide the My Oracle support passwordmyoraclesupport_password=< SECURE value> #Set this to true if your wish to decline the security updates. Setting this to true and providing empty string for My Oracle support username would ignore the Oracle Configuration Manage R Configurationdecline_security_updates=true#set this to true if My Oracle support Password is Specifiedsecurity_updates_ Via_myoraclesupport=false#provide the proxy hostproxy_host= #Provide the proxy portproxy_port= #Provide The proxy usernameproxy_user= #Provide the proxy passwordproxy_pwd=< SECURE value> #Type String (URL format) indicates the OCM Repeater URL which should be of the format [scheme[http/ht Tps]]://[repeater Host]:[repeater port]collector_supporthub_url=
    2. Create a loc file Orainst.loc

      Inventory_loc=/weblogic/orainventory
      Inst_group=weblogic

  • Create files and permissions grant user permissions
    cd/weblogic/
    Create the/weblogic/domains directory as the domain installation directory.

    1. Installation Wls.rsp,orainst.loc must specify an absolute path

      Java-jar Fmw_12.1.3.0.0_wls.jar-silent-responsefile/weblogic/wls.rsp-invptrloc/weblogic/orainst.loc

  • Installation domain
    Execution Environment variables:

    Export Mw_home=/weblogic/domains
    Export Wl_home=/weblogic/domains/oracle_common

  • performing the installation procedure
    Cd/weblogic/weblogic12/wlserver/common/bin
    ./commenv.sh
    ./wlst.sh

    wls:/ Offline>readtemplate ('/weblogic/domains/wlserver/common/templates/wls/wls.jar ')

    wls:/offline/ BASEDOMAIN>CD (' Servers/adminserver ')

    Wls:/offline/basedomain/server/adminserver>set (' ListenAddress ', ')

    #端口号可以自定义
    Wls:/offline/basedomain/server/adminserver>set (' Listenport ', 7001)

    wls:/ OFFLINE/BASEDOMAIN/SERVER/ADMINSERVER>CD ('.. /.. ')

    Wls:/offline/basedomain>cd (' security/basedomain/user/weblogic ')

    #密码可以自定义, but not too simple
    Wls:/offline/basedomain/security/basedomain/user/weblogic>cmo.setpassword (' welcome1 ' )

    Wls:/offline/basedomain/security/basedomain/user/weblogic>setoption (' Overwritedomain ', ' true ')

    Wls:/offline/basedomain/security/basedomain/user/weblogic>writedomain ('/weblogic/domains/domains/ Basedomain ')

    Closetemplate ()

    Exit () *

      1. 7.Weblogic Startup and Deployment Services
        • Node Server configuration
          Cd/weblogic/domains/domains/base_domain/nodemanager
          Vim Nodemanager.properties
          The listener is changed to the native address, the other parameters should be modified as needed.
        • Start WebLogic
          Cd/weblogic/domains/domains/base_domain/bin
          Nohup./startweblogic.sh &
          #weblogic启动进程需要nohup或其他工具放到后台启动, the boot situation can be viewed Nohup.out log
      2. 8. Now that the WebLogic deployment is complete, you can open the Web console to deploy the required nodes.
        Log in to WebLogic console page: Http://192.168.48.157:7001/console
        The default account you just set: WebLogic
        Passwd:welcome1

    "WebLogic" WEBLOGIC12C deployment documentation

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.