search
HomeSystem TutorialLINUXIn-depth analysis of the installation and configuration of WebLogic on Linux

In-depth analysis of the installation and configuration of WebLogic on Linux

Feb 15, 2024 pm 02:00 PM
linuxlinux tutoriallinux systemLinux operating systemlinux commandshell scriptembeddedlinuxGetting started with linuxlinux learning

As a powerful Java EE application server, WebLogic has become the first choice for many enterprise-level applications. On the Linux operating system, the installation and configuration of WebLogic is an integral part. This article will provide an in-depth analysis of how to complete the installation and configuration of WebLogic in a Linux environment, helping readers quickly and easily build an efficient and stable WebLogic application server.

In-depth analysis of the installation and configuration of WebLogic on Linux

1. Environment

  • Linux version: CentOS7 64bit (omitted)
  • fmw_12.2.1.3.0_wls.jar
  • jdk-8u201-linux-x64.tar.gz (Uninstall the jdk that comes with the linux system and install our own jdk)

Note: For uninstallation and installation of jdk, please see: https://www.cnblogs.com/elfin/p/11318805.html

2. Installation steps

1. Download WebLogic

下载地址:https://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html

2. Create installation user and authorization

# Root用户执行
groupadd weblogic # 添加用户组
useradd -g weblogic weblogic # 添加用户:useradd -g 用户组 用户名
passwd weblogic
# 授权
# chown -R 组:用户 目录
chown -R weblogic:weblogic /home/weblogic/
chmod 777 -R /home/weblogic # 生产环境适量而设
su - weblogic

3. Create a new directory (installation directory)

mkdir -p /home/weblogic

Note: If you are prompted with insufficient permissions, you can add sudo
before the command. Enter the installation package path and copy the installation package to the new installation directory

Note: Keep the JDK compilation environment and running environment consistent during installation, otherwise an exception will be prompted!

cd /路径
sudo scp -r fmw_12.2.1.3.0_wls.jar/var/log/ root@192.168.178.109:/home/weblogic

Give the installation file executable permissions

chmod a+x fmw_12.2.1.3.0_wls.jar

Execute installation command

java -jar fmw_12.2.1.3.0_wls.jar -mode=console

Note: If the installation file is in .bin format, the installation command is: ./wls2130_generic.bin -mode=console;
You don’t need to add “-mode=console” to the console text mode, because it will automatically
when you cannot start the graphical installation interface during installation.
to enter text console mode Jump out of the graphical installation interface and install in order

  • 1. Welcome interface (skip update)
  • 2. Select the installation path: (the installation directory can be modified by yourself)
  • 3. Select the installation type, generally choose the first WebLogic Server
  • 4. Condition check page
  • 5. On the security update page, you can fill in your email address at will, and then a connection failure pops up. Check I do not want to receive the relevant configuration, click Continue, and continue to the next step
  • 5. On the security update page, you can fill in your email address at will, and then a connection failure pops up. Check I do not want to receive the relevant configuration, click Continue, and continue to the next step
  • 7. The installation progress page displays the installation progress. You can continue to the next step of creating domain configuration
  • 8. Installation completed
  • 9. Create a new domain
  • 10. Configuration Wizard
  • 11. Set up an administrator account (weblogic@2019)
  • 12. Domain mode and JDK, weblogic automatically recognizes the JDK configured in the system (select production)
  • 13. Advanced configuration page, default is enough (select all three)
  • 14. Manage server page, default is
  • 15. Node management (password: weblogic@789)
  • 16. Managed server (host name and port)
  • 17. Cluster configuration, etc.
  • 18. Configuration summary page, showing domain configuration information
  • 19. The configuration progress page displays configuration information

3. Start

Startup script address installation path

cd /home/fairy/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/bin/
  启动:startWebLogic.sh(./startWebLogic.sh)(././startWebLogic.sh)

  停止:stopWebLogic.sh

  端口配置文件:Middleware/Oracle_Home/user_projects/domains/base_domain/config

  域配置界面脚本:Middleware/Oracle_Home/oracle_common/common/

  bin目录下# ./config.sh 

4. Test connection

ssh测试:telnet ip+端口号(telnet 10.9.36.105:7001)

         web测试:

         访问地址:http://IP+Port(7001)/console(http://192.168.178.109:7001/console)

as follows:

Enter username and password to start the server node

5. Deployment

Copy the package to the installation directory

cd  /home/fairy/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/bin/

./startManagedWebLogic.sh 主机名 网页url

(./startManagedWebLogic.sh mysql02 http://192.168.178.109:7001)

With a comprehensive introduction to the installation and configuration process of WebLogic, we can easily build a complete WebLogic environment so that it can run various Java EE applications efficiently and stably. At the same time, we also need to realize that the installation and configuration of WebLogic involves a lot of complex technologies and knowledge, which requires us to continuously learn and improve our skills. I believe that by reading this article, everyone can have a deeper understanding of the installation and configuration of WebLogic on Linux, so that they can be more comfortable at work.

The above is the detailed content of In-depth analysis of the installation and configuration of WebLogic on Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:良许Linux教程网. If there is any infringement, please contact admin@php.cn delete
What are the differences in user account management between Linux and Windows?What are the differences in user account management between Linux and Windows?May 02, 2025 am 12:02 AM

The main difference between Linux and Windows in user account management is the permission model and management tools. Linux uses Unix-based permissions models and command-line tools (such as useradd, usermod, userdel), while Windows uses its own security model and graphical user interface (GUI) management tools.

How does the command line environment of Linux make it more/less secure than Windows?How does the command line environment of Linux make it more/less secure than Windows?May 01, 2025 am 12:03 AM

Linux'scommandlinecanbemoresecurethanWindowsifmanagedcorrectly,butrequiresmoreuserknowledge.1)Linux'sopen-sourcenatureallowsforquicksecurityupdates.2)Misconfigurationcanleadtovulnerabilities.Windows'commandlineismorecontrolledbutlesscustomizable,with

How to Make a USB Drive Mount Automatically in LinuxHow to Make a USB Drive Mount Automatically in LinuxApr 30, 2025 am 10:04 AM

This guide explains how to automatically mount a USB drive on boot in Linux, saving you time and effort. Step 1: Identify Your USB Drive Use the lsblk command to list all block devices. Your USB drive will likely be labeled /dev/sdb1, /dev/sdc1, etc

Best Cross-Platform Apps for Linux, Windows, and Mac in 2025Best Cross-Platform Apps for Linux, Windows, and Mac in 2025Apr 30, 2025 am 09:57 AM

Cross-platform applications have revolutionized software development, enabling seamless functionality across operating systems like Linux, Windows, and macOS. This eliminates the need to switch apps based on your device, offering consistent experien

Best Linux Tools for AI and Machine Learning in 2025Best Linux Tools for AI and Machine Learning in 2025Apr 30, 2025 am 09:44 AM

Artificial Intelligence (AI) is rapidly transforming numerous sectors, from healthcare and finance to creative fields like art and music. Linux, with its open-source nature, adaptability, and performance capabilities, has emerged as a premier platfo

5 Best Lightweight Linux Distros Without a GUI5 Best Lightweight Linux Distros Without a GUIApr 30, 2025 am 09:38 AM

Looking for a fast, minimal, and efficient Linux distribution without a graphical user interface (GUI)? Lightweight, GUI-less Linux distros are perfect for older hardware or specialized tasks like servers and embedded systems. They consume fewer res

How to Install Wine 10.0 in RedHat DistributionsHow to Install Wine 10.0 in RedHat DistributionsApr 30, 2025 am 09:32 AM

Wine 10.0 stable version release: Running Windows applications on Linux to a higher level Wine, this open source and free application, allows Linux users to run Windows software and games on Unix/Linux operating systems, ushering in the release of the 10.0 stable version! This version has been provided with source code and binary package downloads, and supports various distributions such as Linux, Windows and Mac. This edition embodies a year of hard work and over 8,600 improvements, bringing many exciting improvements. Key highlights include: Enhanced support for Bluetooth devices. Improve support for HID input devices. Optimized performance of 32-bit and 64-bit applications.

How to Install and Configure SQL Server on RHELHow to Install and Configure SQL Server on RHELApr 30, 2025 am 09:27 AM

This tutorial guides you through installing SQL Server 2022 on RHEL 8.x or 9.x, connecting via the sqlcmd command-line tool, database creation, and basic querying. Prerequisites Before beginning, ensure: A supported RHEL version (RHEL 8 or 9). Sudo

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.