这里说的对Ubuntu Server 14.04 LTS(64bit)已安装weblogic Server 12c(12.1.3) Zip Distribution遇到的问题。至于Windows什么好说的,仅仅要你依据wls1213_dev.zip中自带的README.TXT一步步做。是不会出现故障的。可是对于在一个干净的Ubuntu Server下的来说。依据向导的说明你是装不起来的。由于它缺少了必要的环境设置。或许这对于linux下的老手来说这些都不是事。

当在安装中遇到问题时。假设询问百度,你会所搜到非常多安装教程(大部分是Windows环境)。个别安装向导中还会提到两个环境变量的设置,这两个变量在安装文件夹下的README.txt中不曾提到,这两个是:

1. JAVA_VENDOR=Sun

2. CONFIG_JVM_ARGS=-Djava.security.egd=file:/dev/./urandom

当中 JAVA_VENDOR=Sun 从weblogic Server 12c(12.1.2)之后应该是不须要再设置了。而CONFIG_JVM_ARGS=-Djava.security.egd=file:/dev/./urandom是针对Linux环境的。可是在Ubuntu 都不起作用。真不知道,倒是Weblogic的问题。还是Ubuntu自身的问题。

在给出我的安装步骤之前,给各位再提供篇Oracle官方

cid=6396&ssid=115768206204486">关于Weblogic
12c ZIP的安装指导
。在Ubuntu下没指导意义。

以下我们步入正题。

准备工作

1.你须要为你的Ubuntu安装好JDK,并设置好环境变量。至于怎样去做,这里不再细说,不会的同学请自己谷歌或百度。

2、从Oralce官网下载最新的Weblogic 12c (当前文档编写时的最新版本号是Weblogic 12c(12.1.3))。

安装步骤

1、将下载的wls1213_dev.zip 解要到home下,名为wls12130。

unzip wls1213_dev.zip
mv wls12130 ~

2、安装

cd ~/wls12130
export MW_HOME=/home/zhaojh/wls12130/
export JAVA_OPTIONS="-Djava.security.egd=file:/dev/./urandom"
./configure.sh

输出

**************************************************
WebLogic Server 12g (12.1.3.0) Zip Configuration MW_HOME: /home/zhaojh/wls12130/
AVA_HOME: /home/zhaojh/jvm-7-oracle
************************************************** Please wait while 740 jars are unpacked ...
...Unpacking done 0 to goo goto go BUILD SUCCESSFUL
Total time: 0 seconds
CLASSPATH=......省略 PATH=.....省略 Your environment has been set.
Configuring WLS... BUILD SUCCESSFUL
Total time: 0 seconds Do you want to configure a new domain? [y/n]? n

注意上面输出信息最后那个 “Do you want to configure a new domain?

” 时选择n

3、配置一个新域

. $MW_HOME/wlserver/server/bin/setWLSEnv.sh
mkdir -p user_projects/domains/mydomain
cd user_projects/domains/mydomain
java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=256m weblogic.Server

输出内容

<Oct 27, 2014 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.>
<Oct 27, 2014 1:10:35 PM CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
<Oct 27, 2014 1:10:36 PM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 24.65-b04 from Oracle Corporation.> /home/zhaojh/wls12130/user_projects/domains/mydomain/config not found No config.xml was found.
Would you like the server to create a default configuration and boot? (y/n): <strong><span style="color:#ff0000;">y</span></strong>
<Oct 27, 2014 1:10:38 PM CST> <Info> <Management> <BEA-140013> </home/zhaojh/wls12130/user_projects/domains/mydomain/config not found>
<Oct 27, 2014 1:10:38 PM CST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:<password>
For confirmation, please re-enter password required to boot WebLogic server:<password>
<Oct 27, 2014 1:10:48 PM CST> <Info> <Management> <BEA-141254> <Generating new domain directory in /home/zhaojh/wls12130/user_projects/domains/mydomain.>
<Oct 27, 2014 1:10:57 PM CST> <Info> <Management> <BEA-141255> <Domain generation completed in 9,318 milliseconds.>
<Oct 27, 2014 1:10:57 PM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.3.0.0 Fri May 30 18:25:10 PDT 2014 1606070 >
<Oct 27, 2014 1:10:58 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<Oct 27, 2014 1:10:58 PM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<Oct 27, 2014 1:10:58 PM CST> <Info> <WorkManager> <BEA-002942> <CMM memory level becomes 0. Setting standby thread pool size to 256.>
<Oct 27, 2014 1:10:59 PM CST> <Notice> <Log Management> <BEA-170019> <The server log file /home/zhaojh/wls12130/user_projects/domains/mydomain/servers/myserver/logs/myserver.log is opened. All server side log events will be written to this file.>
<Oct 27, 2014 1:11:02 PM CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Oct 27, 2014 1:11:14 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
<Oct 27, 2014 1:11:14 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
Oct 27, 2014 1:11:15 PM weblogic.wsee.WseeCoreMessages logWseeServiceStarting
INFO: The Wsee Service is starting
<Oct 27, 2014 1:11:15 PM CST> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.>
<Oct 27, 2014 1:11:15 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
<Oct 27, 2014 1:11:15 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.>

当控制台上显示<Server state changed to RESUMING.>时。你就能够从浏览器中訪问 http://localhost:7001/console 了

总结

在Ubuntu Server下安装Weblogic 12c (12.1.3)时,除了依照安装说明(安装文件夹下README.txt中)做之外,还须要注意两点:

1、在開始安装前不要忘了在设置MW_HOME的同一时候设置 JAVA_OPTIONS="-Djava.security.egd=file:/dev/./urandom" 。

2、在运行./configure.sh 时,在显示“Do you want to configure a new domain?  [y/n]? ”当您选择 “n”。

版权声明:本文博客原创文章,博客,未经同意,不得转载。

Ubuntu Server 14.04 LTS(64bit)已安装 weblogic Server 12c(12.1.3) Zip Distribution的更多相关文章

  1. 在Ubuntu Trusty 14.04 (LTS) (64-bit)安装Docker

    Ubuntu Trusty带来的是3.13.0 Linux kernel ,需要准备所有ubuntu库的某些条件,docker安装包被称之为docker.io.(注:Ubuntu (和Debian)包 ...

  2. ubuntu server 14.04 LTS下搭建LAMP环境之最详细笔记之一U盘安装双系统

    前言: 一直在WIN上使用PHP,不喜欢用WAMP,每次都是手动在windows配置环境,偶尔有一次装了小红帽玩了两天,感觉不是很习惯就换了回来,过了没几天见讨论LAMP环境,于是安装了ubuntu的 ...

  3. Ubuntu 14.04 LTS 64bit 编译SDL的问题

    http://blog.csdn.net/jhting/article/details/38523945 Ubuntu 14.04 LTS 64bit 编译SDL的问题 分类: C/C++2014-0 ...

  4. 中国版 Ubuntu Kylin 14.04 LTS 麒麟操作系统中文版发布下载 (Ubuntu天朝定制版)

    中国版 Ubuntu Kylin 14.04 LTS 麒麟操作系统中文版发布下载 (Ubuntu天朝定制版) http://www.iplaysoft.com/ubuntukylin.html

  5. 如何将Ubuntu Server 12.04 升级到 Ubuntu Server 14.04 LTS

    升级Ubuntu 12.04到Ubuntu 14.04方法如下: 步骤一:在终端中运行下面的命令,它将安装所有的升级包.$ sudo apt-get update && sudo ap ...

  6. Ubuntu Server 16.04 LTS上怎样安装下载安装Nginx并启动

    场景 Linux-安装 Ubuntu Server 16.04 X64(图文教程详细版): https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/deta ...

  7. 在Ubuntu Server 14.04上源码安装Odoo 9.0

    1. 更新Ubuntu服务器软件源 sudo apt-get update #更新软件源 sudo apt-get dist-upgrade #更新软件包,自动查找依赖关系 sudo shutdown ...

  8. Ubuntu 14.04 LTS中怎样安装fcitx中文输入法

    轉載: http://jingyan.baidu.com/article/4b07be3c60da3f48b380f3f0.html 一,安装fcitx,这么好的软件,ubuntu软件中心肯定是找得到 ...

  9. Ubuntu Linux 14.04 LTS 上安装php7+mysql+nginx

    输入 $ sudo apt-get install -y language-pack-en-base$ sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:o ...

随机推荐

  1. yum使用总结(转)

    安装一个软件时yum -y install httpd安装多个相类似的软件时yum -y install httpd*安装多个非类似软件时yum -y install httpd php php-gd ...

  2. Lua相关的知识

    http://stackoverflow.com/questions/5438751/how-to-debug-lua-remotely http://cn.bing.com/search?q=org ...

  3. 说说nio2

    利不百不变法,功不十不易器 为什么会出现nio,之前的io有什么问题? 请先看 说说nio1 nio类图例如以下 watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZX ...

  4. 快速排序:升序+降序----java实现

    快速排序思路:先把第一个元素令为low下标,最后一个为high下标.并把第一个元素令为temp来作为标准元素.以标准元素来调整数组,使比标准元素小的都在标准元素前,比标准元素大的都在标准元素后.这样一 ...

  5. 深入解析_Android的自定义布局

    前言: 这篇文章是前Firefox Android工程师(现在跳槽去Facebook了) Lucas Rocha所写,文中对Android中常用的四种自定义布局方案进行了很好地分析,并结合这四种And ...

  6. 采用Java语言如何实现高速文件复制?

    今天review代码也看到了"大神"用老方法来实现文件拷贝.今天归结一下使用Java语言怎样实现高速文件复制: 代码1--使用文件通道的方式: import java.io.Fil ...

  7. web项目启动,运行方法

    1.显示器(Listener) web文件加入 <listener>      <listener-class>cn.ro.common.InitListener</li ...

  8. OCP-1Z0-051-题目解析-第14题

    14. Using the CUSTOMERS table,  you need to generate a report that shows 50% of each credit        a ...

  9. Apple Watch 2.0 数据通讯

    经常会碰到Watch app和WatchKit extension需要访问同一个文件.比如,使用一个自定义的字体,播放多媒体文件.有两种方法完成这个任务. 设计的时候,每个包放一份文件.它们分别访问自 ...

  10. Apache Commons Math3学习笔记(2) - 多项式曲线拟合(转)

    多项式曲线拟合:org.apache.commons.math3.fitting.PolynomialCurveFitter类. 用法示例代码: // ... 创建并初始化输入数据: double[] ...