设为首页 收藏本站
查看: 643|回复: 0

[经验分享] Linux 安装Weblogic12

[复制链接]

尚未签到

发表于 2016-1-22 13:27:17 | 显示全部楼层 |阅读模式
  # groupadd weblogic
# useradd -g weblogic weblogic
# passwd weblogic
# mkdir -p /var/bea
# chown -R weblogic:weblogic /var/bea
# su - weblogic
$ vi ~/.bash_profile
增加 export LANG=en_US.iso885915
$ su -
# chmod a+x /root/wls1211_linux32.bin
# ./wls1211_linux32.bin -mode=console
Welcome:
--------
This installer will guide you through the installation of WebLogic 12.1.1.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]>        Next

Choose Middleware Home Directory:
---------------------------------
    "Middleware Home" = [Enter new value or use default
"/root/Oracle/Middleware"]
Enter new Middleware Home OR [Exit][Previous][Next]>        /var/bea

Choose Middleware Home Directory:    
---------------------------------
    "Middleware Home" = [/var/bea]
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]>         Next

Register for Security Updates:
------------------------------
Provide your email address for security updates and  to initiate configuration manager.
   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[Yes]
Enter index number to select OR [Exit][Previous][Next]>       3

Register for Security Updates:
------------------------------
Provide your email address for security updates and  to initiate configuration manager.
    "Receive Security Update:" = [Enter new value or use default "Yes"]
Enter [Yes][No]?         No

Register for Security Updates:
------------------------------
Provide your email address for security updates and  to initiate configuration manager.
    "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

Register for Security Updates:
------------------------------
Provide your email address for security updates and  to initiate configuration manager.
   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[No]
Enter index number to select OR [Exit][Previous][Next]>        Next

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

Choose Product Installation Directories:
----------------------------------------
Middleware Home Directory: [/var/bea]
Product Installation Directories:
   1|WebLogic Server: [/var/bea/wlserver_12.1]
   2|Oracle Coherence: [/var/bea/coherence_3.7]
Enter index number to select OR [Exit][Previous][Next]>        Next

The following Products and JDKs will be installed:
--------------------------------------------------
    WebLogic Platform 12.1.1.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
    |    |_____Xquery Support
    |    |_____Evaluation Database
    |_____Oracle Coherence
    |    |_____Coherence Product Files
    |_____JDKs
         |_____SUN SDK 1.6.0_29
         |_____Oracle JRockit 1.6.0_29 SDK
    *Estimated size of installation: 1,178.0 MB
Enter [Exit][Previous][Next]>         Next

Installing files..
0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]
Installing JDK....
Performing String Substitutions...
Configuring OCM...
Installing Patches...
Creating Domains...
Installation Complete
Press [Enter] to continue or type [Exit]>        ↙

配置weblogic
# cd /var/bea/wlserver_12.1/common/bin
# ./config.sh -mode=console
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

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

Application Template Selection:
-------------------------------
    Available Templates
    |_____Basic WebLogic Server Domain - 12.1.1.0 [wlserver_12.1]x
    |_____Basic WebLogic SIP Server Domain - 12.1.1.0 [wlserver_12.1] [2]
    |_____WebLogic Advanced Web Services for JAX-RPC Extension - 12.1.1.0 [wlserver_12.1] [3]
    |_____WebLogic Advanced Web Services for JAX-WS Extension - 12.1.1.0 [wlserver_12.1] [4]
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>        next

Edit Domain Information:
------------------------
    |  Name  |    Value    |
   _|________|_____________|
   1| *Name: | base_domain |
Enter value for "Name" OR [Exit][Previous][Next]>        weblogic

Edit Domain Information:
------------------------
    |  Name  | Value     |
   _|________|_______    |
   1| *Name: | weblogic  |
Use above value or select another option:
    1 - Modify "Name"
    2 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]>       next

Select the target domain directory for this domain:
---------------------------------------------------
    "Target Location" = [Enter new value or use default
"/var/bea/user_projects/domains"]
Enter new Target Location OR [Exit][Previous][Next]>         Next

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

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]>   输入密码(至少八位)

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

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]>     重复密码(至少八位)

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]>     next

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]>     next

Java SDK Selection:
-------------------
   1|JRockit SDK 1.6.0_29 @ /var/bea/jrockit_160_29_D1.2.0-10
 ->2|Sun SDK 1.6.0_29 @ /var/bea/jdk160_29
   3|Other Java SDK
Enter index number to select OR [Exit][Previous][Next]>     next

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

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]>     next

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]>     3

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        |
Enter value for "Listen port" OR [Exit][Previous][Next]>     8080

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:   |        8080         |
   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"
    5 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]>     4

Each WebLogic Server domain must have one Administration Server. The Administration
Server is used to perform administrative tasks.
    *Enter index number to modify "Value"
   1|true
 ->2|false
   3|Unspecified
Enter index number to select OR [Exit][Reset][Accept]>     1

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:   |        8080         |
   4| SSL listen port: |        7002         |
   5|   SSL enabled:   |        true         |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL listen port"
    5 - Modify "SSL enabled"
    6 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]>     4

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:   |        8080         |
   4| SSL listen port: |        7002         |
   5|   SSL enabled:   |        true         |
Enter value for "SSL listen port" OR [Exit][Previous][Next]>    8081

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:   |        8080         |
   4| SSL listen port: |        8081         |
   5|   SSL enabled:   |        true         |
Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL listen port"
    5 - Modify "SSL enabled"
    6 - Discard Changes
Enter option number to select OR [Exit][Previous][Next]>     next

Creating Domain...
0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]
**** Domain Created Successfully! ****

启动weblogic
# /var/bea/user_projects/domains/weblogic/startWebLogic.sh

http://192.168.1.50:8080/console/
用户名为weblogic
  密码:八位密码
  
Weblogic 开机启动
# vi /etc/rc.local
追加 sh /var/bea/user_projects/domains/weblogic/bin/startWebLogic.sh &
  
  转自:http://www.cnblogs.com/Josh-or-Tom/p/3762248.html

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-168078-1-1.html 上篇帖子: linux 启动weblogic 下篇帖子: Linux 下后台启动Weblogic
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表