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 to install weblogic for Linux

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

Share

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

This article introduces Linux how to install weblogic, the content is very detailed, interested friends can refer to, hope to be helpful to you.

WebLogic is a web server launched by Oracle, which is mainly used in the web system developed by JAVA. WebLogic is an enterprise-class web server, which is more powerful than tomcat, but requires RMB.

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

What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.

On how to install Linux weblogic to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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