In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Install weblogic12c on redhat7.3 system
I. deployment environment
This environment uses RedHat7.3 to install weblogic12c, runs the management server and the managed server on the same host, and establishes two managed servers new_ManagedServer_1 and new_ManagedServer_2.
The environment of this time is as follows:
Hostnam
WeblogicServer
OS name
RedHat7.3
IPv4 address
192.168.59.5
Physical memory
16GB
WebLogic version
12.2.1.2.0
WebLogic administrative user name
Weblogic / Weblogic@123
Administrative console address
Http://192.168.59.5:7001/console
Name
IP
Port
Description
AdminServer
192.168.59.5
7001
Manage server
New_ManagedServer_1
192.168.59.5
7003
Node Server 1
New_ManagedServer_2
192.168.59.5
7004
Node Server 2
Second, install WebLogic Server and Coherence
Before installing WebLogic12c, install jdk and configure its environment variables.
2.1 decompress jdk
Extract to / usr/local/:
Tar-zxvf jdk-8u112-linux-x64.tar.gz-C / usr/local/
2.2 configure environment variables
Configure environment variables:
# vim / etc/profile
Export JAVA_HOME=/usr/local/jdk1.8.0_112
Export JRE_HOME=/usr/local/jdk1.8.0_112/jre
Export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
ExportPATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
Execute the command to make the configuration file effective immediately:
# source/etc/profile
Verify that the JDK installation is successful:
# java-version
Java version "1.8.0,112"
Java (TM) SERuntime Environment (build 1.8.0_112-b15)
Java HotSpot (TM) 64-Bit Server VM (build 25.112-b15, mixed mode)
2.3Creating weblogic users
# groupadd weblogic
# useradd-g weblogic weblogic
# passwd weblogic
2.4Editing hosts files
# vim / etc/hosts
192.168.59.5 WeblogicServer
Third, install WebLogic Server and Coherence
WebLogic Server and Coherence installation package: fmw_12.2.1.2.0_wls.jar
3.1Setting DISPLAY
Switch users
# su-weblogic
Set up DISPLAY
[weblogic@WeblogicServer ~] $exportDISPLAY=192.168.59.5:0.0
[weblogic@WeblogicServer ~] $xhost +
The appearance of the sentence access control disabled, clients canconnect from any host / / shows that it is a success.
3.2 configure the firewall
Redhat7.3 configuration Firewall
Firewall-cmd-permanent-add-port=7001/tcp
Firewall-cmd-reload
Firewall-cmd-list-all
CentOS6.5, turn off the firewall
Service iptables stop
Service iptables status
Chkconfig iptables off
3. 3 install weblogic
Switch users
# su-weblogic
Install weblogic
# java-jarfmw_12.2.1.2.0_wls.jar
At this point, the WebLogic Server and Coherence installation is complete
3.4 configure weblogic
Set the computer Machine_1 type to "normal"
3.5 configure nodemanager.properties
[weblogic@WeblogicServer] $cd / home/weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/nodemanager
[weblogic@ WeblogicServer] $vim nodemanager.properties
ListenPort=5556
SecureListener=false
StartScriptEnabled=true
3.6 start the weblogic service
# cd / home/weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/
#. / startWebLogic.sh
# cd/home/weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/bin
#. / startNodeManager.sh
Open a browser and enter the following address: http://192.168.16.111:7001/console/
Start the management node:
Check forgetfulness status, normal
Problems encountered:
If you execute the "java-jar fmw_12.2.1.2.0_wls.jar" command to install weblogic, it appears:
"check monitor: must be configured to show at least 256 failed colors
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.