Linux Application Server SETUP manual-create and deploy Weblogic service Domains

Source: Internet
Author: User

Linux Application Server SETUP manual-create and deploy Weblogic service Domains

The previous article talked about the installation of Weblogic, and then organized the creation of weblogic service domains and the deployment of projects.

1. webLogic service domain creation

After logging on as the root user, run the following command: # su Weblogic switches the user to the weblogic user.

1. Go to the home folder and run the # ls command to view the file information in the folder: Web and weblogic File directories.

2. Run the $ cd weblogic command, $ ls to queue the file information in the directory, find the wlserver_10.3 folder, and save the Startup file of the weblogic configuration domain to the directory.

3. Run the command $ cd wlserver_10.3 to enter the Directory and use the command $ ls to list the file information in the folder.

4. Go to the Common directory.

5. Go to the bin directory under Common and find the. config. sh file.

6. Use. /config. sh command to execute the weblogic service domain configuration Startup File. After the Startup File is initialized successfully, select the domain type to be created. The default type is used for the first creation: "Create a new service domain ". Next press ENTER

7. Select the type of the domain to be created. Here we select "generate an auto-configured domain to support the following products", enter 1 and press enter (or press next)

8. Select the application template type, enter 2, 3, and 4, select all templates, and press Enter next.

9. Specify the domin domain name. Use the default value to directly press next.

10. Specify the storage path of the domin domain. Use the default value to Enter next and press Enter.

11,Set the weblogic user password to log on to the weblogic console.

1) Select

2) Press enter to enter the password information.

3) set the weblogic user to confirm the password

4),Note: The password must be 8-digit long and contain numbers. If the entered password does not comply with the rules, An error message is returned.

60050: the password of your 'weblogic 'is invalid.

60045: the password must contain at least eight letters, numbers, and at least one number or special character.

12. Set the domain mode configuration: 1: Development Mode 2: production mode here: Development Mode

13. Bind jdk

1) bind the default jdk version

2) bind the jdk version you have installed: select 2, enter the JDK path you have installed, and press Enter next.

 

14. Select service type: "Manage Server" is selected by default"

15. Server parameter settings: the service name, listening address, listening port, and other information are not modified here. Use the default value, directly next, and press Enter.

16. Start to create a service domain.

17. After the service domain is successfully created, start the weblogic service. Log on to the weblogic console and run the following command in the root directory:

Cd/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/bin

Switch the directory to the bin directory and run the./startWebLogic. sh command to start

Ii. Deployment and release of web Applications

1. After the Weblogic service is successfully started, open the browser and enter http: // localhost: 7001/console and press Enter.

2. Enter the user name and password and press enter to enter the service console.

3. Click deploy on the home page or configure the application to deploy and release the program.

4. Click the Install button to start the installation. The application selection page is displayed. Select the application and click Next.

5. Select the application deployment method and click "Next ".

6. The application service program can be set up. If you do not need to modify it, go to the next step or complete the step.

7. Application Installation Complete

8. Select the installed application and click Start.

9. After the application is started, open the browser and access the application. Enter the access address in the address bar and press Enter. If the page jumps to the relevant interface, the application has been deployed successfully.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.