这里说的对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. Apache+Tomcat部署负载均衡(或集群)

    本来只打算写Tomcat集群部署,简化Apache和Tomcat整合过程的.后来想了想,这样不便于没有用过Apache的朋友来学习本文内容.于是干脆加大篇幅,让对Apache不了解的朋友能对Apach ...

  2. BackGroundWorker使用总结

    方法: backgroundWorker1.CancelAsync() 用于取消异步执行 backgroundWorker1.ReportProgress(int ,object)用于向主线层报告进度 ...

  3. java中用正則表達式推断中文字符串中是否含有英文或者数字

    public static boolean includingNUM(String str)throws  Exception{ Pattern p  = Pattern.compile(" ...

  4. 全新E:网站不是之前排名浮动 相比于竞争对手究竟缺少了什么?

    这几天有非常多朋友问新辰,为什么站点排名掉了?为什么被人家逆袭反超了?当然,这无疑与你站点的内容.外链和用户体验有非常大关系,只是.新辰在此觉得,还须要多研究一下竞争对手的站点,做到:人无我有.人有我 ...

  5. HTC M7日文版HTL22刷机包 毒蛇2.5.0 ART NFC Sense6.0

    ROM介绍 日文版的蝰蛇2.5.0简短的介绍: *根据最新的M8蝰蛇版本号2.5.0 *经过我的朋友和机器测试.功能是否正常,当然,并非所有的功能进行测试,以,假设遇到BUG请反馈 *删除国外社会.谷 ...

  6. 【C语言探索之旅】 第二部分第八课:动态分配

    内容简介 1.课程大纲 2.第二部分第八课: 动态分配 3.第二部分第九课预告: 实战“悬挂小人”游戏 课程大纲 我们的课程分为四大部分,每一个部分结束后都会有练习题,并会公布答案.还会带大家用C语言 ...

  7. webclient下载文件 带进度条

    private void button1_Click(object sender, EventArgs e) { doDownload(textBox1.Text.Trim()); } private ...

  8. WdatePicker日期不能弹出框

    发育.在引用WdatePicker当日历控件,正确的路径.日历控件封装完整,在正常情况下的代码,调试正常,但公告日期后不能弹出框,最终核实后想办法找到一个解决方案: 更改方法:于WdatePicker ...

  9. HDD-FAT32 ZIP-FAT32

    在使用U当家U盘启动盘制作工具的时候会看到一个模式的选项,模式分为HDD-FAT32和ZIP-FAT32两个常用的模式,其它的模式几乎用不到的.那么HDD-FAT32和ZIP-FAT32模式到底有什么 ...

  10. 容易centos配置docker维修

    首先.由于docker实施需要linux某些组件支持本身和内核特性.所以一定要确保centos版本号大于6,和内核版本号大于2.6.32-431.可轻松升级centos6到最新的版本号. sudo y ...