Here's the question about installing WebLogic Server 12c (12.1.3) Zip distribution under Ubuntu server 14.04 LTS (64bit). As for the installation in the Windows environment there is nothing to say, as long as you according to the wls1213_dev.zip of the README.TXT to take steps to do, there is no problem. But for a clean Ubuntu server, you can't pretend to follow the wizard's instructions. Because it lacks the necessary environment settings, this may not be a problem for a Linux veteran.
When you encounter problems in the installation, if you ask Baidu, you will find a lot of installation tutorials (mostly Windows environment). The settings for the two environment variables are also mentioned in the individual installation wizards, which are not mentioned in the README.txt in the installation directory:
1. Java_vendor=sun
2. Config_jvm_args=-djava.security.egd=file:/dev/./urandom
where Java_vendor=sun from WebLogic Server 12c (12.1.2) should not need to be set again. And Config_jvm_args=-djava.security.egd=file:/dev/./urandom is for Linux environments. But it doesn't work in Ubuntu. I don't know, it's WebLogic's problem, or Ubuntu itself.
Before giving my installation steps, I will provide you with an Oracle's official Installation guide for WebLogic 12c zip, which is not instructive in Ubuntu.
Let's step into the subject.
Preparatory work
1. You need to install the JDK for your Ubuntu and set the environment variables. As to how to do, here no longer elaborate, will not students please themselves Google or Baidu.
2. Download the latest WebLogic 12c from Oralce website (the latest version of the current document is WebLogic 12c (12.1.3)).
Installation steps
1, will download the Wls1213_dev.zip solution to the home under the name of wls12130.
<span style= "White-space:pre" ></span>unzip wls1213_dev.zip<span style= "White-space:pre" ></ SPAN>MV wls12130 ~
2. Installation
Output
<span style= "White-space:pre" ></span>**************************************************<span Style= "White-space:pre" ></span>weblogic Server 12g (12.1.3.0) Zip configuration<span style= "White-space: Pre "></span>mw_home:/home/zhaojh/wls12130/<span style=" White-space:pre "></span>JAVA_HOME:/ Home/zhaojh/jvm-7-oracle<span style= "White-space:pre" ></span>************************************** <span style= "White-space:pre" ></span>please wait while 740 jars is unpacked ... <span style= "White-space:pre" ></SPAN> Unpacking done 0 to goo goto go<span style= " White-space:pre "></span>build successful<span style=" White-space:pre "></span>Total time:0 Seconds<span style= "White-space:pre" ></span>classpath= ... Omit <span style= "White-space:pre" ></span>path= ..... Omit <span style= "White-spaCe:pre "></span>your Environment has been set.<span style=" White-space:pre "></span>configuring Wls...<span style= "White-space:pre" ></span>build successful<span style= "White-space:pre" ></ Span>total time:0 seconds <span style= "White-space:pre" ></span><strong>do you want to configure a n EW domain? [y/n]? <span style= "color: #ff0000;" >n</span></strong>
Notice the output above the last "Do you want to configure a new domain?" When you select N
3. Configure a new domain
<span style= "White-space:pre" ></SPAN>. $MW _home/wlserver/server/bin/setwlsenv.sh<span style= "White-space:pre" ></span>mkdir-p user_projects/ Domains/mydomain<span style= "White-space:pre" ></SPAN>CD User_projects/domains/mydomain<span style= "White-space:pre" ></span>java $JAVA _options-xmx1024m-xx:maxpermsize=256m WebLogic. Server
Output content
<span style= "White-space:pre" ></span><oct, 1:10:35 PM cst> <Info> <Security> < Bea-090905> <disabling the Cryptoj JCE Provider self-integrity Check for better startup performance. To enable this check, specify-dweblogic.security.allowcryptojdefaultjceverification=true.> <span style= " White-space:pre "></span><oct 1:10:35 PM cst> <Info> <Security> <BEA-090906> & Lt Changing the default Random number Generator in RSA cryptoj from ECDRBG128 to Fips186prng. To disable the change, specify-dweblogic.security.allowcryptojdefaultprng=true.> <span style= "White-space:pre "></span><oct 1:10:36 PM cst> <Info> <WebLogicServer> <BEA-000377> < Starting WebLogic server with Java HotSpot (TM) 64-bit server VMS Version 24.65-b04 from Oracle corporation.> <span St Yle= "White-space:pre" ></span>/home/zhaojh/wls12130/user_projects/domains/mydomain/configNot Found<span style= "white-space:pre" ></span>no Config # was found.<span style= "White-space:pre" ></span>would the server to create a default configuration and boot? (y/n): <strong><span style= "color: #ff0000;" >y</span></strong><span style= "White-space:pre" ></span><oct, 1:10:38 PM CST > <Info> <Management> <BEA-140013>
When the console displays <server state changed to resuming.>, you can access http://localhost:7001/console from the browser
Summarize
When installing WebLogic 12c (12.1.3) under Ubuntu Server, there are two points to note in addition to following the installation instructions (README.txt in the installation directory):
1. Do not forget to set the java_options= "-djava.security.egd=file:/dev/./urandom" while setting the Mw_home before starting the installation.
2. When the./configure.sh is executed, the "Do you want to configure a new domain" is displayed? [y/n]? "When you select" N ".
Ubuntu Server 14.04 LTS (64bit) under Install WebLogic Server 12c (12.1.3) Zip distribution