weblogic安装教程

1.下载jdk和weblogic安装介质

一般的搭配是jdk1.5+weblogic92、jdk1.6+weblogic11g(weblogic10.3.6)

jdk历史版本下载链接:http://www.oracle.com/technetwork/java/javase/archive-139210.html

jdk安装详见http://www.cnblogs.com/lsdb/p/6511907.html

weblogic下载链接:http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html

2.创建文件系统和用户

对于正式的安装一般需要创建专门的用户和文件系统来安装weblogic

mkdir /weblogic                               #创建文件系统的挂载目录
lsblk                                         #查看存在的磁盘
fdisk /dev/sdb                                #假设未用磁盘是sdb,具体视lsblk结果而定,在其中新建物理卷sdb1
pvcreate /dev/sdb1                            #对物理卷sdb1进行初始化,为创建卷组做准备
vgcreate appvg /dev/sdb1                      #appvg是要创建的vg名,如果要sbd1外还要加入其他物理卷则在sdb1后空格再接着写即可
lvcreate -L 50G -n weblogic appvg             #50G为要建的逻辑卷大小,weblogic为要建的逻辑卷卷名,appvg为刚建的卷组名
mkfs.ext4 /dev/mapper/appvg-weblogic          #对新建的逻辑卷进行格式化
mount /dev/mapper/appvg-weblogic /weblogic    #将逻辑卷挂载
echo "/dev/mapper/appvg-weblogic	/weblogic	ext4		defaults	0 0" >> /etc/fstab #将挂载信息写入挂载文件避免每次系统重启都得手动挂载

useradd -U -d /weblogic weblogic              #创建weblogic系统用户
echo "weblogic" | passwd --stdin weblogic     #修改weblogic用户密码
cp /etc/skel/.bash* /weblogic                 #将基本的.bash复制到家目录chown -R weblogic:weblogic /weblogic          #将家目录下文件全赋给weblogic

3.安装weblogic

/opt/java6_64/bin/java -jar wls1036_generic.jar            #执行安装命令
Unable to instantiate GUI, defaulting to console mode.
Extracting 0%....................................................................................................100%

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Welcome:
--------

This installer will guide you through the installation of WebLogic 10.3.6.0.
Type "Next" or enter to proceed to the next prompt.  If you want to change data entered previously, type "Previous".  You may quit the installer at any time by typing "Exit".
Enter [Exit][Next]> 

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Middleware Home Directory:
---------------------------------

    "Middleware Home" = [Enter new value or use default
"/home/ls/Oracle/Middleware"]

Enter new Middleware Home OR [Exit][Previous][Next]> /weblogic      #输入设定的weblogic安装目录

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Middleware Home Directory:
---------------------------------

    "Middleware Home" = [/weblogic]

Use above value or select another option:
    1 - Enter new Middleware Home
    2 - Change to default [/home/ls/Oracle/Middleware]
Enter option number to select OR [Exit][Previous][Next]>            #回车确认更改

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[Yes]

Enter index number to select OR [Exit][Previous][Next]> 3          #输入3设定更新

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "Receive Security Update:" = [Enter new value or use default "Yes"]

Enter [Yes][No]? No                                                #输入No取消更新

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "Receive Security Update:" = [Enter new value or use default "Yes"]

    ** Do you wish to bypass initiation of the configuration manager and
    **  remain uninformed of critical security issues in your configuration?

Enter [Yes][No]? Yes                                              #输入Yes确定取消更新

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[No]
Enter index number to select OR [Exit][Previous][Next]>           #回车进入下一步

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[No]

Enter index number to select OR [Exit][Previous][Next]>           #回车进入下一步

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Install Type:
--------------------

Select the type of installation you wish to perform. 

 ->1|Typical
    |  Install the following product(s) and component(s):
    | - WebLogic Server
    | - Oracle Coherence

   2|Custom
    |  Choose software products and components to install and perform optional
    |configuration.

Enter index number to select OR [Exit][Previous][Next]> 2          #输入2选择自定义安装

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Products and Components:
-------------------------------

    Release 10.3.6.0
    |_____WebLogic Server [1] x
    |    |_____Core Application Server [1.1] x
    |    |_____Administration Console [1.2] x
    |    |_____Configuration Wizard and Upgrade Framework [1.3] x
    |    |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
    |    |_____WebLogic SCA [1.5] x
    |    |_____WebLogic JDBC Drivers [1.6] x
    |    |_____Third Party JDBC Drivers [1.7] x
    |    |_____WebLogic Server Clients [1.8] x
    |    |_____WebLogic Web Server Plugins [1.9] x
    |    |_____UDDI and Xquery Support [1.10] x
    |    |_____Server Examples [1.11]
    |    |_____Evaluation Database [1.12] x
    |_____Oracle Coherence [2] x
         |_____Coherence Product Files [2.1] x
         |_____Coherence Examples [2.2] 

    *Estimated size of installation: 690.2 MB

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 1.10     #输入1.10取消UDDI的安装,该组件存在服务端跨站请求漏洞

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Products and Components:
-------------------------------

    Release 10.3.6.0
    |_____WebLogic Server [1] x
    |    |_____Core Application Server [1.1] x
    |    |_____Administration Console [1.2] x
    |    |_____Configuration Wizard and Upgrade Framework [1.3] x
    |    |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
    |    |_____WebLogic SCA [1.5] x
    |    |_____WebLogic JDBC Drivers [1.6] x
    |    |_____Third Party JDBC Drivers [1.7] x
    |    |_____WebLogic Server Clients [1.8] x
    |    |_____WebLogic Web Server Plugins [1.9] x
    |    |_____UDDI and Xquery Support [1.10]
    |    |_____Server Examples [1.11]
    |    |_____Evaluation Database [1.12] x
    |_____Oracle Coherence [2] x
         |_____Coherence Product Files [2.1] x
         |_____Coherence Examples [2.2] 

    *Estimated size of installation: 682.0 MB
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>        #回车确认

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

JDK Selection (Any * indicates Oracle Supplied VM):
---------------------------------------------------

JDK(s) chosen will be installed.  Defaults will be used in script string-substitution if installed.

   1|Add Local Jdk
   2|/opt/jdk1.6.0_105[x]

   *Estimated size of installation:  682.0 MB

Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]>                               #回车确认jdk

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->                       

Choose Product Installation Directories:
----------------------------------------

Middleware Home Directory: [/weblogic]

Product Installation Directories:

   1|WebLogic Server: [/weblogic/wlserver_10.3]
   2|Oracle Coherence: [/weblogic/coherence_3.7]
Enter index number to select OR [Exit][Previous][Next]>                                               #回车

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

The following Products and JDKs will be installed:
--------------------------------------------------

    WebLogic Platform 10.3.6.0
    |_____WebLogic Server
    |    |_____Core Application Server
    |    |_____Administration Console
    |    |_____Configuration Wizard and Upgrade Framework
    |    |_____Web 2.0 HTTP Pub-Sub Server
    |    |_____WebLogic SCA
    |    |_____WebLogic JDBC Drivers
    |    |_____Third Party JDBC Drivers
    |    |_____WebLogic Server Clients
    |    |_____WebLogic Web Server Plugins
    |    |_____Evaluation Database
    |_____Oracle Coherence
         |_____Coherence Product Files

    *Estimated size of installation: 682.2 MB

Enter [Exit][Previous][Next]>                                                                          #回车确认安装
Apr 11, 2017 10:17:43 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Installing files..

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]

Performing String Substitutions... 

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Configuring OCM...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]

Creating Domains...

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Installation Complete

Congratulations! Installation is complete.

Press [Enter] to continue or type [Exit]>                                                             #回车完成

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Clean up process in progress ...
[[email protected] ~]$

至此weblogic安装已算完成,创域参见“weblogic创建domain教程”。

时间: 2024-10-22 06:32:23

weblogic安装教程的相关文章

window下weblogic安装教程

1. 文档说明 此文档主要描述 weblogic10.3 在 window 操作系统下的安装过程. 文档可用于员工自有机器及客户现场测试环境的安装指导,客户现场正式环境的安装.配置参考2. 程序安装复制 weblogic 安装程序至服务器备份目录,如, E:\backup_install,然后按如下过程安装 1)运行安装程序,本次安装版本为weblogic11g(10.32)版本 2)打开程序的安装界面,点击"next" 3)打开程序的安装界面,点击"next" 4

WebLogic Server安装教程

本教程:安装WebLogic server:配置域(Domain):进入WebLogic Server管理控制台 --步骤必须完整 一,安装WebLogic Server 1,双击exe安装文件 2,准备安装文件 3,生成向导序列 4,选择安装路径 5,开始安装 经过以上步骤,安装完成. 二,配置域(Domain) 1,从所有程序中搜索"Configuration Wizard",双击打开 2,创建域,并选择域的位置 3,选择产品模板 4,设置管理控制页面登录的用户名和密码(设置后,自

weblogic安装(无界面静默安装)

一.环境准备 1. 用户准备 Generic通用版weblogic不能用ROOT用户安装,如无其他用户需先创建用户,创建用户步骤此处略过 2. 下载weblogic 在官网下载weblogic,将下载好的jar包上传到linux服务器上 3. JDK环境 如果原来已配置好JDK环境可跳过该步骤 步骤 编辑器打开.bash_profile文件 vi ~/.bash_profile 填写jdk相关环境变量 export JAVA_HOME=/usr/local/jdk1.7.0_80 export

mac苹果电脑上Mathtype软件的安装教程

对于数学学习来将,Mathtype是一款非常不错的工具,在这里您可以方便快捷的计算出公式的结果,只需要将方程式填写进去就能出来结果.小编为大家准备了Mathtype安装教程,安装的过程是非常简单的,安装好了之后会让您的工作变得更加轻松,还能提升工作的效率哦! Mathtype安装教程介绍:第一步:打开下载的Mathtype文件 第二步:点击左边的安装文件,会得到提示,下图所示: 第三步:选择好,然后会在弹出提示窗口,点击继续,如下图所示: 第四步:因为暂时只有英文版的,所以选择英文版,点击继续安

Android Studio的下载和安装教程(从ADT到AS)

之前一直使用的是Android development tools(简称ADT),后来说是google对ADT不再提供支持,然后一直在考虑是否把自己电脑换成Android Studio(简称AS),从ADT到AS这个过程自己觉得软件安装真的伤不起,端午节第二天和第三天(也是今天),终于完成了从ADT到AS的转 变,OK,我还有很多要学习的地方. 下面我来介绍一下ADT的转变成AS: 1.第一次安装完之后模拟器根本启动不了(就算你刚新建的模拟器,他还是不能在启动APP时候没有可用的模拟器),而且用

MYCNCART 自适应主题模板 MCCThemes-001 安装教程

附件里介绍了 MYCNCART 自适应主题模板 MCCThemes-001 通过FTP进行安装及配置的具体步骤,欢迎各位友人下载使用. 安装教程下载地址 http://pan.baidu.com/s/1gd1xfJ9

Linux环境安装教程——Centos6.6安装Selenium

本人特别喜欢在Centos下搭建环境.目前,主要负责公司的产品测试.所以,需要研究一下Selenium自动化测试如何在Centos上搭建.当然了,Selenium也可以安装在Windows,这方面的教程网上比较多就不说了.但是基于Linux特别是基于Centos的文章比较少,网上有一些安装教程都是基于Ubuntu的,而且python版本.selenium版本都比较老的. 我这次安装的都是最新版本的 先看一下本人虚拟机的系统版本 cat /etc/issue 如图:(本人的虚拟机是最小化安装的)

Windows环境下Android Studio v1.0安装教程

Windows环境下Android Studio v1.0安装教程 Windows环境下Android Studio v1.0安装教程 准备工具 JDK安装包. 要求:JDK 7以及以上版本. Android Studio安装文件. Windows: exe(包含SDK) (813 MB) exe(不包含SDK) (250 MB) zip (235 MB) Mac dmg (234 MB) zip (233 MB) Linux: zip (233 MB) 说明: 32位系统和64位系统是同一个安

hadoop安装教程

hadoop的核心 Hadoop的核心就是HDFS和MapReduce,而两者只是理论基础,不是具体可使用的高级应用,Hadoop旗下有很多经典子项目,比如HBase.Hive等,这些都是基于HDFS和MapReduce发展出来的.要想了解Hadoop,就必须知道HDFS和MapReduce是什么. HDFS HDFS(Hadoop Distributed File System,Hadoop分布式文件系统),它是一个高度容错性的系统,适合部署在廉价的机器上.HDFS能提供高吞吐量的数据访问,适