


In-depth analysis of the installation and configuration of WebLogic on Linux
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.
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

VS Code system requirements: Operating system: Windows 10 and above, macOS 10.12 and above, Linux distribution processor: minimum 1.6 GHz, recommended 2.0 GHz and above memory: minimum 512 MB, recommended 4 GB and above storage space: minimum 250 MB, recommended 1 GB and above other requirements: stable network connection, Xorg/Wayland (Linux)

The five basic components of the Linux system are: 1. Kernel, 2. System library, 3. System utilities, 4. Graphical user interface, 5. Applications. The kernel manages hardware resources, the system library provides precompiled functions, system utilities are used for system management, the GUI provides visual interaction, and applications use these components to implement functions.

vscode built-in terminal is a development tool that allows running commands and scripts within the editor to simplify the development process. How to use vscode terminal: Open the terminal with the shortcut key (Ctrl/Cmd). Enter a command or run the script. Use hotkeys (such as Ctrl L to clear the terminal). Change the working directory (such as the cd command). Advanced features include debug mode, automatic code snippet completion, and interactive command history.

To view the Git repository address, perform the following steps: 1. Open the command line and navigate to the repository directory; 2. Run the "git remote -v" command; 3. View the repository name in the output and its corresponding address.

Writing code in Visual Studio Code (VSCode) is simple and easy to use. Just install VSCode, create a project, select a language, create a file, write code, save and run it. The advantages of VSCode include cross-platform, free and open source, powerful features, rich extensions, and lightweight and fast.

Although Notepad cannot run Java code directly, it can be achieved by using other tools: using the command line compiler (javac) to generate a bytecode file (filename.class). Use the Java interpreter (java) to interpret bytecode, execute the code, and output the result.

The main uses of Linux include: 1. Server operating system, 2. Embedded system, 3. Desktop operating system, 4. Development and testing environment. Linux excels in these areas, providing stability, security and efficient development tools.

There are six ways to run code in Sublime: through hotkeys, menus, build systems, command lines, set default build systems, and custom build commands, and run individual files/projects by right-clicking on projects/files. The build system availability depends on the installation of Sublime Text.
