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

Weblogic command line mode installation and domain creation

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

Share

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

I. the use of software

Wls1036_generic jdk-7u40-ea-bin-b34-linux-x64-17_jul_2013.tar

II. Preparatory work

2.1 create Linux user groups and users

First, we need to create a weblogic user group account with the following command:

Groupadd-g 601 weblogic

Then create a weblogic user account, which belongs to the WebLogic group, with the following command:

Useradd-g weblogic weblogic

Change the password after creating the user: passwdweblogic

The following words appear:

> Changing password for user weblogic.

> New UNIX password:weblogic

> BAD PASSWORD: it is based ona dictionaryword

> Retype new UNIX password:weblogic

> passwd: all authentication tokens updatedsuccessfully.

2.2 create an installation directory and set permissions

1 location of installation media

Create a directory: mkdir / installs/installs_package

Modify directory permissions: chmod 777/installs/installs_package

Copy the JDK1.6 version installation media jrrt-4.0.0-1.6.0-linux-x64.bin and the WebLogic10.3.3 for Linux 64bit version installation media wls1033_generic.jar to the / installs/installs_package directory.

2 installation directory (the installation directory can be set according to the actual situation)

Create a directory: mkdir / userapp/weblogicapp

Modify directory permissions: chmod 777 / userapp/weblogicapp

2.3 install jdk (this step is brief)

3. Install weblogic (red for translation)

Java-jar wls1036_generic.jar-mode=console

Next, go to the welcome screen of the console installation.

Unable to instantiate GUI, defaulting to console mode.

Extracting 0% .100%

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

Welcome to:-

This installer will guide you through the installation of WebLogic 10.3.6.0.

Type "Next" or press Enter to continue to the next prompt. If you want to change previously entered data, type "Previous".

You can exit setup at any time by typing "Exit".

Enter [Exit] [Next] > next next step

Choose BEA Home Directory: select the middleware home directory:

-

"BEA Home" = [Enter new value or use default "/ home/zhuying/bea"] "middleware home directory" = [enter a new value or use the default value "/ home/zhuying/bea"]

Enter new BEA Home OR [Exit] [Previous] [Next] > / userapp/Oracle/Middleware Select the installation directory. If you need to change the directory, write the directory path here directly.

Choose BEA Home Directory:

-

"BEA Home" = [/ userapp/Oracle/Middleware]

Use above value or select another option: use the above values or select another option:

1-Enter new BEA Home 1-enter new value middleware home directory

2-Change to default [/ home/zhuying/bea] 2-change to default [/ home/zhuying/bea]

Enter option number to select OR [Exit] [Previous] [Next] > 1 Select 1 to use the new directory

Choose BEA Home Directory:

-

"BEA Home" = [/ userapp/Oracle/Middleware]

Enter new BEA Home OR [Exit] [Previous] [Next] > next next step

Register for Security Updates: register security updates:

-

Provide your email address for security updates and to initiate configuration manager.

Provide an email address to receive notifications of security issues, install the product, and start the configuration manager.

| 1 | Email: [] email |

2 | Support Password: [] password

| 3 | Receive Security Update: [Yes] receive security updates: [Yes]

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

Register for Security Updates: register security updates:

-

Provide your email address for security updates and to initiate configuration manager.

Provide an email address to receive notifications of security issues, install the product, and start the configuration manager.

"Receive Security Update:" = [Enter new value or use default "Yes"]

"receive security updates:" = [enter a new value or use the value "Yes"]

Enter [Yes] [No]? No

Register for Security Updates: register security updates:

-

Provide your email address for security updates and to initiate configuration manager.

Provide an email address to receive notifications of security issues, install the product, and start the configuration manager.

"Receive Security Update:" = [Enter new value or use default "Yes"]

"receive security updates:" = [enter a new value or use the value "Yes"]

* * Do you wish to bypass initiation of the configuration manager and * * do you want to bypass the configuration manager startup process and

* * remain uninformed of critical security issues in your configuration? * * does not receive notifications of serious security problems in the configuration?

Enter [Yes] [No]? Yes

Register for Security Updates:

-

Provide your email address for security updates and to initiate configuration manager.

Provide an email address to receive notifications of security issues, install the product, and start the configuration manager.

1 | Email: []

2 | Support Password: []

3 | Receive Security Update: [No]

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

Choose Install Type: select the installation type.

-

Select the type of installation you wish to perform. Select the type of installation you want to perform.

-> 1 | complete installation of Complete

| Install the following software products and examples: install the following products and components:

| |-WebLogic Server |

| |-Workshop |

2 | Custom installation of Custom

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

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

JDK Selection (Any * indicates Oracle Supplied VM):

JDK selection (all * indicate the VM provided by Oracle):

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

The selected JDK for use with this product installation will be installed. If not unchecked, the supported default values are used in the script string replacement operation.

| 1 | Add Local Jdk adds local JDK |

2 | / usr/local/jdk [x]

* estimated size required for installation: 727.6 MB

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

Choose Product Installation Directories: select the product installation directory:

-

Middleware Home Directory: [/ userapp/Oracle/Middleware] middleware home directory:

Product Installation Directories: product installation directory:

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

2 | Oracle Coherence: [/ userapp/Oracle/Middleware/coherence_3.7]

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

The following Products and JDKs will be installed: the following products and JDK 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 |

| | _ Workshop |

| | _ Workshop for WebLogic |

| | _ Workshop Runtime Framework |

| | _ JDKs |

| | _ Sun SDK 1.6.0Secret05 |

| | _ BEA JRockit 1.6.0Secret05 SDK |

* Estimated size of installation: 1129.9 MB installation estimated size 1129.9 MB

Enter [Exit] [Previous] [Next] > Press 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] > Press enter to exit directly

[zhuying@Test232 opt] $

2.3 create a service

Cd / userapp/Oracle/Middleware/wlserver_10.3/common/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.

-> 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] > 1 create a new weblogic domain

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 selects Weblogic platform components

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

| 2 | Choose custom template selects a custom template |

| Choose this option if you want to use an existing template. This could be a custom created template using the Template

| Builder Select this option if you want to use an existing template. This may be a custom created template, using the template generator

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

Application Template Selection:

-

Available Templates

| | _ WebLogic Server (Required) x |

| | _ Workshop for WebLogic 10.3 [2] |

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

Edit Domain Information:

-

| | Name | Value |

_ |

1 | * Name: | base_domain |

Enter value for "Name" OR [Exit] [Previous] [Next] > yilucaifu creates a new domain name. If it is not written, the default base_domain is used.

Edit Domain Information:

-

| | Name | Value |

_ |

1 | * Name: | yilucaifu |

Use above value or select another option:

1-Modify "Name" modification

2-Discard Changes discard changes

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

Select the target domain directory for this domain:

"Target Location" = [Enter new value or use default uses the new directory

"/ userapp/Oracle/Middleware/user_projects/domains"] confirm the installation directory

Enter new Target Location OR [Exit] [Previous] [Next] > enter or use another directory

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"

Enter option number to select OR [Exit] [Previous] [Next] > 1 sets the user name

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

Enter value for "User name" OR [Exit] [Previous] [Next] > weblogic enter user name

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

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] > 2 to create a password with 8 digits or more, plus a combination of numbers

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] > [enter your account password as required]

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

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 repeatedly enter 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.

"* Confirm user password:" = []

Enter new * Confirm user password: OR [Exit] [Reset] [Accept] > [enter your account password again]

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

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

Domain Mode Configuration:

-

Enable Development or Production Mode for this domain.

-> 1 | Development Mode development mode

2 | Production Mode production mode

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

Java SDK Selection:

-

-> 1 | Sun SDK 1.7.0_40-ea @ / usr/local/jdk

2 | Other Java SDK

Enter index number to select OR [Exit] [Previous] [Next] > Select the JDK to use

Select Optional Configuration:

-

| 1 | Administration Server [] management server |

| 2 | Managed Servers, Clusters and Machines [] managed servers, clusters and computers |

| 3 | RDBMS Security Store [] RDBMS secure storage |

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

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

Enter option number to select OR [Exit] [Previous] [Next] > you can modify the user name, monitor IP, port number, etc. If you do not modify it, enter directly.

Creating Domain...

0% 25% 50% 75% 100%

[- | -]

[*]

* * Domain Created Successfully! * complete the installation

Start weblogic (domain path) / userapp/Oracle/Middleware/user_projects/domains/ylcf (domain name)

. / startWebLogic.sh

Management address: http://localhost:7001/console

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

Wechat

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

12
Report