본문 바로가기

02 .administration/iii. apache

weblogic AIX 설치기 (wls1034)


weblogic 10.3.4 버전 설치 하기

1. 환경 변수 확인
 - 기본적으로 java5을 사용하기 때문에 사전에 IBM java5 를 설치를 해줘야 합니다. (설치시에는 java5 이고 인스턴스 올릴때는 5버전을 지원하지 않는다고 합니다...뭐지..)
 - export JAVA_HOME 을 잡아주면 되어집니다.

2. 시스템 공간 확인하기
 - jar 파일을 풀기위한 공간인 /tmp 공간 확보가 필요합니다. (require : 600Mb 인듯 싶습니다)

3. 설치하기

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

Welcome:
--------

This installer will guide you through the installation of WebLogic 10.3.4.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.4.0 ------------------->

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

    "Middleware Home" = [Enter new value or use default
"/usr/local/Oracle/Middleware"]

 


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

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

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

    "Middleware Home" = [/data/weblogic]

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

 


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

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.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.4.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.4.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.4.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.4.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]> 1

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.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|/opt/TerraceTims/3rd/java[x]

 

   *Estimated size of installation:  721.0 MB


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

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

JDK Selection (Any * indicates Oracle Supplied VM):
---------------------------------------------------

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

    "Local Java Home " = []

 

Enter new Local Java Home  OR [Exit][Previous][Next]> /opt/TerraceTims/3rd/java

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

JDK Selection (Any * indicates Oracle Supplied VM):
---------------------------------------------------

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

    "Local Java Home " = [/opt/TerraceTims/3rd/java]

 

Enter new Local Java Home  OR [Exit][Previous][Next]>

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.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|/opt/TerraceTims/3rd/java[ ]

 

   *Estimated size of installation:  721.0 MB


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

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.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|/opt/TerraceTims/3rd/java[ ]


    ** Please select appropriate JDK.


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

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.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|/opt/TerraceTims/3rd/java[x]

 

   *Estimated size of installation:  721.0 MB


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

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

Choose Product Installation Directories:
----------------------------------------

Middleware Home Directory: [/data/weblogic]

Product Installation Directories:


   1|WebLogic Server: [/data/weblogic/wlserver_10.3]
   2|Oracle Coherence: [/data/weblogic/coherence_3.6]

 


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

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

The following Products and JDKs will be installed:
--------------------------------------------------

    WebLogic Platform 10.3.4.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: 721.1 MB

 


Enter [Exit][Previous][Next]>
Oct 21, 2011 8:49:14 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

Installing files..

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Performing String Substitutions...

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

Configuring OCM...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Creating Domains...

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

Installation Complete


Congratulations! Installation is complete.


Press [Enter] to continue or type [Exit]>

 

 

<-------------------- Oracle Installer - WebLogic 10.3.4.0 ------------------->

Clean up process in progress ...


4. 설치 완료 후 기본 도메인 설정하기전

$BAE/wlserver/common/bin/commEnv.sh 을 수정해야할수도 있다. 여기서는 /usr/java6_64로 지정을 하여 domain설정을 하였다.
./config -mode=console

 

 

<------------------- 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.4.0 [wlserver_10.3]x
    |_____Basic WebLogic SIP Server Domain - 10.3.4.0 [wlserver_10.3] [2]
    |_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.4.0 [wlserver_10.3] [3]
    |_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.4.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]>

 


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

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

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

 


Enter new Target Location OR [Exit][Previous][Next]> p

 

 

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

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

    |  Name  | Value |
   _|________|_______|
   1| *Name: |   1   |

 


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

 

 

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

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

    |  Name  | Value |
   _|________|_______|
   1| *Name: |   1   |

 


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

 

 

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

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

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

 


Enter new Target Location OR [Exit][Previous][Next]>

 

 

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

 

 

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

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


    ** CFGFWK-64018:  The confirmed password does not match the entered one.

 


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

 

 

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

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


    ** CFGFWK-60050:  Property "Password" of User "weblogic" is invalid.
    ** CFGFWK-60455:  The password must be at least 8 alphanumeric
    ** characters with at least one number or special character.

 


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

 

 

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

 

 

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

 

 

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

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

 ->1|IBM SDK 1.5.0 @ /opt/TerraceTims/3rd/java
   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]> /usr/java6_64

 

 

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

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

    "JVM Directory" = [/usr/java6_64]

 


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

5. 웹로직 기본 세팅이 완료가 되어졌으며 이제 admin server를 올려보자 (위 설치과정중 domain정보가 포함이 되어져 있으니 참고)
cd /data/weblogic/user_projects/domains/1
./startWebLogic.sh #서비스를 기동 하고 이제 웹 브라우저로 이동을 하자
http://serverIP:7001/console/