Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation and configuration of weblogic_server103.c

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Weblogic is a product of bea, which was later acquired by oracle. Weblogic is a middleware based on Javaee architecture and a java application server developed by pure java. WebLogic is mainly used to develop, integrate, deploy and manage Java application servers for large-scale distributed Web applications, network applications and database applications.

Weblogic_server103. Download link: http://pan.baidu.com/s/1c6uSgQ password: 4lk4

If you want to register for weblogic download on oracle's official website, you may have to pay for it. Bloggers provide the download free of charge. Here is the installation and configuration of weblogic.

The installation of weblogic is also very simple:

First install the webogic default lib library files and gcc compilation environments:

: / root > yum install gcc make glibc.i686

Install weblogic:

(bloggers are used to installing applications in the corresponding project maintenance user directory, which requires userad oweblogic)

: / root > su-weblogic

In this chapter, the blogger uses the weblogic_server103_linux32.bin version of weblogic, that is, the console is in English and 12c is in Chinese.

[weblogic@smallmeng] $. / weblogic_server103_linux32.bin

Extracting 0% .100%

Unable to instantiate GUI, defaulting to console mode.

Welcome:

-

This installer will guide you through the installation of WebLogic Platform 10.3.0.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".

(this is the installation of the weblogic10.3.0.0 version. Press Next to start the installation and exit will exit the installation.)

Enter [Exit] [Next] > enter

Choose BEA Home Directory:

-

(select bea home directory)

"BEA Home" = [Enter new value or use default "/ home/weblogic/bea"]

Enter new BEA Home OR [Exit] [Previous] [Next] > enter

Choose Install Type:

-

(choose all installation or custom installation, if you are not sure, install all, the blogger chooses custom installation)

Select the type of installation you wish to perform.

-> 1 | Complete

| Install the following software products and examples:

| |-WebLogic Server |

| |-Workshop |

2 | Custom

| Choose software products and components to install and perform optional configuration.

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

Choose Products and Components: (x represents the one to be installed, we don't use workshop, so choose 2 to remove x)

-

Release 10.3.0.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 JDBC Drivers [1.5] x |

| | _ Third Party JDBC Drivers [1.6] x |

| | _ WebLogic Server Clients [1.7] x |

| | _ WebLogic Web Server Plugins [1.8] x |

| | _ UDDI and Xquery Support [1.9] x |

| | _ Server Examples [1.10] x |

| | _ Workshop [2] x |

| | _ Workshop for WebLogic [2.1] x |

| | _ Workshop Runtime Framework [2.2] x |

* Estimated size of installation: 788.3 MB

Enter number exactly as it appears in brackets to toggle selection OR [Exit] [Previous] [Next] > 2

Choose Products and Components: (workshop no longer has x)

-

Release 10.3.0.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 JDBC Drivers [1.5] x |

| | _ Third Party JDBC Drivers [1.6] x |

| | _ WebLogic Server Clients [1.7] x |

| | _ WebLogic Web Server Plugins [1.8] x |

| | _ UDDI and Xquery Support [1.9] x |

| | _ Server Examples [1.10] x |

| | _ Workshop [2] |

| | _ Workshop for WebLogic [2.1] |

| | _ Workshop Runtime Framework [2.2] |

* Estimated size of installation: 406.3 MB

Enter number exactly as it appears in brackets to toggle selection OR [Exit] [Previous] [Next] > enter

JDK Selection (Any * indicates BEA Supplied VM):

(choose to install jdk, install all by default)

JDK (s) chosen for use with this product installation will be installed. Supported defaults if not deselected will be used in script string-substitution.

1 | Add Local Jdk

2 | / home/weblogic/bea/jdk160_05 [x] *

3 | / home/weblogic/bea/jrockit_160_05 [x] *

* Estimated size of installation: 759.1 MB

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

Choose Product Installation Directories: (select the installation directory for weblogic servere. The following directory is used by default, or you can specify the installation directory)

-

BEA Home Directory: [/ home/oracle/bea]

Product Installation Directories:

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

Enter new WebLogic Server OR [Exit] [Previous] [Next] > enter

The following Products and JDKs will be installed: (the following will be installed)

WebLogic Platform 10.3.0.0

| | _ WebLogic Server |

| | _ Core Application Server |

| | _ Administration Console |

| | _ Configuration Wizard and Upgrade Framework |

| | _ Web 2.0 HTTP Pub-Sub Server |

| | _ WebLogic JDBC Drivers |

| | _ Third Party JDBC Drivers |

| | _ WebLogic Server Clients |

| | _ WebLogic Web Server Plugins |

| | _ UDDI and Xquery Support |

| | _ Server Examples |

| | _ JDKs |

| | _ Sun SDK 1.6.0Secret05 |

| | _ BEA JRockit 1.6.0Secret05 SDK |

* Estimated size of installation: 759.1 MB

Enter [Exit] [Previous] [Next] > enter

Installing files..

0% 25% 50% 75% 100%

[- | -]

[*]

Installing JDK....

0% 25% 50% 75% 100%

[- | -]

[*]

Performing String Substitutions...

Creating Domains...

Installation Complete

Congratulations! Installation is complete.

Press [Enter] to continue or type [Exit] > enter is completed.

The above is only the installation of weblogic server, it must also need to install the domain domain Administrator and so on in order to use it in production.

[weblogic@smallmeng security] $pwd

/ home/weblogic/bea/jrockit_160_05/jre/lib/security

The Weblogic thread hangs on top of security-related random number generation because of JDK's Bug (JDK from / dev/random

It often takes 10 minutes or more to read 'randomness'.) the startup time for weblogic below will be much shorter.

[weblogic@smallmeng security] $vim java.security

Securerandom.source=file:/dev/./urandom

Installation of weblogic Domain:

[weblogic@smallmeng bin] $pwd

/ home/weblogic/bea/wlserver_10.3/common/bin

[weblogic@smallmeng bin] $ls

CommEnv.sh config.sh setPatchEnv.sh startPointBaseConsole.sh stopPointBase.sh upgrade.sh wlsifconfig.sh

Config_builder.sh pack.sh startManagedWebLogic.sh startPointBase.sh unpack.sh wlscontrol.sh wlst.sh

[weblogic@smallmeng bin] $. / config.sh

Unable to instantiate GUI, defaulting to console mode.

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.

(whether to create a weblogic domain)

-> 1 | Create a new WebLogic domain

| Create a WebLogic domain in your projects directory.

2 | Extend an existing WebLogic domain

| Extend an existing WebLogic domain. Use this option to add applications and services, or to override existing database access (JDBC) and messaging (JMS) settings. You can also

| incorporate additional functionality in your domain, for example, by including AquaLogic Service Bus.

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

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 (create a new domain)

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

| 2 | Choose custom template (create a template that relies on graphics, which the blogger has played with before, which is not fun)

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

Application Template Selection: (template for new domain, default)

-

Available Templates

| | _ WebLogic Server (Required) x |

Enter number exactly as it appears in brackets to toggle selection OR [Exit] [Previous] [Next] > enter

Configure Administrator Username and Password:

-

(the user password for weblogic domain is the same as the web console.)

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 | * User 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 "User name"

2-Modify "User password"

3-Modify "Confirm user password"

4-Modify "Description"

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

Configure Administrator Username 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] > (password)

Configure Administrator Username 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 | * User 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 "User 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

Configure Administrator Username 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] > (password)

Configure Administrator Username 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 | * User 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 "User 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] > enter

(usage mode of domain)

Domain Mode Configuration:

-

Enable Development or Production Mode for this domain.

-> 1 | Development Mode development

2 | Production Mode production

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

Java SDK Selection:

-

-> 1 | JRockit SDK 1.6.0room05 @ / home/weblogic/bea/jrockit_160_05

2 | Sun SDK 1.6.0room05 @ / home/weblogic/bea/jdk160_05

3 | Other Java SDK

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

Choose Configuration Option:

-

(select whether you want to modify the template for this new domain. The default port of the template is 7001. Select "No" is the default. For example, if I want to use port 8002, select whether or not to modify the port in config.xml after the installation is completed. Choose to directly configure and modify the port.)

* Do you want to modify any of the preconfigured settings or defaults in your template?

*

* To keep the default or template settings, and proceed directly to name and create your domain, leave No selected.

1 | Yes

-> 2 | No

Selecting no allows you to confirm the installation path and start the installation directly. Yes also needs to modify some of its own accustomed configurations. This blogger chooses yes.

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

Configure RDBMS Security Store Options:

-

Create the RDBMS tables in your datastore prior to booting your domain. The scripts for use by your DBA are in WebLogic Server's server/lib directory. Click Next to keep the template

Settings or bypass RDBMS options.

-> 1 | I don't want to change anything here.

2 | I want to create, change, or remove RDBMS support.

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

Configure the Administration Server:

-

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to

Perform administrative tasks.

| | Name | Value |

_ |

1 | * Name: | AdminServer | domian management service

2 | Listen address: | All Local Addresses | listening address

3 | Listen port: | 7001 | Port

| 4 | SSL listen port: | ssl A | Port that ssl listens to. Default is 7002.

5 | SSL enabled: | false | whether ssl is supported or not

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

Enter value for "Listen port" OR [Exit] [Previous] [Next] > 8002

Configure the Administration Server:

-

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to

Perform administrative tasks.

| | Name | Value |

_ |

1 | * Name: | AdminServer |

2 | Listen address: | All Local Addresses |

3 | Listen port: | 8002 |

4 | SSL listen port: | NambiA |

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

Configure Managed Servers:

-

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an instance of WebLogic Server used

To host enterprise applications.

| | Name* | Listen address | Listen port | SSL listen port | SSL enabled | |

_ | _ |

(ssl instance configuration)

Enter name for a new OR [Exit] [Previous] [Next] > enter

Configure Clusters:

-

(cluster, we are independent weblogic server and do not need cluster configuration)

Add or delete configuration information for clusters. A cluster contains multiple WebLogic Server instances that run simultaneously and work together to provide increased scalability and

Reliability. A cluster appears to be a single WebLogic Server instance to clients.

| | Name* | Multicast address | Multicast port | Cluster address | |

_ |

Enter name for a new Cluster OR [Exit] [Previous] [Next] > enter

Configure Machines: / / Node management server is not required

-

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start remote servers.

| | Name* | Node manager listen address | Node manager listen port | |

_ | _ | _ _ | _ _ |

Enter name for a new Machine OR [Exit] [Previous] [Next] > enter

Configure Unix Machines: / / name of the node management server, no

-

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start remote servers.

| | Name |

_ | _ |

Enter name for a new Unix Machine OR [Exit] [Previous] [Next] > enter

Select the target domain directory for this domain: / / the installation path of domain. Default is fine.

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

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

The name of Edit Domain Information: / / domain, which makes it easy to identify the blogger and change it to weblogic_8002

-

| | Name | Value |

_ |

1 | * Name: | base_domain |

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

Edit Domain Information: / / Edit or confirm the following information

-

| | Name | Value |

_ |

1 | * Name: | weblogic_8002 |

Use above value or select another option:

1-Modify "Name"

2-Discard Changes

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

Creating Domain...

0% 25% 50% 75% 100%

[- | -]

[*]

* Domain Created Successfully! *

By switching to the installation path of the new domain, you can see the new domain where we defined the installation

[weblogic@smallmeng domains] $pwd

/ home/weblogic/bea/user_projects/domains

[weblogic@smallmeng domains] $ls

Weblogic_8002

Switch to the new domain and start weblogic

[weblogic@smallmeng bin] $pwd

/ home/weblogic/bea/user_projects/domains/weblogic_8002/bin

[weblogic@smallmeng bin] $vim startWebLogic.sh

Add the following two lines:

WLS_USER=weblogic

WLS_PW=weblogic

[weblogic@smallmeng bin] $nohup. / startWebLogic.sh & / / launch weblogic user: weblogic password: weblogic, which is set when you just configured it

Enter: http://192.168.1.33:8002/console/ in the browser

Release directory configuration for the weblogic server project:

(lock and edit, while you release, other colleagues may also be working, so lock and edit, then next-next select your project package installation, next, you will complete the installation.)

The configuration of WTC is often referred to as tcpcall (which host do you want to communicate with, it can be understood as this):

Create a new WTC server (default is fine, mainly because of the configuration in it, which can be changed or not):

The port opened locally by WTC server and the port of the remote host (this part does not match, after all, the blogger is the testing machine)

What do you think of the communication between the two hosts? (1. Whether the linux terminal can see your matching port up. 2. It is shown below)

If you get up, you can see administrator ture, which means ok.

Configuration of jdbc (if the project uses a database, you need to configure jdbc. You can configure it casually first, and then debug it):

This is what the blogger talks about. If you have any questions, you can Q. In the next chapter, the blogger will talk about the installation of weblogic server 12c, which is more or less the same.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report