CentOS 安装Weblogic并配置 domain

CentOS 安装Weblogic并配置 domain

1、创建用户组
[root@localhost weblogic]# groupadd weblogic 
2、创建 tmn 用户
[root@localhost weblogic]# adduser tmn
3、设置 tmn 用户密码
> [root@localhost weblogic]# passwd tmn

Changing password for user tmn.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
[root@localhost weblogic]#

4、切换至 tmn 用户
[root@localhost opt]# su - tmn

[tmn@localhost ~]$

5、进入 wls1036_generic.jar 安装包目录
[tmn@localhost ~]$ cd /opt/weblogic/

[tmn@localhost weblogic]$ ll
total 1043464
-rwxrwxrwx 1 root root 1068506707 Dec 13 10:45 wls1036_generic.jar
[tmn@localhost weblogic]$ pwd
/opt/weblogic
[tmn@localhost weblogic]$

6、检查 java 环境
[tmn@localhost weblogic]$ java -version

java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

7、安装 weblogic
[tmn@localhost weblogic]$ java -jar wls1036_generic.jar 

1099493-20171229152537038-1369706854.png

Enter [Exit][Next]> Next 

1099493-20171229152747476-1539251610.png

Enter new Middleware Home OR [Exit][Previous][Next]> Next  

1099493-20171229152821304-900278617.png

Enter index number to select OR [Exit][Previous][Next]> 3

1099493-20171229152853710-299790917.png

Enter [Yes][No]? No  

1099493-20171229152926179-1948911308.png

Enter [Yes][No]? Yes   

1099493-20171229152949695-257114769.png

Enter index number to select OR [Exit][Previous][Next]> Next 

1099493-20171229153012960-518269031.png

Enter index number to select OR [Exit][Previous][Next]> Next   

1099493-20171229153025726-1526734282.png

Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]> Next 

1099493-20171229153040679-1386800705.png

Enter index number to select OR [Exit][Previous][Next]> Next

1099493-20171229153102585-1775291876.png

Enter [Exit][Previous][Next]> Next

1099493-20171229153116476-1035604128.png

Press [Enter] to continue or type [Exit]> 

1099493-20171229153141523-443462904.png
1099493-20171229153157382-680996152.png

8、进入 weblogic 配置脚本目录,准备执行 config.sh 脚本
[tmn@localhost bin]$ cd /home/tmn/Oracle/Middleware/wlserver_10.3/common/bin

[tmn@localhost bin]$
[tmn@localhost bin]$ ll
total 112
-rwxr-x--- 1 tmn tmn 22801 Dec 29 11:30 commEnv.sh
-rwxr-x--- 1 tmn tmn 2124 Dec 29 11:30 config_builder.sh
-rwxr-x--- 1 tmn tmn 2276 Dec 29 11:30 config.sh
-rwxr-x--- 1 tmn tmn 2581 Dec 29 11:30 pack.sh
-rwxr-x--- 1 tmn tmn 2150 Dec 29 11:30 setPatchEnv.sh
-rwxr-x--- 1 tmn tmn 4084 Dec 29 11:30 startDerby.sh
-rwxr-x--- 1 tmn tmn 4090 Dec 29 11:30 startManagedWebLogic.sh
-rwxr-x--- 1 tmn tmn 1450 Dec 29 11:30 stopDerby.sh
-rwxr-x--- 1 tmn tmn 2089 Dec 29 11:30 unpack.sh
-rwxr-x--- 1 tmn tmn 3300 Dec 29 11:30 upgrade.sh
-rwxr-x--- 1 tmn tmn 31219 Dec 29 11:29 wlscontrol.sh
-rwxr-x--- 1 tmn tmn 13740 Dec 29 11:29 wlsifconfig.sh
-rwxr-x--- 1 tmn tmn 786 Dec 29 11:30 wlst.sh

9、执行 config.sh 配置脚本,创建 domain
[tmn@localhost bin]$ ./config.sh

1099493-20171229155224898-2091285333.png

Enter index number to select OR [Exit][Next]> Next 

1099493-20171229155312554-864900705.png

Enter index number to select OR [Exit][Previous][Next]> Next 

1099493-20171229155533976-498358034.png

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> Next 

1099493-20171229155725320-556859450.png

Enter value for "Name" OR [Exit][Previous][Next]> Next    

1099493-20171229155809179-1243205894.png

Enter new Target Location OR [Exit][Previous][Next]> Next 

1099493-20171229155852585-1879517708.png

Enter option number to select OR [Exit][Previous][Next]> 2

1099493-20171229160643101-1259277562.png

Enter new *User password: OR [Exit][Reset][Accept]> tjyd@123 

1099493-20171229160804992-1319594057.png

Enter option number to select OR [Exit][Previous][Next]> 3

1099493-20171229160935867-1311308619.png

Enter new *Confirm user password: OR [Exit][Reset][Accept]> tjyd@123

1099493-20171229160947288-1626091593.png

Enter option number to select OR [Exit][Previous][Next]> Next

1099493-20171229161158507-1241952528.png

Enter index number to select OR [Exit][Previous][Next]> Next

1099493-20171229161459492-1750432847.png

Enter index number to select OR [Exit][Previous][Next]> Next

1099493-20171229161541382-1688449192.png

Enter index number to select OR [Exit][Previous][Next]> 1

1099493-20171229161813382-1172467233.png

Enter index number to select OR [Exit][Previous][Next]> Next

1099493-20171229161826429-1871113200.png

Enter option number to select OR [Exit][Previous][Next]> Next

1099493-20171229161831445-2009017006.png

10、启动 domain,验证是否安装成功

进入创建的 domain 目录

[tmn@localhost ~]$ cd /home/tmn/Oracle/Middleware/user_projects/domains/base_domain/bin

启动 domain

[tmn@localhost ~]$ nohup ./startWebLogic.sh &

登录网址 http://192.168.116.129:7001/console/login/LoginForm.jsp 验证

1099493-20180103155228128-824407140.png

转载于:https://www.cnblogs.com/anzerong2012/p/8144755.html

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值