Centos7下安装weblogic 12.2.1.3.0的过程

说明:

Weblogic12c安装包:fmw_12.2.1.3.0_wls_quick.jar

JDK:jdk1.8.0_172

部署服务器:172.16.4.120

系统版本:CentOS Linux release 7.4.1708 (Core)

创建用户

1、创建weblogic用户组

#groupadd weblogic

2、创建weblogic用户

#useradd -g weblogic weblogic

3、修改weblogic用户密码

#passwd weblogic   ---techops2020

4、切换用户到weblogic

# su – weblogic

普通用户提权root

注意创建用户之后:保险起见还是通过新的weblogic用户去登录然后执行如下步骤!

安装前准备 – 安装JDK

准备JDK1.8: java 1.8 linux 64位版本 (/etc/profile)

验证Java 安装

安装前准备 – 创建必要的用户和组.

1. 创建weblogic组

[root@yxbj ~]# groupadd weblogic

2. 创建weblogic用户

[root@yxbj ~]# useradd -g weblogic weblogic

3. 为用户创建密码

[root@yxbj ~]# passwd weblogic

4. 切换到weblogic用户

[root@yxbj weblogic]# su - weblogic

安装前准备 – 安装weblogic

5.准备weblogic安装包

6. 拷贝weblogic安装包、JDK到/home/weblogic下

修改文件的权限

[root@yxbj ~]# chown -R weblogic:weblogic /home/weblogic/

7. 在/home/weblogic目录下文件wsl.rsp

[ENGINE]

#DO NOT CHANGE THIS.

Response File Version=1.0.0.0.0

[GENERIC]

#The oracle home location. This can be an existing Oracle Home or a new Oracle Home

ORACLE_HOME=/home/weblogic/oracle

#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=

8. 在/home/weblogic目录下文件oraInst.loc

inventory_loc=/home/weblogic/oraInventory

inst_group=weblogic

9. 执行安装操作 (此步骤要使用weblogic账号启动  su - weblogic)

[weblogic@yxbj ~]$ java -jar fmw_12.2.1.3.0_wls_quick.jar -silent -responseFile /home/weblogic/wsl.rsp -invPtrLoc  /home/weblogic/oraInst.loc

10. 安装存放的路径为:cd /home/weblogic

11. 新建域的目录

[weblogic@yxbj ~]$ mkdir -p /home/weblogic/wls12213/user_projects/domains/base_domain/

12. 在home/weblogic创建域脚本create_domain.rsp

read template from "/home/weblogic/wls12213/wlserver/common/templates/wls/wls.jar";

set JavaHome "/usr/java/jdk1.8.0_11";

set ServerStartMode "prod";

find Server "AdminServer" as AdminServer;

set AdminServer.ListenAddress "";

set AdminServer.ListenPort "7001";

set AdminServer.SSL.Enabled "true";

set AdminServer.SSL.ListenPort "7002";

//Create Machine

//create Machine "base" as Machinename;

//use templates default weblogic user

find User "weblogic" as u1;

set u1.password "weblogic";

write domain to "/home/weblogic/wls12213/user_projects/domains/base_domain/";

// The domain name will be "demo-domain"

close template;

13. 切换到/home/weblogic/wls12213/wlserver/common/bin目录下

[weblogic@yxbj bin]$ cd /home/weblogic/wls12213/wlserver/common/bin

14. 执行创建域脚本

[weblogic@yxbj bin]$ ./config.sh -mode=silent -silent_script=/home/weblogic/create_domain.rsp -logfile=/home/weblogic/create_domain.log

15. 切换到安全目录下新装控制台用户名和密码

[root@yxbj security]#

cd /home/weblogic/wls12213/user_projects/domains/base_domain/servers/AdminServer/

如果没有/servers/AdminServer/目录, 可以自动创建 mkdir -p /servers/AdminServer/

[root@yxbj AdminServer]# mkdir security

[root@yxbj AdminServer]# cd security/

[root@yxbj security]# vi boot.properties

username=weblogic

password= weblogic

16. 切换到域目录

[weblogic@yxbj bin]$ cd /home/weblogic/wls12213/user_projects/domains/base_domain/

17. 启动脚本,进入控制台

[weblogic@yxbj base_domain]$  nohup ./startWebLogic.sh >out.log 2>&1 &

18. 验证端口 netstat –nltp |grep 7001

18. 在浏览器输入URL地址  http://172.16.4.120:7001/console/,输入在boot.properties文件中配置用户名和密码接口

启动关闭weblogic

进入目录:

#cd /home/weblogic/weblogic12c/oracle/user_projects/domains/base_domain/bin

启动(这个方式启动,关闭终端窗口weblogic也会关闭):

#./startWebLogic.sh

关闭:

#./stopWebLogic.sh

以后台方式启动(关闭终端窗口weblogic不会关闭):

# nohup ./startWebLogic.sh &

查看日志:

#tail -f /home/weblogic/weblogic12c/oracle/user_projects/domains/base_domain/servers/AdminServer /logs/AdminServer.log

放行7001端口:

#firewall-cmd --zone=public --add-port=7001/tcp --permanent

访问管理台:http://192.168.0.10:7001/console

网络笨猪

发布了25 篇原创文章 · 获赞 23 · 访问量 3万+

私信

关注

标签:domain,1.3,AdminServer,12.2,weblogic,home,root,yxbj

来源: https://blog.csdn.net/lyfqyr/article/details/104434555

linux环境下安装weblogic,在Linux下安装weblogic 12.2.1.3.0的过程相关推荐

  1. Linux环境搭建:软件包的几种安装方式,环境变量的设置,防火墙,PHPWIND

    目录 1. Linux安装软件包 1.1 RPM安装 1.2 源码包安装 1.3 绿色安装 2. Linux环境变量 2.1 系统环境变量 2.2 用户环境变量 2.3 临时环境变量 3. Linux ...

  2. linux环境c语言课程设计,linux环境下c语言编程课程设计

    linux环境下c语言编程课程设计 (14页) 本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找使用更方便哦! 19.90 积分 1/14LINUX操作系统教程课程设计题目算术 ...

  3. linux环境变量重复设置,请叫下环境变量重复设置的问题

    把下面的脚本保存在一个shell里面,运行一次没有问题,但是运行两次的话,$DSAGENT_HOME/bin会加上两次,因为第二次path里面已经有了$DSAGENT_HOME/bin,再加上前面一次 ...

  4. linux环境用tar报错,Linux环境使用TAR命令快速部署安装Oracle

    Linux环境使用tar命令可以实现快速部署和安装Oracle的目的,当然,前提是您手中已经有了一份被您精心调优后的数据库tar包,此后,您就可以使用解tar的方式在其他的服务器上进行快速部署安装了. ...

  5. linux环境变量配置的方法,Linux环境变量配置方法

    Linux上环境变量配置分为设置永久变量和临时变量两种.环境变量设置方法同时要考虑环境Shell类型,不同类型的SHELL设置临时变量方法和设置永久变量对应的配置文件不同.Linux环境变量本身配置过 ...

  6. linux环境变量配置的方法,linux 设置环境变量方法是怎样的?Linux环境变量配置注意事项是什么?...

    linux系统是一种多用户的任务系统,它可以对每个用户都指定特定的用户变量.不同的程序在不同的环境下运行的时候,都需要去对环境变量来做定制,有很多朋友在设置 linux环境变量的时候,不知道如何操作, ...

  7. linux环境变量设置图解,Ubuntu Linux 各个环境变量配置文件详解, 环境变量PATH设置...

    一.Ubuntu Linux系统环境变量配置文件: 1. /etc/profile 在登录时,操作系统定制客户环境时使用的第一个文件 ,此文件为系统的每个客户设置环境信息,当客户第一次登录时,该文件被 ...

  8. linux环境掌握熟悉一下,熟悉linux环境

    <熟悉linux环境>由会员分享,可在线阅读,更多相关<熟悉linux环境(7页珍藏版)>请在人人文库网上搜索. 1.实验二 熟悉Linux环境[实验目的]1.了解Linux系 ...

  9. linux环境js打不开,linux 环境无法通过egg-scripts start启动项目,wait start 300超时退出...

    linux 环境无法通过egg-scripts start启动项目,wait start 300超时退出进程: 1.命令: [root@VM_0_3_centos sun]# npm run star ...

最新文章

  1. Swift之捕捉侧滑返回事件并跳转指定控制器
  2. Android一个ListView列表之中插入两种不同的数据
  3. 大学生要学计算机嘛,大学新生有必要买电脑吗,为什么很多人都带电脑去学校了?...
  4. plsql轻量版记录类型2
  5. 信息系统状态过程图_操作系统中的增强型过程状态图
  6. C# 读取照片的EXIF信息
  7. 信息奥赛一本通(1310:【例2.2】车厢重组)
  8. 为什么不能使用 BigDecimal 的 equals 方法做等值比较
  9. 【图论训练】最小拓扑序
  10. [读书笔记] - 《深度探索C++对象模型》第5章 构造、解构、拷贝语意学
  11. 火爆全网MySQL路线笔记!java文件读取中文乱码
  12. 程序员欢乐送(60):我有一个大胆的想法!
  13. (自动)运动控制系统学习笔记
  14. Redis运行时突然不能读取数据了
  15. 使用腾讯云轻量应用服务器搭建视频直播服务器
  16. 课程实训-校园导游系统
  17. 【学习笔记】resnet-18 pytorch源代码解读
  18. python中换行符用法_python换行符是什么?
  19. clickhouse SLB 服务搭建
  20. NSIS教程(1): 基础语法

热门文章

  1. (五)使用生成对抗网络 (GAN)生成新的时装设计
  2. Blazor验证控件
  3. LookAheadEnumerator:在解析器中实现回溯
  4. 使用WPF的C#中的矩阵样式雨
  5. creator 静态属性_cocos creator 属性面板设置
  6. blog微服务架构代码_Spring Cloud微服务架构代码结构详细讲解
  7. python链表定长翻转_python实现单链表翻转
  8. html5声音播放音乐,HTML5 煽情的音乐播放器和音频可视化
  9. python实现蒙特卡洛算法_用Python实现基于蒙特卡洛算法小实验
  10. 支付宝服务商子商户_怎么成为支付宝刷脸支付服务商?