您的位置:首页 > 运维架构 > Linux

Linux下命令行安装weblogic

2017-04-07 17:40 369 查看
[weblogic@localhost weblogic]$ java -jar wls1036_generic.jar

Unable to instantiate GUI, defaulting toconsole mode.

Extracting0%....................................................................................................100%

<---------------------------------------------------------------------------Oracle Installer - WebLogic 10.3.6.0--------------------------------------------------------------------------->

Welcome:

--------

This installer will guide you through theinstallation of WebLogic 10.3.6.0. Type "Next" or enter to proceed tothe next prompt.  If you want to changedata entered previously, type

"Previous".  You may quit the installer at any time bytyping "Exit".

Enter [Exit][Next]>

<---------------------------------------------------------------------------Oracle Installer - WebLogic 10.3.6.0--------------------------------------------------------------------------->

Choose Middleware Home Directory:

---------------------------------

   "Middleware Home" = [Enter new value or use default"/home/weblogic/Oracle/Middleware"]

Enter new Middleware Home OR[Exit][Previous][Next]> /weblogic/

<---------------------------------------------------------------------------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 [/home/weblogic/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. Proceedwith installation?

Enter [Exit][Previous][Next]>

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

<---------------------------------------------------------------------------Oracle Installer - WebLogic 10.3.6.0--------------------------------------------------------------------------->

Register for Security Updates:

------------------------------

Provide your email address for security updatesand  to initiate configuration manager.

   "Receive Security Update:" = [Enter new value or use default"Yes"]

Enter [Yes][No]? ye

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

   ** Valid value can be either Yes or No

Enter [Yes][No]? Yes

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

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

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

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

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

   ** Valid value can be either Yes or No

Enter [Yes][No]? yes

<---------------------------------------------------------------------------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:[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 securityupdates and  to initiate configurationmanager.

  1|Email:[]

  2|Support Password:[]

  3|Receive Security Update:[No]

Enter index number to select OR[Exit][Previous][Next]> Next

<---------------------------------------------------------------------------Oracle Installer - WebLogic 10.3.6.0--------------------------------------------------------------------------->

Choose Install Type:

--------------------

Select the type of installation you wish toperform.

 ->1|Typical

   |  Install the following product(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]>

<---------------------------------------------------------------------------Oracle Installer - WebLogic 10.3.6.0--------------------------------------------------------------------------->

JDK Selection (Any * indicates OracleSupplied VM):

---------------------------------------------------

JDK(s) chosen will be installed.  Defaults will be used in scriptstring-substitution if installed.

  1|Add Local Jdk

  2|/
4000
usr/java/jdk1.6.0_45[x]

  *Estimated size of installation: 680.3 MB

Enter 1 to add or >= 2 to toggleselection  OR [Exit][Previous][Next]>

<---------------------------------------------------------------------------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 beinstalled:

--------------------------------------------------

   WebLogic Platform 10.3.6.0

   |_____WebLogic Server

   |    |_____Core Application Server

   |    |_____Administration Console

   |    |_____Configuration Wizardand Upgrade Framework

   |    |_____Web 2.0 HTTP Pub-SubServer

   |    |_____WebLogic SCA

   |    |_____WebLogic JDBC Drivers

   |    |_____Third Party JDBCDrivers

   |    |_____WebLogic Server Clients

   |    |_____WebLogic Web ServerPlugins

   |    |_____UDDI and Xquery Support

   |    |_____Evaluation Database

   |_____Oracle Coherence

        |_____Coherence Product Files

   *Estimated size of installation: 680.4 MB

Enter [Exit][Previous][Next]>

Mar 27, 2017 8:15:15 PM java.util.prefs.FileSystemPreferences$2run

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@localhost weblogic]$ ls

coherence_3.7  domain-registry.xml  logs modules  ocm.rsp  registry.dat registry.xml  utils  wls1036_generic.jar  wlserver_10.3

[weblogic@localhost weblogic]$ ls -al

total 1043648

drwxr-x---  7 weblogic weblogic       4096 Mar27 20:16 .

dr-xr-xr-x. 23 root     root           4096 Mar 27 19:59 ..

drwxrwxr-x  6 weblogic weblogic       4096 Mar27 20:17 coherence_3.7

-rw-rw----  1 weblogic weblogic        133 Mar27 20:15 domain-registry.xml

-rw-rw-r--  1 weblogic weblogic         15 Mar27 20:16 .home

drwxrwxr-x  2 weblogic weblogic       4096 Mar27 20:16 logs

drwxrwxr-x  7 weblogic weblogic      32768 Mar27 20:15 modules

-rw-rw-r--  1 weblogic weblogic        625 Mar27 20:16 ocm.rsp

-rw-rw-r--  1 weblogic weblogic     108856 Mar27 20:16 registry.dat

-rw-rw-r--  1 weblogic weblogic       1887 Mar27 20:16 registry.xml

drwxrwxr-x  8 weblogic weblogic       4096 Mar27 20:16 utils

-rwxrwxr-x  1 weblogic weblogic 1068506707 Mar 27 00:12 wls1036_generic.jar

drwxrwxr-x  8 weblogic weblogic       4096 Mar27 20:16 wlserver_10.3

[weblogic@localhost weblogic]$ cd wlserver_10.3/

[weblogic@localhost wlserver_10.3]$ ls

common inventory  L10N  server sip  uninstall

[weblogic@localhost wlserver_10.3]$ cd common/

[weblogic@localhost common]$ ls

bin deployable-libraries  derby  eval lib  nodemanager  quickstart templates  wlst

[weblogic@localhost common]$ cd bin

[weblogic@localhost bin]$ ls

commEnv.sh config_builder.sh  config.sh  pack.sh setPatchEnv.sh  startDerby.sh  startManagedWebLogic.sh  stopDerby.sh unpack.sh  upgrade.sh  wlscontrol.sh wlsifconfig.sh  wlst.sh

[weblogic@localhost bin]$ ./config.sh-mode=console

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Welcome:

--------

Choose between creating and extending adomain. Based on your selection, the Configuration Wizard guides you throughthe steps to generate a new or extend an existing domain.

 ->1|Create a new WebLogic domain

   |    Create a WebLogic domain inyour projects directory.  

  2|Extend an existing WebLogic domain

   |    Use this option to add newcomponents to an existing domain and modify configuration settings.

Enter index number to select OR[Exit][Next]>

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Select Domain Source:

---------------------

Select the source from which the domainwill be created. You can create the domain by selecting from the requiredcomponents or by selecting from a list of existing domain templates.

 ->1|Choose Weblogic Platform components

   |    You can choose the Weblogiccomponent(s) that you want supported in your domain.

  2|Choose custom template

   |    Choose this option if youwant to use an existing  template. Thiscould be a custom created template using the Template Builder.

Enter index number to select OR[Exit][Previous][Next]>

<--------------------------------------------------------------------------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 inbrackets 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 thisdomain:

---------------------------------------------------

   "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 andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

   |          Name           |                  Value                  |

  _|_________________________|_________________________________________|

  1|         *Name:          |                weblogic                 |

  2|     *User password:     |                                         |

   3|*Confirm user password: |                                         |

  4|      Description:       | This user is the defaultadministrator. |

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

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

   "*User password:" = []

Enter new *User password: OR[Exit][Reset][Accept]>

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

   |          Name           |                  Value                  |

  _|_________________________|_________________________________________|

  1|         *Name:          |                weblogic                 |

  2|     *User password:     |               **********                |

   3|*Confirm user password: |                                        |

  4|      Description:       | This user is the defaultadministrator. |

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

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

    "*User password:" = [**********]

Enter new *User password: OR[Exit][Reset][Accept]>

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

    |         Name           |                  Value                  |

  _|_________________________|_________________________________________|

  1|         *Name:          |                weblogic                 |

  2|     *User password:     |                ********                 |

   3|*Confirm user password: |                                         |

  4|      Description:       | This user is the defaultadministrator. |

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

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

   "*Confirm user password:" = []

Enter new *Confirm user password: OR[Exit][Reset][Accept]>

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

   |          Name           |                  Value                  |

  _|_________________________|_________________________________________|

  1|         *Name:          |                weblogic                 |

  2|     *User password:     |                ********                 |

   3|*Confirm user password: |               ********                 |

  4|      Description:       | This user is the defaultadministrator. |

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------------------
b4e5
-------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

   |          Name           |                  Value                  |

  _|_________________________|_________________________________________|

  1|         *Name:          |                weblogic                 |

  2|     *User password:     |                ********                 |

   3|*Confirm user password: |               ********                 |

  4|      Description:       | This user is the defaultadministrator. |

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

   ** CFGFWK-60050:  Property"Password" of User "weblogic" is invalid.

   ** CFGFWK-60455:  The passwordmust be at least 8 alphanumeric characters with at least one number or specialcharacter.

Enter option number to select OR[Exit][Previous][Next]> 2

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

   "*User password:" = [********]

Enter new *User password: OR[Exit][Reset][Accept]>

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

    |         Name           |                  Value                  |

  _|_________________________|_________________________________________|

  1|         *Name:          |                weblogic                 |

  2|     *User password:     |              ***********               |

   3|*Confirm user password: |               ********                 |

  4|      Description:       | This user is the defaultadministrator. |

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

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

   "*Confirm user password:" = [********]

Enter new *Confirm user password: OR[Exit][Reset][Accept]>

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

Configure Administrator User Name andPassword:

-----------------------------------------------

Create a user to be assigned to theAdministrator role. This user is the default administrator used to startdevelopment mode servers.

   |          Name           |                  Value                  |

  _|_________________________|_________________________________________|

  1|         *Name:          |                weblogic                 |

  2|     *User password:     |               ***********               |

   3|*Confirm user password: |              ***********               |

  4|      Description:       | This user is the defaultadministrator. |

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 forthis domain.

 ->1|Development Mode

  2|Production Mode

Enter index number to select OR[Exit][Previous][Next]>

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

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

<--------------------------------------------------------------------------Fusion Middleware Configuration Wizard-------------------------------------------------------------------------->

 

Configure the Administration Server:

------------------------------------

Each WebLogic Server domain must have oneAdministration Server. The Administration Server is used to performadministrative 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