weblogic silent mode安装
来源:互联网 发布:u9数据字典怎么用 编辑:程序博客网 时间:2024/06/07 20:03
一直习惯呢界面安装,一下子没界面了,网上资料都是缺斤少两的,让我吃了不少苦,现在整理下,方便大家
1,下载安装包
直接到oracle官网下载安装包,通用版的 fmw_12.2.1.2.0_wls.jar
2,创建weblogic用户(建议最好创建,不创建也行)
$:useradd weblogic
$:echo 密码 | passwd --stdin weblogic
$:chmod weblogic:weblogic fmw_12.2.1.2.0_wls.jar
3,上传包,配置jdk环境(这个我就不想废话了,跟平常配置是一样的道理)
$: cd /home/weblogic
4, 创建 oralnst.loc wls.rsp 文件
$:vim oralnst.loc
inventory_loc=/home/weblogic/oralnventory
inst_group=weblogic
$:vim wls.rsp
[ENGINE]
Response File Version=1.0.0.0.0
[GENERIC]
ORACLE_HOME=/home/weblogic/Oracle/Middleware
INSTALL_TYPE=WebLogic Server
DECLINE_SECURITY_UPDATES=true
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
注意:你要安装的路径跟我的不一样请在编辑文件内容时不要对我的照搬照抄
5,执行安装(文件路径一定慎重)
$:java -jar fmw_12.2.1.2.0_wls.jar -silent -responseFile /home/weblogic/wls.rsp -invPtrLoc /home/weblogic/oralnst.loc
这个过程会有点慢,直到看到进度为100%并且跳回到命令行即可
6,创建域目录
$:mkdir -p /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/
7,创建域配置文件(具体参数根据你的机子填写)
$:vim create_domain.resp
read template from "/home/weblogic/Oracle/Middleware/wlserver/common/templates/wls/wls.jar";
set JavaHome "/usr/local/jdk1.8.0_121";
set ServerStartMode "dev";
find Server "AdminServer" as AdminServer;
set AdminServer.ListenAddress "";
set AdminServer.ListenPort "7001";
set AdminServer.SSL.Enabled "true";
set AdminServer.SSL.ListenPort "7002";
//We can directly create a new managed server.
create Server "base" as BASE;
set BASE.ListenAddress "";
set BASE.ListenPort "8003";
//set BASE.SSL.Enabled "true";
//set BASE.SSL.ListenPort "8004″;
//Create Machine
create Machine "base" as Machinename;
//use templates default weblogic user
find User "weblogic" as u1;
set u1.password "weblogic123";
write domain to "/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/";
// The domain name will be "demo-domain"
close template;
8,设置环境变量
Cd /home/weblogic/Oracle/Middleware/wlserver/server/bin/ && ./setWLSEnv.sh
9,创建域
$:cd /home/weblogic/Oracle/Middleware/wlserver/common/bin
$:./config.sh -mode=silent -silent_script=/home/weblogic/create_domain.resp -logfile=/home/weblogic/create_domain.log
9,启动关闭脚本都在此目录
$:cd /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/bin/
- weblogic silent mode安装
- 阿里云CentOS7 Silent Mode安装Oracle11GR2
- PAgP Silent/Non-silent Mode
- 远程linux系统服务器静默(-mode silent)安装matlab2014b
- Running Installations in Silent Mode
- Oracle Silent Installations(静默安装)
- Oracle Silent Installations(静默安装)
- oracle 10G silent安装
- Oracle Silent Install 静默安装
- Oracle Silent Installations(静默安装)
- Oracle Silent Installations(静默安装)
- MSI实现SILENT安装自动化
- 静默(silent)安装Oracle错误
- linux silent模式安装 WebLoigc
- Create a new Database Instance (in SILENT mode)
- DBCA in Silent mode with ASM [ID 744237.1]
- Linux 静默(Silent) 安装Oracle 10g
- How to create an OCM Response file to apply patch in silent mode - opatch silent (Doc ID 966023.1)
- sklearn.preprocessing.LabelEncoder和onehotencoder
- line-height的继承问题
- c语言函数指针的理解与使用
- 第2周项目3——汉诺塔程序
- 动态更换plist资源时调用清空缓存的函数
- weblogic silent mode安装
- toolBar 菜单栏不显示图标的问题
- day2基础
- 51Nod-1089 最长回文子串 V2(Manacher算法)
- linux之printk和printf的区别
- Mac环境安装imagemagick及使用imagemagick拼接图片
- kmp算法及改进
- Mongoose Warning `open()` is deprecated, `openUri()` instead
- 上传jar文件到AIX系统乱码问题解决