Linux/Unix命令行安装weblogic软件

时间:2021-11-20 17:40:30

--通过java -jar wls1036_generic.jar启动安装weblogic软件进程:

[weblogic@localhost mnt]$ java -jar wls1036_generic.jar

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

 

--默认,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/Middleware

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

Choose Middleware Home Directory:

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

    "Middleware Home" = [/weblogic/Oracle/Middleware]

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

 

--选择软件安装目录,我喜欢自定义安装目录,这里选择1,回车:

 

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

Choose Middleware Home Directory:

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

    "Middleware Home" = [/weblogic/Oracle/Middleware]

Enter new Middleware Home 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 manager.

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

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

 

--输入yes,回车:

 

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

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

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

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

 

--默认,回车:

 

<-------------------- 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]> 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 Wizard and Upgrade Framework [1.3] x

    |    |_____Web 2.0 HTTP Pub-Sub Server [1.4] x

    |    |_____WebLogic SCA [1.5] x

    |    |_____WebLogic JDBC Drivers [1.6] x

    |    |_____Third Party JDBC Drivers [1.7] x

    |    |_____WebLogic Server Clients [1.8] x

    |    |_____WebLogic Web Server Plugins [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 in brackets to toggle selection OR [Exit][Previous][Next]>

 

--默认,回车:

 

<-------------------- 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-substitution if installed.

   1|Add Local Jdk

   2|/usr/java/jdk1.6.0_24[x]

   *Estimated size of installation:  690.2 MB

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

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

Choose Product Installation Directories:

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

Middleware Home Directory: [/weblogic/Oracle/Middleware]

Product Installation Directories:

   1|WebLogic Server: [/weblogic/Oracle/Middleware/wlserver_10.3]

   2|Oracle Coherence: [/weblogic/Oracle/Middleware/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]>

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

 

--至此,weblogic软件安装成功,接下来就可以建域了。