Linux下命令行安装weblogic10.3.6

参考:http://blog.csdn.net/cw370008359/article/details/50221003

先创建weblogic账户

groupadd weblogic

useradd -g weblogic weblogic

passwd weblogic

mkdir /home/weblogic
chown weblogic:weblogic /home/weblogic

一、安装weblogic10.3.6 64位:

-bash-4.1$ java -jar wls1036_generic.jar
Unable to instantiate GUI, defaulting to console mode.无法实例化 GUI,默认进入控制台模式。
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
"/bea/weblogic/Oracle/Middleware"]

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

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

Choose Middleware Home Directory:
---------------------------------

"Middleware Home" = [/bea/weblogic]

Use above value or select another option:
    1 - Enter new Middleware Home
    2 - Change to default [/bea/weblogic/Oracle/Middleware]

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

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

Choose Middleware Home Directory:
---------------------------------

"Middleware Home" = [/bea/weblogic]

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

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

Choose Middleware Home Directory:
---------------------------------

Warning

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

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

Enter [Yes][No]? 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

<-------------------- 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]> 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]
         |_____Coherence Product Files [2.1]
         |_____Coherence Examples [2.2]

*Estimated size of installation: 678.7 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/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64[x]

*Estimated size of installation:  678.7 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: [/bea/weblogic]

Product Installation Directories:

"WebLogic Server" = [Enter new value or use default
"/bea/weblogic/wlserver_10.3"]

Enter new WebLogic Server 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

*Estimated size of installation: 678.8 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 ...

二、配置domains

-bash-4.1$ ./config.sh
./config.sh: line 103: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java: No such file or directory

-bash-4.1$ ./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

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

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

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

Edit Domain Information:
------------------------

|  Name  |  Value  |
   _|________|_________|
   1| *Name: | wlyxweb |

Use above value or select another option:
    1 - Modify "Name"
    2 - Discard Changes

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

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

Select the target domain directory for this domain:
---------------------------------------------------

"Target Location" = [Enter new value or use default
"/bea/weblogic/user_projects/domains"]

Enter new Target Location OR [Exit][Previous][Next]> /wlyx/webapp/domains

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

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

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

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

<------------------- 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|N/A SDK 1.6.0_24 @ /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
   2|Other Java SDK

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

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

Java SDK Selection:
-------------------

"JVM Directory" = []

Enter new JVM Directory OR [Exit][Previous][Next]> /bea/jdk/jdk1.6.0_37

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

Java SDK Selection:
-------------------

"JVM Directory" = [/bea/jdk/jdk1.6.0_37]

Enter new JVM Directory 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 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! ****

/datalv/weblogic/user_projects/domains/weblogic/bin/startWeblogic.sh

输入管理

用户名:

密   码:

访问ip:7001/console

(0)

相关推荐

  • 2020年11月 Oracle WebLogic 高危预警:CVE-2020-14750 无需认证攻击

    墨墨导读:Oracle 在11月2日 发布了一个关于 WebLogic 中间件的新的安全预警,这个安全警报涉及CVE-2020-14750,即Oracle WebLogic Server中的远程代码执 ...

  • 蓝队防守必须排查的57个安全漏洞与解决方案

    目录 一.OA系统 二.E-mail 三.Web中间件 四.源代码管理 五.项目管理系统 六.开源运维监控 七.堡垒机 一. OA系统 泛微(Weaver-Ecology-OA) 泛微OA E-col ...

  • Linux下命令行cURL的10种常见用法示例

    前言 在Linux中curl是一个利用URL规则在命令行下工作的文件传输工具,可以说是一款很强大的http命令行工具.它支持文件的上传和下载,是综合传输工具,但按传统,习惯称url为下载工具. 语法: ...

  • linux下vsftpd的安装及配置使用详细步骤

    安装 yum install vsftpd 新建/home/uftp目录作为用户主目录 mkdir /home/uftp 新建用户uftp: useradd -d /home/uftp -s /bin ...

  • Linux下查看已安装软件

    linux安装软件的方式比较多,总结起来有如下几类: 第1类.rpm包安装的,可以用rpm -qa看到,如果要查找某软件包是否安装,用 rpm -qa | grep "软件或者包的名字&qu ...

  • Linux下Flatpak的安装与使用超详细教程

    转自:https://www.linuxmi.com 软件包管理是任何Linux发行版的重要功能之一,可简化Linux应用程序的安装和维护方法.不同的Linux发行版采用不同的方法来打包和分发软件. ...

  • PHP+Redis的使用,Linux下为PHP安装Redis扩展

    首先要有运行PHP的环境,(我用的是LAMP环境),还要安装Redis,搭建lamp环境可以参看 Linux CentOS7下安装Redis,安装Redis参看 Linux CentOS7下安装Red ...

  • 14 个经典的 Linux 终端命令行,这些工具堪称神器!

    重磅干货,第一时间送达 作者:int32bit  链接:http://t.cn/R1FKgdN ag:比grep.ack更快的递归搜索文件内容. tig:字符模式下交互查看git项目,可以替代git命 ...

  • linux下(centos7)docker安装

    参考链接https://docs.docker.com/install/linux/docker-ce/centos/ 第一步,确定是centos7及以上版本 cat /etc/redhat-rele ...

  • MMIF在Linux下的下载安装

    下载完之后解压,接着打开makefile.linux文件,对其进行部分修改.修改原则是注释掉不需要的代码,只保留需要的代码,修改内容如下: 由于我用的是gfortran编译器,所以只un-commen ...

  • Linux下caffe的安装

    下载caffe并保存到一个目录下(推荐放到 /home 目录) 安装依赖项: sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy ...