In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Please refer to past articles for installing weblogic 12C (the java used to install weblogic must be the same as when you built the domain, otherwise an error will be reported.)
two。 Manually create domains and initialize environment variables
$sh / home/weblogic/Oracle/Middleware/Oracle_Home/wlserver/server/bin/setWLSEnv.sh
3. Execute wlst script
$/ home/bea64/Oracle/Middleware/Oracle_Home/wlserver/common/bin/wlst.sh
Wls:/offline >
Execute the following statement
ReadTemplate ("/ home/bea64/Oracle/Middleware/Oracle_Home/wlserver/common/templates/wls/wls.jar")
Cd ('Servers/AdminServer')
Set ('ListenAddress','') # listening address
Set ('ListenPort', 7001) # port
Cd ('/')
Cd ('Security/base_domain/User/weblogic')
Cmo.setPassword ('weblogic123') # set the console login password
SetOption ('OverwriteDomain',' true')
SetOption ('JavaHome',' / home/bea64/jdk1.8.0_131') # define the JDK location
WriteDomain ('/ home/bea64/domains/jydomain') # specify the path for the new domain
CloseTemplate ()
Exit () # exit
# # creating a domain by script # #
Weblogic user execution
Write a script
$cat domain.py
ReadTemplate ("/ home/weblogic/Oracle/Middleware/Oracle_Home/wlserver/common/templates/wls/wls.jar")
Cd ('Servers/AdminServer')
Set ('ListenAddress','')
Set ('ListenPort', 7001)
Cd ('/')
Cd ('Security/base_domain/User/weblogic')
Cmo.setPassword ('weblogic123')
SetOption ('OverwriteDomain',' true')
SetOption ('JavaHome',' / usr/java/jdk1.8.0_141')
WriteDomain ('/ home/weblogic/domains/jydomain')
CloseTemplate ()
Exit ()
The basic principle is to reset the source of random numbers under the Linux system, so that the domain will be built more quickly.
$export CONFIG_JVM_ARGS='-Djava.security.egd=file:/dev/urandom'
Execute the script and the domain will be built in a minute.
$/ home/weblogic/Oracle/Middleware/Oracle_Home/wlserver/common/bin/wlst.sh domain.py
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.