linux系统静默卸载weblogic,linux系统静默安装weblogic12c

66b52468c121889b900d4956032f1009.png

8种机械键盘轴体对比

本人程序员,要买一个写代码的键盘,请问红轴和茶轴怎么选?

(1) 此次安装的weblogic12c,版本号为12.1.3.0.0;jdk需要1.7或者以上。此次安装的版本是 jdk1.7.0_80,并配置好环境变量。

安装包分别为:jdk-7u80-linux-x64.gz、fmw_12.1.3.0.0_wls.jar(2) 新建用户

weblogic不能在root用户下安装,需要新建一个用户weblogic,用户组为web,用户名/密码 weblogic/weblogic1

2

3

4

5

6groupadd web

#添加用户,并用-g参数来制定 web用户组

useradd -g web weblogic

#设置密码

passwd weblogic

(3) 编写oraInst.loc文件1

2inventory_loc=/home/weblogic/oraInventory1

inst_group=web(4) 编写wls.rsp文件1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26[ENGINE]

#DO NOT CHANGE THIS.

Response File Version=1.0.0.0.0

[GENERIC]

#weblogic

ORACLE_HOME=/home/weblogic/Oracle/Middleware

#Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.

INSTALL_TYPE=WebLogic Server

#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.

MYORACLESUPPORT_USERNAME=

#Provide the My Oracle Support Password

MYORACLESUPPORT_PASSWORD=

#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration

DECLINE_SECURITY_UPDATES=true

#Set this to true if My Oracle Support Password is specified

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

#Provide the Proxy Host

PROXY_HOST=

#Provide the Proxy Port

PROXY_PORT=

#Provide the Proxy Username

PROXY_USER=

#Provide the Proxy Password

PROXY_PWD=

#Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]

COLLECTOR_SUPPORTHUB_URL=(5) 安装

执行命令1java -jar fmw_12.1.3.0.0_wls.jar -silent -response /home/weblogic/install/wls.rsp -invPtrLoc /home/weblogic/install/oraInst.loc

134caaeb13762414a294f6eca37067a7.png

说明安装成功(6) 解决创建域慢和进入weblogic控制台慢的问题1

2

3vi /usr/local/jdk/jdk1.7.0_80/jre/lib/security/java.security

#添加

securerandom.source=file:/dev/./urandom(7) 创建域

创建参数文件create_domain.rsp,存放在/home/weblogic/install/ 路径下1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23read template from "/home/weblogic/Oracle/Middleware/wlserver/common/templates/wls/wls.jar";

set JavaHome "/usr/local/jdk/jdk1.7.0_80";

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";

create Server "base" as BASE;

set BASE.ListenAddress "";

set BASE.ListenPort "7003";

create Machine "base" as Machinename;

find User "weblogic" as u1;

set u1.password "weblogic123";

create User "weblogic2" as u2;

set u2.password "weblogic123";

write domain to "/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/";

close template;

切换到/home/weblogic/Oracle/Middleware/wlserver/common/bin目录,执行命令1./config.sh -mode=silent -silent_script=/home/weblogic/install/create_domain.rsp -logfile=/home/weblogic/install/create_domain.log

该命令执行时间较长,耐心等待(8) 启动1

2cd /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/bin

./startWebLogic.sh(9) 访问

在浏览器输入http://ip:7001/console

199857419d5f3069c27719daa144cbc6.png

到此安装成功,使用weblogic/weblogic123登录即可

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值