weblogic11g_linux_silent安装

安装jdk

[root@tjdl /]# mv jdk-6u45-linux-x64.bin /
[root@tjdl /]# chmod 777 /jdk-6u45-linux-x64.bin 
[root@tjdl /]# ./jdk-6u45-linux-x64.bin
[root@tjdl etc]# vi profile
export JAVA_HOME=/jdk1.6.0_45
export CLASSPATH=.$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$PATH
[root@tjdl etc]# source /etc/profile
[root@tjdl etc]# java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

安装weblogic

[root@tjdl ~]# groupadd weblogic
[root@tjdl ~]# useradd -g weblogic weblogic
[root@tjdl ~]# passwd weblogic
[weblogic@tjdl ~]$ vi silent.xml
<?xml version="1.0" encoding="UTF-8"?>
   <bea-installer> 
     <input-fields>
       <data-value name="BEAHOME" value="/home/weblogic/Middleware" />
       <data-value name="WLS_INSTALL_DIR" value="/home/weblogic/Middleware/wlserver_10.3" />
       <data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins|WebLogic Server/UDDI and Xquery Support|WebLogic Server/Server Examples|Oracle Coherence/Coherence Product Files" />
       <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="yes" />
       <data-value name="NODEMGR_PORT" value="5559" />
       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="yes"/>
   </input-fields> 
</bea-installer>
[weblogic@tjdl ~]$ java -jar /iso/wls1036_generic.jar -mode=silent -silent_xml=silent.xml

创建域

[weblogic@tjdl ~]$ cd Middleware/wlserver_10.3/common/bin
[weblogic@tjdl bin]$ ./config.sh -mode=console
 ->1|Create a new WebLogic domain
->1|Choose Weblogic Platform components
保持默认Application Template Selection:
-------------------------------

 

    Available Templates
    |_____Basic WebLogic Server Domain - 10.3.6.0 [wlserver_10.3]x
    |_____Basic WebLogic SIP Server Domain - 10.3.6.0 [wlserver_10.3] [2] 
    |_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.6.0 [wlserver_10.3] [3] 
    |_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.6.0 [wlserver_10.3] [4] 
默认Edit Domain Information:
------------------------

    |  Name  |    Value    |
   _|________|_____________|
   1| *Name: | base_domain |
默认Select the target domain directory for this domain:
---------------------------------------------------

    "Target Location" = [Enter new value or use default 
"/home/weblogic/Middleware/user_projects/domains"]
修改密码后确认Configure Administrator User Name and Password:
-----------------------------------------------
开发模式Domain Mode Configuration:
--------------------------

Enable Development or Production Mode for this domain. 

 ->1|Development Mode

   2|Production Mode
选择JDK Java SDK Selection:
-------------------

 ->1|Sun SDK 1.6.0_45 @ /jdk1.6.0_45
   2|Other Java SDK
新建域选择主管Select Optional Configuration:
------------------------------

   1|Administration Server [ ]
   2|Managed Servers, Clusters and Machines [ ]
   3|RDBMS Security Store [ ]

Creating Domain...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


**** Domain Created Successfully! ****
启动weblogic
[weblogic@tjdl ~]$ cd Middleware/user_projects/domains/base_domain/
[weblogic@tjdl base_domain]$ ./startWebLogic.sh 


<May 27, 2019 4:55:29 PM CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode> 
启动成功
上一篇:2_Fiask的配置文件config


下一篇:如何通过Python函数运行的可执行文件的终端输出以一般方式静音?