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

How does Linux deploy WebLogic

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces the relevant knowledge of "how Linux deploys WebLogic". The editor shows you the operation process through an actual case. The operation method is simple, fast and practical. I hope this article "how Linux deploys WebLogic" can help you solve the problem.

Specific steps for Linux to deploy weblogic: 1. Environment

Linux version: RedHat 6.7

Weblogic version: WLS10.3.6 download link: https://pan.baidu.com/s/1nSTHA69lLVo55Uk5y_UcAw

JDK version: 1.8 download link: https://pan.baidu.com/s/1snD2FG8d8HTDfAR9KBIkAg

Second, install JDK

Just upload the JDK package to the root directory

[root@bogon /] # tar-xvf jdk-8u161-linux-x64.tar.gz

[root@bogon /] # mv jdk1.8.0_161/ / usr/java

[root@bogon /] # vim / etc/profile

Export JAVA_HOME=/usr/java

Export JRE_HOME=/usr/java/jre

Export CLASSPATH=.:JRE_HOME/lib:$CLASSPATH

Export PATH=JRE_HOME/bin:$PATH

Export ORACLE_HOME=/weblogic/wls1212/ofmhome

[root@bogon /] # source / etc/profile

Create directories, users, and groups

Mkdir-p / u01/weblogic

Groupadd weblogic

Useradd-g weblogic-d / u01/weblogic weblogic

Passwd weblogic

Weblogic

Chown-R weblogic:weblogic / U01

IV. Installation

Upload the weblogic package to / U01

Chown-R weblogic:weblogic / U01

Switch to weblogic user

Cd / u01

Java-jar wls1036_generic.jar

Enter the command line installation mode: enter the following steps except for the following steps:

At this point, the weblogic software has been successfully installed in the following directory:

The installation home directory is / u01/weblogic

The Weblogic server directory is / u01/weblogic/wlserver_10.3

The Oracel coherence directory is / u01/weblogic/coherence_3.7

5. Configure weblogic server environment

Configuration domain (it is a managed unit that contains multiple weblogic server)

Using the configuration assistant configuration, the following is a summary of the different methods on each operating system:

Scripts in/common/bin directory

Graphical mode:

Windows start menu

[windows] config.cmd

[unix | linux] config.sh

Console mode:

[windows] config.cmd-mode=console

[unix | linux] config.sh-mode=console

In this example, the console mode is still used to configure the domain.

Su-weblogic

Cd / u01/weblogic/wlserver_10.3/common/bin

. / config.sh-mode=console

The options that do not appear in the following picture, just enter by default.

At this point, the weblogic domain has been installed successfully, and the installation directory is as follows:

The installation home directory is / u01/weblogic/user_projects/domains

VI. Modify hosts file

Switch to the root user:

Vi / etc/hosts

IP hostname # # change according to your actual situation

7. Start weblogic server

Su-weblogic

Cd / u01/weblogic/user_projects/domains/base_domain/bin

. / startWeblogic.sh

Enter user name: weblogic

Enter password: 12345678

At this point, the startup is complete.

Open the console

Http://IP:7001/console

This is the end of the introduction to "how Linux deploys WebLogic". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

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

Development

Wechat

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

12
Report