weblogic初级(安装Oracle WLS 10.3 – WLS 10版本的成熟系列)

回复 收藏
1、基础概念类(http://www.apelearn.com/bbs/thread-10176-1-1.html
2、安装前准备工作:(此处只针对Linux,windows系统有兴趣的同学可留言)
      1)需要先将jdk.*.bin文件和wls1036_generic.jar包上传至Linux虚拟机。(附

件 :http://pan.baidu.com/s/1jGQCv3K  )
注:jdk.*.bin文件是为虚拟机安装JAVA环境,根据虚拟机选择32 or64 位,

wls1036_generic.jar包为Weblogic的安装包。
3、上传完成后,按下列步骤即可安装:
         
第一部分:安装Weblogic
一、在../bin/目录下运行./java -jar wls**.jar-mode=console -

log=/root/install.log  
This installer will guide you through theinstallation of WebLogic 10.3.6.0.
Type "Next" or enter to proceedto the next prompt.  If you want tochange data

entered previously, type "Previous".  You may quit the installer at any time

bytyping "Exit".
二、设置Weblogic的主目录(可自己定义,一般为默认。)
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Choose Middleware Home Directory:
---------------------------------
   "Middleware Home" = [Enter new value or use default
Enter new Middleware Home OR[Exit][Previous][Next]>N
三、
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for securityupdates and  to initiate

configurationmanager.
  1|Email:[]
  2|Support Password:[]
  3|Receive Security Update:[Yes]
Enter index number to select OR [Exit][Previous][Next]>3
三、1.
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for securityupdates and  to initiate

configurationmanager.
   "Receive Security Update:" = [Enter new value or use default"Yes"]
Enter [Yes][No]? NO
三、2
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for securityupdates and  to initiate

configurationmanager.
   "Receive Security Update:" = [Enter new value or use default"Yes"]
   ** Do you wish to bypass initiation of the configuration manager and
   **  remain uninformed of criticalsecurity issues in your configuration?
Enter [Yes][No]? Yes
三、3.
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for securityupdates and  to initiate

configurationmanager.
  1|Email:[]
   2|SupportPassword:[]
  3|Receive Security Update:[No]
Enter index number to select OR[Exit][Previous][Next]> Next
四、1.
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Choose Install Type:
--------------------
Select the type of installation you wish toperform.
->1|Typical
   |  Install the followingproduct(s) and component(s):
    |- WebLogic Server
    |- Oracle Coherence
  2|Custom
   |  Choose software products andcomponents to install and perform optional
   |configuration.
Enter index number to select OR[Exit][Previous][Next]> 2
四、2.
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Choose Products and Components:
-------------------------------
   Release 10.3.6.0
   |_____WebLogic Server [1] x
   |    |_____Core Application Server[1.1] x
    |    |_____Administration Console [1.2] x
   |    |_____Configuration Wizardand Upgrade Framework [1.3] x
   |    |_____Web 2.0 HTTP Pub-SubServer [1.4] x
   |    |_____WebLogic SCA [1.5] x
   |    |_____WebLogic JDBC Drivers[1.6] x
   |    |_____Third Party JDBCDrivers [1.7] x
   |    |_____WebLogic Server Clients[1.8] x
   |    |_____WebLogic Web ServerPlugins [1.9] x
   |    |_____UDDI and Xquery Support[1.10] x
   |    |_____Server Examples [1.11]
   |    |_____Evaluation Database[1.12] x
   |_____Oracle Coherence [2] x
        |_____Coherence Product Files [2.1] x
        |_____Coherence Examples [2.2]
   *Estimated size of installation: 690.2 MB
Enter number exactly as it appears inbrackets to toggle selection OR [Exit]

[Previous][Next]> 2
四、3.
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Choose Products and Components:
-------------------------------
   Release 10.3.6.0
   |_____WebLogic Server [1] x
   |    |_____Core Application Server[1.1] x
    |    |_____Administration Console [1.2] x
   |    |_____Configuration Wizardand Upgrade Framework [1.3] x
   |    |_____Web 2.0 HTTP Pub-SubServer [1.4] x
   |    |_____WebLogic SCA [1.5] x
   |    |_____WebLogic JDBC Drivers[1.6] x
   |    |_____Third Party JDBCDrivers [1.7] x
   |    |_____WebLogic Server Clients[1.8] x
   |    |_____WebLogic Web ServerPlugins [1.9] x
   |    |_____UDDI and Xquery Support[1.10] x
   |    |_____Server Examples [1.11]
   |    |_____Evaluation Database[1.12] x
   |_____Oracle Coherence [2]
        |_____Coherence Product Files [2.1]
        |_____Coherence Examples [2.2]
   *Estimated size of installation: 678.7 MB
Enter number exactly as it appears inbrackets to toggle selection OR [Exit]

[Previous][Next]> Next
五、
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
JDK Selection (Any * indicates OracleSupplied VM):
---------------------------------------------------
JDK(s) chosen will be installed.  Defaults will be used in script string-

substitutionif installed.
  1|Add Local Jdk
  2|/root/jdk1.6.0_45[x]
  *Estimated size of installation: 678.7 MB
Enter 1 to add or >= 2 to toggleselection  OR [Exit][Previous][Next]>N
六、
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Choose Product Installation Directories:
----------------------------------------
Middleware Home Directory:[/root/Oracle/Middleware]
Product Installation Directories:
   "WebLogic Server" = [Enter new value or use default
Enter new WebLogic Server OR[Exit][Previous][Next]>
七、
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
The following Products and JDKs will beinstalled:
--------------------------------------------------
   WebLogic Platform 10.3.6.0
   |_____WebLogic Server
        |_____Core Application Server
        |_____Administration Console
        |_____Configuration Wizard and Upgrade Framework
        |_____Web 2.0 HTTP Pub-Sub Server
        |_____WebLogic SCA
        |_____WebLogic JDBC Drivers
        |_____Third Party JDBC Drivers
        |_____WebLogic Server Clients
        |_____WebLogic Web Server Plugins
        |_____UDDI and Xquery Support
        |_____Evaluation Database
   *Estimated size of installation: 678.8 MB
Enter [Exit][Previous][Next]> Next
八、
<-------------------- Oracle Installer -WebLogic 10.3.6.0 ------------------->
Installation Complete
Congratulations! Installation is complete.
Press [Enter] to continue or type[Exit]>
九、
修改Weblogic脚本中的文件句柄限制
    首先:备份《WL_HOME》、common/bin/commEnv.sh脚本
然后:将 此脚本中的resetFd()函数修改为如下内容
resetFd() {
Ulimit -n 10240

   ( 到此处,Weblogic的安装已完成。)
                                               

                                             
第二部分:配置Weblogic  (例子,具体安施工要求配置)
一、
Domain的配置只需要在192.168.0.1主机上操作即可。
   以应用用户XXX登录192.168.0.1主机,启动Domain配置向导
《WL_HOME》/common/bin/config.sh -mode=console
二、
<-------------------Fusion Middleware Configuration Wizard ------------------>
Welcome:
--------
Choose betweencreating and extending a domain. Based on your selection,
theConfiguration Wizard guides you through the steps to generate a new or
extend anexisting domain.
->1|Create a new WebLogic domain
    |   Create a WebLogic domain in your projects directory.  
   2|Extend an existing WebLogic domain
    |   Use this option to add new components to an existing domain

andmodify     |configuration settings.
Enter indexnumber to select OR [Exit][Next]>
三、
<-------------------Fusion Middleware Configuration Wizard ------------------>
Select DomainSource:
---------------------
Select thesource from which the domain will be created. You can create the
domain byselecting from the required components or by selecting from a
list of existingdomain templates.
->1|Choose Weblogic Platform components
    |   You can choose the Weblogic component(s) that you want supported in
    |your domain.
   2|Choose custom template
    |   Choose this option if you want to use an existing  template. This
    |could be a custom created template usingthe Template Builder.
Enter indexnumber to select OR [Exit][Previous][Next]> <-------------------
四、
<-------------------Fusion Middleware Configuration Wizard ------------------>
ApplicationTemplate 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 forJAX-RPC Extension - 10.3.6.0

[wlserver_10.3] [3]
    |_____WebLogic Advanced Web Services forJAX-WS Extension - 10.3.6.0

[wlserver_10.3] [4]
Enter numberexactly as it appears in brackets to toggle selection OR[Exit]

[Previous][Next]>
五、name
<-------------------Fusion Middleware Configuration Wizard ------------------>
Edit DomainInformation:
------------------------
    | Name  |    Value   |
   _|________|_____________|
   1| *Name: | base_domain |
Enter value for"Name" OR [Exit][Previous][Next]>
六、
<-------------------Fusion Middleware Configuration Wizard ------------------>
Edit DomainInformation:
------------------------
    | Name  |  Value |
   _|________|_________|
   1| *Name: | zhangyi |
Use above valueor select another option:
    1 - Modify "Name"
    2 - Discard Changes
Enter optionnumber to select OR [Exit][Previous][Next]>
七、
<-------------------Fusion Middleware Configuration Wizard ------------------>
Select thetarget domain directory for this domain:
---------------------------------------------------
    "Target Location" = [Enter newvalue or use default
Enter new TargetLocation OR [Exit][Previous][Next]>
八、
<-------------------Fusion Middleware Configuration Wizard ------------------>
ConfigureAdministrator User Name and Password:
-----------------------------------------------
Create a user tobe assigned to the Administrator role. This user is the
defaultadministrator used to start development mode servers.
    |         Name           |                 

Value                  |
  _|_________________________|_________________________________________|
   1|        *Name:          |                weblogic  

               |
   2|    *User password:     |                          

               |
   3| *Confirm user password: |                             

            |
   4|     Description:       | This user isthe default administrator.

|
Use above valueor select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm userpassword"
    4 - Modify "Description"
Enter optionnumber to select OR [Exit][Previous][Next]>
九、
<-------------------Fusion Middleware Configuration Wizard ------------------>
Domain ModeConfiguration:
--------------------------
EnableDevelopment or Production Mode for this domain.
->1|Development Mode
   2|Production Mode
Enter indexnumber to select OR [Exit][Previous][Next]>
十、
<-------------------Fusion Middleware Configuration Wizard ------------------>
Java SDKSelection:
-------------------
->1|Sun SDK 1.6.0_45 @ /root/jdk1.6.0_45
   2|Other Java SDK
Enter indexnumber to select OR [Exit][Previous][Next]>
十一、
<-------------------Fusion Middleware Configuration Wizard ------------------>
Select OptionalConfiguration:
------------------------------
   1|Administration Server [ ]
   2|Managed Servers, Clusters and Machines [ ]
   3|RDBMS Security Store [ ]
此处选择1 Administration Server[]
十二、
<-------------------Fusion Middleware Configuration Wizard ------------------>
Configure theAdministration Server:
------------------------------------
Each WebLogicServer domain must have one Administration Server. The
AdministrationServer is used to perform administrative tasks.
    |      Name       |        Value        |
   _|__________________|_____________________|
   1|     *Name:      |     AdminServer     |
   2| *Listen address: | All Local Addresses |
   3|  Listen port:   |        7001         |
   4| SSL listen port: |         N/A         |
   5|  SSL enabled:   |        false        |
Use above valueor select another option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL enabled"
Enter optionnumber to select OR [Exit][Previous][Next]> N
十三、
<-------------------Fusion Middleware Configuration Wizard ------------------>
CreatingDomain...
0%          25%          50%          75%         100%
[------------|------------|------------|------------]
[***************************************************]
**** DomainCreated Successfully! ****
十四、
启动Domain
PWD:
/root/Oracle/Middleware/user_projects/domains/zhuangyi
(注:路径看自己创建时所选路径)
在此目录下执行: ./startWeblogic.sh
输入创建时的 用户名/密码
当出现 最后一行 "RUNNING mode" 字样时,Weblogic启动成功(Linux防火墙需关闭)
登录控制台:http://192.168.1.1:7001/console (IP为Linux的地址)
2016-01-05 09:28 举报
已邀请:

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: