Centos7静默安装Weblogic12C美高梅手机登录网站

作者:电脑系统

set('ListenAddress','')

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

./jdk-6u45-linux-x64.bin

cd /home/weblogic

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

1、进入安装路径:/home/weblogic

7.创建域

Choose Product Installation Directories:

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

export JAVA_HOME=/usr/java/jdk1.6.0_45

6.安装weblogic

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

Java SDK Selection:

    "JVM Directory" = []

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

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

closeTemplate()

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

2、卸载掉linux系统自带的jdk,安装我们自己的jdk,建议和开发过程中用到的jdk版本一致。

create_domain.py

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

注意:export PATH=$JAVA_HOME/bin:$PATH,注意将$PATH放到最后。以免造成新旧版本问题。
当你已经成功把jdk1.6.0_45 安装到 /usr/java,并且配置好了系统环境变量
执行 # java -version 时就是 显示jdk1.6.0_45,是因为你的linux系统有默认的jdk;执行
cp jdk-6u7-linux-i586.bin /usr
即将jdk复制到/usr目录下,然后进入/usr目录cd /usr

美高梅手机登录网站 1

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

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

1 重命名..你的域名servers 下AdminServer文件夹。 

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
# /root/weblogic/user_projects/domains/weblogic/startWebLogic.sh

    浏览器一定要加http
用户名为weblogic

密码:八位密码

Weblogic 开机启动
# vi /etc/rc.local
追加 sh /root/weblogic/user_projects/domains/weblogic/bin/startWebLogic.sh &

 

12.1.1.0的搭建,weblogic12.1.1.0 Linux下weblogic 12.1.1.0的搭建 简介: WebLogic是用于开发、集成、部署和管理大型分布式Web应用、网络...

export JAVA_HOME JAVA_BIN PATH CLASSPATH

wls:/offline/base_domain>cd('Servers/AdminServer')

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

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

cd('../..')

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.

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

vim create_domain.py

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

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

groupadd weblogic
useradd weblogic -g weblogic
添加用户密码:
echo "weblogic" | passwd --stdin weblogic

Choose Middleware Home Directory:    

    "Middleware Home" = [/root/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]>         Next

 

3 编辑..你的域名bin下setDomainEnv.cmd(setDomainEnv.sh),找到 

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

接着执行

进入目录:cd /bea/wlserver/common/bin

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

先查看jdk-1.7.0_76包名

wls:/offline/base_domain/Server/AdminServer>set('ListenAddress','')

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

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

 

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

3.创建用户

Edit Domain Information:

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

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

inventory_loc=/home/weblogic/oraInventory
#用户的组名称,根据实际的修改
inst_group=weblogic

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

#rpm -ivh jdk-7u76-linux-x64.rpm

美高梅手机登录网站 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

#vi /etc/profile

wls:/offline/base_domain>cd('Security/base_domain/User/weblogic')

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

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的使用

1、启动服务时无需输入用户名和密码

进入到你新建的域中:cd /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer

然后在该文件夹下新建名为security的文件夹:mkdir security

在刚刚新建是文件夹中新建名为boot.properties文件:vi boot.properties

然后在该文件中输入:

username=weblogic

password=weblogc123

保存后退出。重启weblogic。此时你会发觉,weblogic再也不会提示要求你输入weblogic管理台的用户名和密码了。

重启后我们来到刚刚的新建的文件夹中查看新建的文件:
cd /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/security

vi boot.properties发现它的内容已经变成下面这个样子了:

#Sun Aug 04 10:23:54 CST 2013

password={AES}KWRQeICbIyJLO3zh v /9JeJtCzpK9ge6j4pqf9sSqA=

username={AES}ICJVfwErXU5MOQyVPzcvVpKBkK6gI6UFlwqkkEuVgBg=

Weblogic把它给加密了,因此只有装Weblogic的那个人即System Admin才真正知道Weblogic控制台的登录信息,这样就很安全了。

2、启动weblogic服务

cd /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain

./startWeblogic.sh

nohup ./startWeblogic.sh &(nohup命令:如果你正在运行一个进程,而且你觉得在退出帐户时该进程还不会结束,那么可以使用nohup命令。
该命令可以在你退出帐户/关闭终端之后继续运行相应的进程。nohup就是不挂起的意思( no hang up))

找台服务器 启动浏览器 输入

输入用户名
密码

授权:chown weblogic:weblogic fmw_12.1.3.0.0_wls.jar

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

Edit Domain Information:

    |  Name  |    Value    |
   _|________|_____________|
   1| *Name: | base_domain |

Enter value for "Name" OR [Exit][Previous][Next]> wlyxweb

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

直接运行:./wlst.sh

Choose Middleware Home Directory:

    "Middleware Home" = [Enter new value or use default
"/root/Oracle/Middleware"]
Enter new Middleware Home OR [Exit][Previous][Next]>        /root/weblogic

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

 

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

#. /etc/profile

closeTemplate()

Linux下weblogic 12.1.1.0的搭建,weblogic12.1.1.0

 

Linux下weblogic 12.1.1.0的搭建

 

 

简介: 

  WebLogic是用于开发、集成、部署和管理大型分布式Web应用、网络应用和数据库应 用的Java应用服务器。将Java的动态功能和Java Enterprise标准的安全性引入大型网络应用的开发、集成、部署和管理之中。

软件的下载:

 weblogic_server103_linux32.bin下载地址   

 fmw_12.1.3.0.0_wls.jar下载地址 

 wls1211_linux32.bin下载地址 

 

下面是搭建的操作:

# groupadd weblogic
# useradd -g weblogic weblogic
# passwd weblogic
# mkdir -p /root/weblogic
# chown -R weblogic:weblogic /root/weblogic

# chmod a x /root/wls1211_linux32.bin
# ./wls1211_linux32.bin    

上面那部可能会报错 -bash: ./wls1211_linux32.bin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory  

解决: # yum install glibc.i686

export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile /home/weblogic/wls.rsp -invPtrLoc /home/weblogic/oraInst.loc

chmod x jdk-6u45-linux-x64.bin

set SERVER_NAME=AdminServer 并修改。 

执行安装命令

1.前言

export PATH=$PATH:$JAVA_HOME/bin

exit()

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

4 重启服务。

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

cd /bea/user_projects/domains/servyou_domain

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

writeDomain('/bea/user_projects/domains/servyou_domain')

2、进入安装目录
#cd /home
#cp jdk-7u76-linux-x64.rpm /usr/local
#cd /usr/local
给所有用户添加可执行的权限

./startWeblogic.sh

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

    WebLogic是美国Oracle公司出品的一个application server,确切的说是一个基于JAVAEE架构的中间件,WebLogic是用于开发、集成、部署和管理大型分布式Web应用、网络应用和数据库应用的Java应用服务器。将Java的动态功能和Java Enterprise标准的安全性引入大型网络应用的开发、集成、部署和管理之中。

4、执行安装命令:java -jar filename.jar -mode=console

cmo.setPassword('weblogic123')

注:当然,你也可以通过groupadd -g GID groupname(GID代表创建组的ID,一般大于500),然后useradd –d userhome –g GID username(userhome 代表用户的主目录,GID 为前一步创建的组ID)创建用户并将用户分到相应的组里面。

美高梅手机登录网站 3

 

响应文件中的项一定要写全,否则会报奇怪的错误。

二、开始安装:
a.?创建weblogic用户组.?

步骤: 

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

cd('Servers/AdminServer')

useradd weblogic
passwd weblogic

wls:/offline/base_domain/Security/base_domain/User/weblogic>cmo.setPassword('weblogic123') wls:/offline/base_domain/Security/base_domain/User/weblogic>setOption('OverwriteDomain','true') wls:/offline/base_domain/Security/base_domain/User/weblogic>writeDomain('/bea/user_projects/domains/servyou_domain')

export JAVA_BIN=/usr/java/jdk1.6.0_45/bin

方法一:

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

cd /home/weblogic

执行生效

wls:/offline/base_domain/Server/AdminServer>cd('../..')

一、安装前准备工作:

4.安装JAVA环境

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

cd /home/weblogic/Oracle/Middleware/wlserver_10.3/common/bin
-bash-4.1$ ./config.sh
Unable to instantiate GUI, defaulting to console mode.

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

exit()

# ln -s -f /usr/java/jdk1.6.0_45/bin/javac

导入环境变量:

# ln -s -f /usr/java/jdk1.6.0_45/jre/bin/java

创建响应文件wls.rsp

2、将安装文件wls1036_generic.jar放入安装目录

安装过程:

2、接着卸载jdk-1.7.0_76,再次重新安装。卸载方法:

验证JAVA是否安装成功:java –version

 

8.启动weblogic

一、安装weblogic10.3.6 64位:

setOption('OverwriteDomain','true')

更改jdk版本

 

#rpm -qa | grep jdk

方法二:

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

创建Loc文件oraInst.loc

#rpm -e jdk-1.7.0_76-fcs

操作系统:centos7
Weblogic版本:fmw_12.1.3.0.0_wls.jar
JAVA版本:jdk-7u75-linux-x64.tar.gz

Choose Middleware Home Directory:

    "Middleware Home" = [/bea/weblogic]

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

 

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

cd('Security/base_domain/User/weblogic')

Linux下命令行安装weblogic10.3.6

这一步的时间比较长一点,耐心等待……

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

切换weblogic用户:su – weblogic

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

执行:./wlst.sh ./create_domain.py

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

启动程序日志文件为/tmp/OraInstall2016-05-13_01-02-56PM/launcher2016-05-13_01-02-56PM.log。 正在提取文件.........
启动 Oracle Universal Installer
检查 CPU 速度是否大于 300 MHz。 实际为 2400.217 MHz 通过
检查交换空间: 必须大于 512 MB。 实际为 18513912 MB 通过
检查此平台是否需要 64 位 JVM。 实际为64 通过 (不需要 64 位)
检查临时空间: 必须大于 300 MB。 实际为 36518 MB 通过 准备从/tmp/OraInstall2016-05-13_01-02-56PM启动 Oracle Universal Installer 日志:/tmp/OraInstall2016-05-13_01-02-56PM/install2016-05-13_01-02-56PM.log 版权所有 (c) 1996, 2014, Oracle 和/或其附属公司。保留所有权利。
正在读取响应文件... 开始检查: CertifiedVersions 预期的结果: enterprise-4,enterprise-5,enterprise-6,redhat-6,redhat-4,redhat-5,SuSE-11之一 实际结果: unkown()
此次检查的总体结果为: 通过 CertifiedVersions 检查: 成功。
开始检查: CheckJDKVersion 预期的结果: 1.7.0_15 实际结果: 1.7.0_80
检查完成。此次检查的总体结果为: 通过 CheckJDKVersion 检查: 成功。
已启用此会话的验证。 正在验证数据... 正在复制文件... 可以在以下位置找到本次安装会话的日志: /tmp/OraInstall2016-05-13_01-02-56PM/install2016-05-13_01-02-56PM.log -----------20%----------40%----------60%----------80%--------100%
Oracle Fusion Middleware 12c WebLogic Server 和 Coherence 12.1.3.0.0 的 安装 已成功完成。
日志已成功复制到/home/weblogic/oraInventory/logs。

1、创建用户useradd weblogic;创建用户成功linux系统会自动创建一个和用户名相同的分组,并将该用户分到改组中。并会在/home路径下创建一个和用户名相同的路径,比如我们创建的weblogic。

 修改Weblogic默认的SERVER NAME 

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

    我相信刚刚接触weblogic的部署很多人都会遇到很多坑,我也不例外,遇到很多坑,最后才总结出来,希望能给你们带来帮助!!!

3、chmod a x wls1036_generic.jar  赋予安装文件可执行的权限

创建weblogic安装目录:mkdir /bea
授权:chown weblogic:weblogic /bea
上传jdk-7u75-linux-x64.tar.gz至/home/weblogic目录下
解压至/usr/local/目录下
tar –zxvf jdk-7u75-linux-x64.tar.gz –C /usr/local
添加环境变量:vim /etc/profile
export JAVA_HOME=/usr/local/jdk1.7.0_75
export JRE_HOME=/usr/local/jdk1.7.0_75/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
export ORACLE_HOME=/bea
使其环境变量生效:source /etc/profile

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

wls:/offline/base_domain/Server/AdminServer>set('ListenPort',7001)

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

2 将..你的域名configconfig.xml中所有的AdminServer修改成新名称,与第1步中一致。 

5、控制台安装:

或者nohup startWeblogic.sh > note.log & tail -f note.log

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

2.准备环境

 

美高梅手机登录网站 4

export JAVA_HOME=/usr/java/jdk1.6.0_45
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$PATH

set('ListenPort',7001)

-bash-4.1$ java -jar wls1036_generic.jar
Unable to instantiate GUI, defaulting to console mode.无法实例化 GUI,默认进入控制台模式。
Extracting 0%....................................................................................................100%

./commEnv.sh   #设置环境变量

注:jdk的卸载和安装参见:。

readTemplate('/bea/wlserver/common/templates/wls/wls.jar')

 

5.创建安装配置文件

1、# cd /usr/bin

Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands wls:/offline>readTemplate('/bea/wlserver/common/templates/wls/wls.jar')

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

export MW_HOME="/bea"
export WL_HOME="/bea/oracle_common"

 

[ENGINE]
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
[GENERIC]
#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
ORACLE_HOME=/bea
#Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
INSTALL_TYPE=WebLogic Server
#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name. 
MYORACLESUPPORT_USERNAME=
#Provide the My Oracle Support Password 
MYORACLESUPPORT_PASSWORD=<SECURE VALUE>
DECLINE_SECURITY_UPDATES=true
#Set this to true if My Oracle Support Password is specified 
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
#Provide the Proxy Host
PROXY_HOST=
#Provide the Proxy Port
PROXY_PORT=
#Provide the Proxy Username
PROXY_USER=
#Provide the Proxy Password
PROXY_PWD=<SECURE VALUE>
COLLECTOR_SUPPORTHUB_URL=

卸载完后,再次重新安装jdk-7u76-linux-x64.rpm 。

进入目录:cd /bea/wlserver/common/bin

注:如果安装文件是.bin格式的文件,安装命令为:./wls1036_generic.bin -mode=console;(你可以不加“-mode=console”的控制台文本模式,因为在你安装时无法启动图形安装界面时它会自动的进入文本控制台模式的)

Java SDK Selection:

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

Enter new JVM Directory OR [Exit][Previous][Next]>

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

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

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

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

 

打开后,在文档最下方加上以下环境变量配置代码:

设置环境变量

weblogic用户

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

执行权限

本文由美高梅4858官方网站发布,转载请注明来源

关键词: