weblogic11g10.3.6 -- CentOS Linux 7 安装说明

weblogic11g安装包(版本:10.3.6)下载地址: WebLogic Server 12c (12.2.1), WebLogic Server 11g (10.3.6) and Previous Releases
jdk1.6 linux下载地址: Java Archive Downloads - Java SE 6
系统准备
创建安装weblogic11g的目录
创建software目录存放weblogic,jdk等需要用到的安装包
mkdir /weblogic
mkdir /weblogic/software
创建系统账号
useradd weblogic 创建系统用户
passwd weblogic  设置系统用户密码
给系统账号赋予访问文件夹目录的权限
chown -R weblogic:weblogic /weblogic
安装JDK1.6
1.用 rpm -qa | grep  jdk  或者   rpm -q jdk  或者  java -version 三个命令都可以验证是否安装了jdk
2.用 命令 或者  直接在xftp中直接新建
mkdir /usr/java
3.执行命令赋予安装文件777权限(用自己的用户执行,我用的root)
chmod 777 jdk-6u45-linux-x64.bin
 4、执行./jdk-6u45-linux-x64.bin安装jdk
这样jdk就安装完毕了。

配置环境变量

1、进入etc编辑profile文件
vi /etc/profile
 2、按键盘的“i”建进入编辑模式,并按键盘的“↓”到文档最后。
3、在文档最后添加下面的配置(具体的jdk版本和路径名需要根据实际情况修改)
export JAVA_HOME=/usr/java/jdk1.6.0_45
export JAVA_BIN=/usr/java/jdk1.6.0_45/bin
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME JAVA_BIN PATH CLASSPATH
4、保存退出。
按键盘的“esc”建,左下角的“inster”消失后,输入“:wq” 再回车,就保存推出了。
5、执行生效 (点和/之间有空格)
. /etc/profile
如果在etc目录下就直接
. profile
6、验证jdk是否安装成功
java -version
安装Weblogic
使用java命令运行这个包安装weblogic
[root@cnbj01vl02627 software]# java -jar wls1036_generic.jar mode=console
进入安装向导,依据向导进行安装。
Unable to instantiate GUI, defaulting to console mode.
Extracting 0%...................................................................      .................................100%
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Welcome:
--------
This installer will guide you through the installation of WebLogic 10.3.6.0.
Type "Next" or enter to proceed to the next prompt.  If you want to change data       entered previously, type "Previous".  You may quit the installer at any time by       typing "Exit".
Enter [Exit][Next]>
按回车键继续安装
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Choose Middleware Home Directory:
---------------------------------
    "Middleware Home" = [Enter new value or use default
"/root/Oracle/Middleware"]
Enter new Middleware Home OR [Exit][Previous][Next]> /weblogic
输入weblogic的目标安装目录,按enter键继续
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Choose Middleware Home Directory:
---------------------------------
    "Middleware Home" = [/weblogic]
Use above value or select another option:
    1 - Enter new Middleware Home
    2 - Change to default [/root/Oracle/Middleware]
Enter option number to select OR [Exit][Previous][Next]>
使用当前安装目录,按回车继续
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Choose Middleware Home Directory:
---------------------------------
    Warning
/weblogic directory is not empty. Proceed with installation?
Enter [Exit][Previous][Next]>
回车
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for security updates and  to initiate configuration m      anager.
   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[Yes]
Enter index number to select OR [Exit][Previous][Next]> 3
键入3,回车
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for security updates and  to initiate configuration m      anager.
    "Receive Security Update:" = [Enter new value or use default "Yes"]
Enter [Yes][No]? no
输入No回车
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for security updates and  to initiate configuration m      anager.
    "Receive Security Update:" = [Enter new value or use default "Yes"]
    ** Do you wish to bypass initiation of the configuration manager and
    **  remain uninformed of critical security issues in your configuration?
Enter [Yes][No]? yes
输入yes回车
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for security updates and  to initiate configuration m      anager.
   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[No]
Enter index number to select OR [Exit][Previous][Next]>
回车
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Register for Security Updates:
------------------------------
Provide your email address for security updates and  to initiate configuration m      anager.
   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[No]
Enter index number to select OR [Exit][Previous][Next]>
回车
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Choose Install Type:
--------------------
Select the type of installation you wish to perform.
->1|Typical
    |  Install the following product(s) and component(s):
    | - WebLogic Server
    | - Oracle Coherence
   2|Custom
    |  Choose software products and components to install and perform optional
    |configuration.
Enter index number to select OR [Exit][Previous][Next]>
选择典型安装,键入1回车
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
JDK Selection (Any * indicates Oracle Supplied VM):
---------------------------------------------------
JDK(s) chosen will be installed.  Defaults will be used in script string-substit      ution if installed.
   1|Add Local Jdk
   2|/usr/java/jdk1.6.0_45[x]
   *Estimated size of installation:  690.2 MB
Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]>
这里如果jdk版本同weblogic不兼容,第2条不会出现, 如果没有兼容性的问题,可以看到第二条最右边有个x,直接回车继续安装就可以了。
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Choose Product Installation Directories:
----------------------------------------
Middleware Home Directory: [/weblogic]
Product Installation Directories:
   1|WebLogic Server: [/weblogic/wlserver_10.3]
   2|Oracle Coherence: [/weblogic/coherence_3.7]
Enter index number to select OR [Exit][Previous][Next]>
直接回车进入下一步
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
The following Products and JDKs will be installed:
--------------------------------------------------
    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
    |_____Oracle Coherence
         |_____Coherence Product Files
    *Estimated size of installation: 690.3 MB
Enter [Exit][Previous][Next]>
回车 继续
Dec 9, 2023 10:53:52 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Installing files..
0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]
Performing String Substitutions...
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Configuring OCM...
0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]
Creating Domains...
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Installation Complete
Congratulations! Installation is complete.
Press [Enter] to continue or type [Exit]>
安装完成,回车退出
<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
Clean up process in progress ...
配置weblogic域
进入下面这个目录
[root@cnbj01vl02627 weblogic]# cd wlserver_10.3/common/bin/
运行配置脚本
[root@cnbj01vl02627 bin]# ./config.sh
根据向导提示进行安装
Unable to instantiate GUI, defaulting to console mode.
<------------------- Fusion Middleware Configuration Wizard ------------------>
Welcome:
--------
Choose between creating and extending a domain. Based on your selection,
the Configuration Wizard guides you through the steps to generate a new or
extend an existing 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 and modify     |configuration settings.
Enter index number to select OR [Exit][Next]> 1
选择1,创建一个新域,回车继续
<------------------- Fusion Middleware Configuration Wizard ------------------>
Select Domain Source:
---------------------
Select the source from which the domain will be created. You can create the
domain by selecting from the required components or by selecting from a
list of existing domain 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 using the Template Builder.
Enter index number to select OR [Exit][Previous][Next]> 1
这里没有定制模板可用,选择1 ,回车继续
<------------------- Fusion Middleware Configuration Wizard ------------------>
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]
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>
默认已选择第一项,回车继续即可
<------------------- Fusion Middleware Configuration Wizard ------------------>
Edit Domain Information:
------------------------
    |  Name  |    Value    |
   _|________|_____________|
   1| *Name: | base_domain |
Enter value for "Name" OR [Exit][Previous][Next]>
可以输入自己的域名,如果想使用默认域名,回车继续
<------------------- Fusion Middleware Configuration Wizard ------------------>
Select the target domain directory for this domain:
---------------------------------------------------
    "Target Location" = [Enter new value or use default
"/weblogic/user_projects/domains"]
Enter new Target Location OR [Exit][Previous][Next]>
使用默认目录,回车继续
<------------------- Fusion Middleware Configuration Wizard ------------------>
Configure Administrator User Name and Password:
-----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|         *Name:          |                weblogic                 |
   2|     *User password:     |                                         |
   3| *Confirm user password: |                                         |
   4|      Description:       | This user is the default administrator. |
Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"
Enter option number to select OR [Exit][Previous][Next]> 2
输入2,调整密码
<------------------- Fusion Middleware Configuration Wizard ------------------>
Configure Administrator User Name and Password:
-----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
    "*User password:" = [********]
Enter new *User password: OR [Exit][Reset][Accept]> weblogic0
输入密码,回车
<------------------- Fusion Middleware Configuration Wizard ------------------>
Configure Administrator User Name and Password:
-----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|         *Name:          |                weblogic                 |
   2|     *User password:     |                *********                |
   3| *Confirm user password: |                ********                 |
   4|      Description:       | This user is the default administrator. |
Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"
    5 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]> 3
输入3 ,调整确认密码
<------------------- Fusion Middleware Configuration Wizard ------------------>
Configure Administrator User Name and Password:
-----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
    "*Confirm user password:" = [********]
Enter new *Confirm user password: OR [Exit][Reset][Accept]> weblogic0
再次输入密码,回车
<------------------- Fusion Middleware Configuration Wizard ------------------>
Configure Administrator User Name and Password:
-----------------------------------------------
Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.
    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|         *Name:          |                weblogic                 |
   2|     *User password:     |                *********                |
   3| *Confirm user password: |                *********                |
   4|      Description:       | This user is the default administrator. |
Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"
    5 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]>
回车继续
<------------------- Fusion Middleware Configuration Wizard ------------------>
Domain Mode Configuration:
--------------------------
Enable Development or Production Mode for this domain.
->1|Development Mode
   2|Production Mode
Enter index number to select OR [Exit][Previous][Next]> 2
选择生产模式,回车
<------------------- Fusion Middleware Configuration Wizard ------------------>
Java SDK Selection:
-------------------
->1|Sun SDK 1.6.0_45 @ /usr/java/jdk1.6.0_45
   2|Other Java SDK
Enter index number to select OR [Exit][Previous][Next]>
直接回车
<------------------- Fusion Middleware Configuration Wizard ------------------>
Select Optional Configuration:
------------------------------
   1|Administration Server [ ]
   2|Managed Servers, Clusters and Machines [ ]
   3|RDBMS Security Store [ ]
Enter index number to select OR [Exit][Previous][Next]> 1
选择1回车,也可以选择2配置weblogic集群
<------------------- Fusion Middleware Configuration Wizard ------------------>
Select Optional Configuration:
------------------------------
   1|Administration Server [x]
   2|Managed Servers, Clusters and Machines [ ]
   3|RDBMS Security Store [ ]
Enter index number to select OR [Exit][Previous][Next]>
第一项Administration Server已经选择,回车继续
<------------------- Fusion Middleware Configuration Wizard ------------------>
Configure the Administration Server:
------------------------------------
Each WebLogic Server domain must have one Administration Server. The
Administration Server 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 value or select another option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL enabled"
Enter option number to select OR [Exit][Previous][Next]>
直接回车
<------------------- Fusion Middleware Configuration Wizard ------------------>
Creating Domain...
0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]
**** Domain Created Successfully! ****
完成

启动并登录weblogic

进入下面这个目录
[root@ base_domain]# pwd
/webogic/user_projects/domains/base_domain
运行weglogic启动脚本
./startWebLogic.sh
打开浏览器,就可以登录weblogic了
  • 16
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值