这里说的对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. 【PullToRefresh 系列基本用法】 Android装上拉下拉刷新控制具体的解释

    转载请注明:http://blog.csdn.net/duguang77/article/details/40921601 作者信息: Chris Banes大神详情:https://github.c ...

  2. ZOJ3827 ACM-ICPC 2014 亚洲区域赛的比赛现场牡丹江I称号 Information Entropy 水的问题

    Information Entropy Time Limit: 2 Seconds      Memory Limit: 131072 KB      Special Judge Informatio ...

  3. iis6开户gzip 网站属性里面没有服务选项卡

    请注意一点,是直接在名为“网站”的文件夹上面右键选择属性,不是去点下面建立的某一个网站.开户GZIP是整台服务器上面的虚拟主机都同时开启的,不对针某一个单独网站. 开启Gzip具体步骤: 1. 在 & ...

  4. Idea开发环境

    Idea开发环境中搭建Maven 1.配置Maven的环境变量 a.首先我们去maven官网下载Maven程序,解压到安装目录,如图所示: b.配置M2_HOME的环境变量,然后将该变量添加到Path ...

  5. Alamofire网络库进阶教程

    本章节由CocoaChina翻译组成员星夜暮晨(博客)翻译自raywenderlich:Intermediate Alamofire Tutorial,敬请勘误. 欢迎回到我们的 Alamofire ...

  6. Android多线程.断点续传下载

    多线程,可断点续传的demo!最早写于2010.7! /** * @brief  主界面      * @author lixp  */ public class HomeActivity exten ...

  7. Android ListView分页载入(服务端+android端)Demo

    Android ListView分页载入功能 在实际开发中经经常使用到,是每一个开发人员必须掌握的内容,本Demo给出了服务端+Android端的两者的代码,并成功通过了測试. 服务端使用MyEcli ...

  8. 单元测试React

    React单元测试——十八般兵器齐上阵,环境构建篇 一个完整.优秀的项目往往离不开单元测试的环节,就 github 上的主流前端项目而言,基本都有相应的单元测试模块. 就 React 的项目来说,一套 ...

  9. 【高德地图API】从头德国高中生JS API(三)覆盖物——大喊|折线|多边形|信息表|聚合marker|点蚀图|照片覆盖

    覆盖物,是一张地图的灵魂.有覆盖物的地图.才是完整的地图.在一张地图上,除了底层的底图(瓦片图,矢量图),控件(有功能可操作的工具).最重要最必不可少的就是覆盖物了.覆盖物有多种.包含.标注.折线.多 ...

  10. SQL Server 2008 R2 性能计数器详细列表(五)

    原文:SQL Server 2008 R2 性能计数器详细列表(五) SQL Server:SQL Statistics 对象: 监视编译和发送到 SQL Server 实例的请求类型 SQL Ser ...