


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



How to use Docker Desktop? Docker Desktop is a tool for running Docker containers on local machines. The steps to use include: 1. Install Docker Desktop; 2. Start Docker Desktop; 3. Create Docker image (using Dockerfile); 4. Build Docker image (using docker build); 5. Run Docker container (using docker run).

Docker process viewing method: 1. Docker CLI command: docker ps; 2. Systemd CLI command: systemctl status docker; 3. Docker Compose CLI command: docker-compose ps; 4. Process Explorer (Windows); 5. /proc directory (Linux).

Troubleshooting steps for failed Docker image build: Check Dockerfile syntax and dependency version. Check if the build context contains the required source code and dependencies. View the build log for error details. Use the --target option to build a hierarchical phase to identify failure points. Make sure to use the latest version of Docker engine. Build the image with --t [image-name]:debug mode to debug the problem. Check disk space and make sure it is sufficient. Disable SELinux to prevent interference with the build process. Ask community platforms for help, provide Dockerfiles and build log descriptions for more specific suggestions.

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 reasons for the installation of VS Code extensions may be: network instability, insufficient permissions, system compatibility issues, VS Code version is too old, antivirus software or firewall interference. By checking network connections, permissions, log files, updating VS Code, disabling security software, and restarting VS Code or computers, you can gradually troubleshoot and resolve issues.

VS Code is available on Mac. It has powerful extensions, Git integration, terminal and debugger, and also offers a wealth of setup options. However, for particularly large projects or highly professional development, VS Code may have performance or functional limitations.

VS Code is the full name Visual Studio Code, which is a free and open source cross-platform code editor and development environment developed by Microsoft. It supports a wide range of programming languages and provides syntax highlighting, code automatic completion, code snippets and smart prompts to improve development efficiency. Through a rich extension ecosystem, users can add extensions to specific needs and languages, such as debuggers, code formatting tools, and Git integrations. VS Code also includes an intuitive debugger that helps quickly find and resolve bugs in your code.

How to back up VS Code configurations and extensions? Manually backup the settings file: Copy the key JSON files (settings.json, keybindings.json, extensions.json) to a safe location. Take advantage of VS Code synchronization: enable synchronization with your GitHub account to automatically back up all relevant settings and extensions. Use third-party tools: Back up configurations with reliable tools and provide richer features such as version control and incremental backups.
