linux系统安装weblogic笔记

weblogic一般有三种安装介质,(1).exe是用于windows上的;(2).bin是专门用于linux系统;(3).jar是通用的安装介质。

linux系统上安装weblogic一般有三种方式,

(1)是通过vnc连接linux电脑,使用linux系统桌面的命令行启动GUI(图形化界面)创建weblogic

  (2) 是通过putty,或是xshell等命令行工具,在命令行窗口上创建weblogic

  (3)是使用静默方式,即使用xml配置文件,使安装自动读取配置文件进行安装。一般这个配置名为silent.xml

一、通过vnc连接linux电脑,使用linux系统桌面的命令行启动GUI(图形化界面)创建weblogic

1.1到指定目录下执行 java -jar ***.jar .这个weblogic版本不一定如图所示。

linux系统安装weblogic笔记

1.2安装向导 直接next

linux系统安装weblogic笔记

1.3默认Oracle中间件安装路径(oracle Middleware home) 直接next

linux系统安装weblogic笔记

1.4注册安全升级 没有必要 不要勾选接收Oracle的技术支持就好了。

linux系统安装weblogic笔记

linux系统安装weblogic笔记

linux系统安装weblogic笔记

linux系统安装weblogic笔记

linux系统安装weblogic笔记

1.5选择安装类型,一般选定制custom.

linux系统安装weblogic笔记

1.6选择安装产品及元素.

linux系统安装weblogic笔记

1.7选择linux系统上已经安装配置的jdk 路径

linux系统安装weblogic笔记

1.8选择产品安装路径 第一次装默认路径就好了

linux系统安装weblogic笔记

1.9最后安装总结

linux系统安装weblogic笔记

1.9.1安装

linux系统安装weblogic笔记

1.9.2 图形化界面安装完成

linux系统安装weblogic笔记

linux系统安装weblogic笔记

2.1 通过命令行窗口上创建weblogic

linux系统安装weblogic笔记

2.1.1操作说明 输入Next

linux系统安装weblogic笔记

2.1.3选择创建中间件家路径

linux系统安装weblogic笔记

linux系统安装weblogic笔记

/home/oracle/Oracle/Middleware1多个1.

linux系统安装weblogic笔记

2.1.4下一步

linux系统安装weblogic笔记

2.1.5注册安全升级 3

linux系统安装weblogic笔记

2.1.6.1不用接受安全升级 No

linux系统安装weblogic笔记

2.1.6.2忽略安全管理配置初始化Yes

linux系统安装weblogic笔记

2.1.7选择安装类型 2

linux系统安装weblogic笔记

2.1.8选择服务例子 添加服务例子1.11

linux系统安装weblogic笔记

2.1.9jdk安装路径 2

linux系统安装weblogic笔记

没有问题可以直接安Enter键

linux系统安装weblogic笔记

linux系统安装weblogic笔记

命令行安装

linux系统安装weblogic笔记

安装完成

linux系统安装weblogic笔记

3.1使用xml文件自动安装weblogic

3.1.1配置文件如下

<?xml version="1.0" encoding="UTF-8"?>
   <bea-installer> 
     <input-fields>
       <data-value name="BEAHOME" value="/home/oracle/Oracle/Middleware_silent" />
       <data-value name="WLS_INSTALL_DIR" value="/home/oracle/Oracle/Middleware_silent/wlserver_10.3" />
       <data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins|WebLogic Server/UDDI and Xquery Support|WebLogic Server/Server Examples|Oracle Coherence/Coherence Product Files" />
   </input-fields> 
</bea-installer>

linux系统安装weblogic笔记

Component_paths路径最好只在一行。再将文件复制到到linux目录内vi创建的silent.xml配置文件上,在vi时要使用set nowrap命令使xml文件配置内容不换行 最后保存退出 wq. 

最后到指定目录下执行java -jar wls1036_generic.jar  -mode=silent  -silent_xml=silent.xml 

linux系统安装weblogic笔记