Depin(Linux)下安装Tibco Ems 8.5
depin(Linux)下安装Tibco Ems 8.5
下载安装包
地址:https://www.tibco.com/products/tibco-messaging/downloads
下载 TIBCO Enterprise Message Service™ - Community Edition – Free Download - Linux 即可
解压安装
安装包:TIB_ems-ce_8.5.1_linux_x86_64.zip
deepin@deepin-PC:~/Downloads$ unzip TIB_ems-ce_8.5.1_linux_x86_64.zip
deepin@deepin-PC:~/Downloads$ ll
总用量 102748
drwxr-xr-x 4 deepin deepin 4096 2月 20 21:59 TIB_ems-ce_8.5.1
deepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1$ ll
总用量 8
drwxr-xr-x 2 deepin deepin 4096 2月 20 23:32 rpm
drwxr-xr-x 2 deepin deepin 4096 2月 20 23:27 tar
安装包中有 rpm 和 tar 两种选择
deepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1$ tree ../
../
├── TIB_ems-ce_8.5.1
│ ├── rpm
│ │ ├── TIB_ems-ce_8.5.1_linux_x86_64-c_dev_kit.rpm
│ │ ├── TIB_ems-ce_8.5.1_linux_x86_64-c_dotnet_client.rpm
│ │ ├── TIB_ems-ce_8.5.1_linux_x86_64-java_client.rpm
│ │ ├── TIB_ems-ce_8.5.1_linux_x86_64-product_info.rpm
│ │ ├── TIB_ems-ce_8.5.1_linux_x86_64-samples_src.rpm
│ │ ├── TIB_ems-ce_8.5.1_linux_x86_64-server.rpm
│ │ └── TIB_ems-ce_8.5.1_linux_x86_64-thirdparty.rpm
│ └── tar
│ ├── TIB_ems-ce_8.5.1_linux_x86_64-c_dev_kit.tar.gz
│ ├── TIB_ems-ce_8.5.1_linux_x86_64-c_dotnet_client.tar.gz
│ ├── TIB_ems-ce_8.5.1_linux_x86_64-java_client.tar.gz
│ ├── TIB_ems-ce_8.5.1_linux_x86_64-product_info.tar.gz
│ ├── TIB_ems-ce_8.5.1_linux_x86_64-samples_src.tar.gz
│ ├── TIB_ems-ce_8.5.1_linux_x86_64-server.tar.gz
│ └── TIB_ems-ce_8.5.1_linux_x86_64-thirdparty.tar.gz
使用 rpm 进行安装
在 deepin 中安装rpm需要安装 alien
, alien
会把 rpm 包进行转换;其他linux系统可直接使用 rpm -ivh xxx.rpm
进行安装。
root@deepin-PC:/# apt-get install alien -y
root@deepin-PC:/# alien -i xxx.rpm
安装时候需要注意所有的 rpm 都需要安装 (TIB_ems-ce_8.5.1_linux_x86_64-c_dotnet_client.rpm 可以不安装)
确定 Jdk 已经安装
deepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1/rpm$ java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-2~deb9u1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
创建相关的 tibco 账户
创建用户
root@deepin-PC:~# groupadd -g 800 tibco
root@deepin-PC:~# useradd -u 801 -g tibco -d /home/tibco/ tibco -s /bin/bash
root@deepin-PC:~# grep tibco /etc/passwd
tibco:x:801:800::/home/tibco/:/bin/bash
修改密码
root@deepin-PC:~# passwd tibco
输入新的 UNIX 密码:
安裝 Tibco Ems 8.5
deepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1/rpm$ ll
总用量 48576
-rw-r--r-- 1 deepin deepin 3930532 9月 12 12:18 TIB_ems-ce_8.5.1_linux_x86_64-c_dev_kit.rpm
-rw-r--r-- 1 deepin deepin 3689376 9月 12 12:18 TIB_ems-ce_8.5.1_linux_x86_64-c_dotnet_client.rpm
-rw-r--r-- 1 deepin deepin 670176 9月 12 12:18 TIB_ems-ce_8.5.1_linux_x86_64-java_client.rpm
-rw-r--r-- 1 deepin deepin 866320 9月 12 12:18 TIB_ems-ce_8.5.1_linux_x86_64-product_info.rpm
-rw-r--r-- 1 deepin deepin 213228 9月 12 12:18 TIB_ems-ce_8.5.1_linux_x86_64-samples_src.rpm
-rw-r--r-- 1 deepin deepin 38433020 9月 12 12:18 TIB_ems-ce_8.5.1_linux_x86_64-server.rpm
-rw-r--r-- 1 deepin deepin 1922300 9月 12 12:18 TIB_ems-ce_8.5.1_linux_x86_64-thirdparty.rpmdeepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1/rpm$ alien -i TIB_ems-ce_8.5.1_linux_x86_64-c_dev_kit.rpm
deepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1/rpm$ alien -i TIB_ems-ce_8.5.1_linux_x86_64-java_client.rpm
deepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1/rpm$ alien -i TIB_ems-ce_8.5.1_linux_x86_64-product_info.rpm
deepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1/rpm$ alien -i TIB_ems-ce_8.5.1_linux_x86_64-samples_src.rpm
deepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1/rpm$ alien -i TIB_ems-ce_8.5.1_linux_x86_64-server.rpm
deepin@deepin-PC:~/Downloads/TIB_ems-ce_8.5.1/rpm$ alien -i TIB_ems-ce_8.5.1_linux_x86_64-thirdparty.rpm
默认安装后在 /opt/tibco
deepin@deepin-PC:/opt/tibco/ems/8.5$ pwd
/opt/tibco/ems/8.5
deepin@deepin-PC:/opt/tibco/ems/8.5$ ll
总用量 32
drwxr-sr-x 4 tibco tibco 4096 2月 21 09:52 bin
drwxr-sr-x 3 tibco tibco 4096 2月 20 23:28 components
drwxr-sr-x 3 tibco tibco 4096 2月 20 23:28 include
drwxr-sr-x 3 tibco tibco 4096 2月 20 23:28 lib
drwxr-sr-x 2 tibco tibco 4096 2月 21 00:01 logs
drwxr-sr-x 2 tibco tibco 4096 2月 20 23:32 product_info
drwxr-sr-x 8 tibco tibco 4096 2月 20 23:29 samples
drwxr-sr-x 3 tibco tibco 4096 2月 20 23:29 src
启动服务
切换用户为 tibco
deepin@deepin-PC:/opt/tibco/ems/8.5$ su tibco
密码:
tibco@deepin-PC:/opt/tibco/ems/8.5$
启动服务
tibco@deepin-PC:/opt/tibco/ems/8.5/bin$ ./tibemsd64 TIBCO Enterprise Message Service Community Edition.
Copyright 2003-2019 by TIBCO Software Inc.
All rights reserved.Version 8.5.1 V4 9/12/20192020-02-21 10:31:54.359 Process started from './tibemsd64'.
2020-02-21 10:31:54.359 Process Id: 17373
2020-02-21 10:31:54.359 Hostname: deepin-PC
2020-02-21 10:31:54.359 Hostname IP address: [fded:9dd3:4dbe::858]
2020-02-21 10:31:54.359 Hostname IP address: 127.0.1.1
2020-02-21 10:31:54.359 Reading configuration from 'tibemsd.conf'.
2020-02-21 10:31:54.376 Server name: 'EMS-SERVER'.
2020-02-21 10:31:54.376 Storage Location: 'datastore'.
2020-02-21 10:31:54.376 Routing is disabled.
2020-02-21 10:31:54.376 Authorization is disabled.
2020-02-21 10:31:54.376 The server will attempt to trace warnings about destinations that are growing unbounded above 26843545 bytes or 50000 messages.
2020-02-21 10:31:54.376 Set server properties 'large_destination_memory' and 'large_destination_count' respectively to alter these thresholds.
2020-02-21 10:31:54.386 Accepting connections on tcp://192.168.11.194:7222.
2020-02-21 10:31:54.386 Recovering state, please wait.
2020-02-21 10:31:54.387 Server is active.
有可能出现的问题 (由于.db文件不存在 或 没有切换用户启动服务)
root@deepin-PC:/opt/tibco/ems/8.5/bin# ./tibemsd64
TIBCO Enterprise Message Service Community Edition.
Copyright 2003-2019 by TIBCO Software Inc.
All rights reserved.Version 8.5.1 V4 9/12/20192020-02-20 23:34:20.559 ERROR: Failed to create file 'tibemsd.conf'
2020-02-20 23:34:20.559 Process started from './tibemsd64'.
2020-02-20 23:34:20.559 Process Id: 19792
2020-02-20 23:34:20.559 Hostname: deepin-PC
2020-02-20 23:34:20.559 Hostname IP address: [fded:9dd3:4dbe::858]
2020-02-20 23:34:20.559 Hostname IP address: 127.0.1.1
2020-02-20 23:34:20.559 Reading configuration from 'tibemsd.conf'.
2020-02-20 23:34:20.560 ERROR: Failed to create file 'tibemsd.conf'
2020-02-20 23:34:20.560 FATAL: Initialization has failed. Exiting.
2020-02-20 23:34:20.560 FATAL: Exception in startup, exiting.
以上 tibemsd.conf 不存在是因为初始化时,这个文件在 simple 中
tibco@deepin-PC:/opt/tibco/ems/8.5/samples/config$ ls -l tibemsd.conf
-rw-r--r-- 1 tibco tibco 11494 9月 13 00:59 tibemsd.conf
直接把 config 目录复制到 /opt/tibco/ems/8.5/bin 修改 tibemsd.conf
users = config/users.conf
groups = config/groups.conf
topics = config/topics.conf
queues = config/queues.conf
acl_list = config/acl.conf
factories = config/factories.conf
routes = config/routes.conf
bridges = config/bridges.conf
transports = config/transports.conf
tibrvcm = config/tibrvcm.conf
durables = config/durables.conf
channels = config/channels.conf
stores = config/stores.conf
root@deepin-PC:/opt/tibco/ems/8.5/bin# ./tibemsd64
TIBCO Enterprise Message Service Community Edition.
Copyright 2003-2019 by TIBCO Software Inc.
All rights reserved.Version 8.5.1 V4 9/12/20192020-02-21 00:07:28.677 Process started from './tibemsd64'.
2020-02-21 00:07:28.677 Process Id: 22266
2020-02-21 00:07:28.677 Hostname: deepin-PC
2020-02-21 00:07:28.677 Hostname IP address: [fded:9dd3:4dbe::858]
2020-02-21 00:07:28.677 Hostname IP address: 127.0.1.1
2020-02-21 00:07:28.677 Reading configuration from 'tibemsd.conf'.
2020-02-21 00:07:28.679 Server name: 'EMS-SERVER'.
2020-02-21 00:07:28.679 Storage Location: 'datastore'.
2020-02-21 00:07:28.679 Routing is disabled.
2020-02-21 00:07:28.679 Authorization is disabled.
2020-02-21 00:07:28.679 The server will attempt to trace warnings about destinations that are growing unbounded above 26843545 bytes or 50000 messages.
2020-02-21 00:07:28.679 Set server properties 'large_destination_memory' and 'large_destination_count' respectively to alter these thresholds.
2020-02-21 00:07:28.680 Accepting connections on tcp://192.168.11.194:7222.
2020-02-21 00:07:28.680 Recovering state, please wait.
2020-02-21 00:07:28.680 Creating store '$sys.nonfailsafe' file 'datastore/async-msgs.db' ...
2020-02-21 00:07:28.680 Creating store '$sys.meta' file 'datastore/meta.db' ...
2020-02-21 00:07:28.680 SEVERE ERROR: Unable to open store file 'datastore/async-msgs.db', error 'File not found'.
2020-02-21 00:07:28.680 Creating store '$sys.failsafe' file 'datastore/sync-msgs.db' ...
2020-02-21 00:07:28.680 SEVERE ERROR: Unable to open store file 'datastore/sync-msgs.db', error 'File not found'.
2020-02-21 00:07:28.680 SEVERE ERROR: Unable to open store file 'datastore/meta.db', error 'File not found'.
2020-02-21 00:07:28.680 FATAL: Exception in startup, exiting.
root@deepin-PC:/opt/tibco/ems/8.5/bin# ./tibemsd64 TIBCO Enterprise Message Service Community Edition.
Copyright 2003-2019 by TIBCO Software Inc.
All rights reserved.Version 8.5.1 V4 9/12/20192020-02-21 09:54:36.484 Process started from './tibemsd64'.
2020-02-21 09:54:36.484 Process Id: 11912
2020-02-21 09:54:36.484 Hostname: deepin-PC
2020-02-21 09:54:36.484 Hostname IP address: [fded:9dd3:4dbe::858]
2020-02-21 09:54:36.484 Hostname IP address: 127.0.1.1
2020-02-21 09:54:36.484 Reading configuration from 'tibemsd.conf'.
2020-02-21 09:54:36.486 Server name: 'EMS-SERVER'.
2020-02-21 09:54:36.486 Storage Location: 'datastore'.
2020-02-21 09:54:36.486 Routing is disabled.
2020-02-21 09:54:36.486 Authorization is disabled.
2020-02-21 09:54:36.486 The server will attempt to trace warnings about destinations that are growing unbounded above 26843545 bytes or 50000 messages.
2020-02-21 09:54:36.486 Set server properties 'large_destination_memory' and 'large_destination_count' respectively to alter these thresholds.
2020-02-21 09:54:36.487 Accepting connections on tcp://192.168.11.194:7222.
2020-02-21 09:54:36.487 Recovering state, please wait.
2020-02-21 09:54:36.487 SEVERE ERROR: Unable to open store file 'datastore/async-msgs.db', error 'Not file owner'.
2020-02-21 09:54:36.487 SEVERE ERROR: Unable to open store file 'datastore/meta.db', error 'Not file owner'.
2020-02-21 09:54:36.487 SEVERE ERROR: Unable to open store file 'datastore/sync-msgs.db', error 'Not file owner'.
2020-02-21 09:54:36.487 FATAL: Exception in startup, exiting.
使用 tar 进行安装
解压到 /opt/tibco/ 下即可,配置相关和安装rpm后的一致。
Depin(Linux)下安装Tibco Ems 8.5相关推荐
- linux下安装sbt_如何在Linux上安装SBT
linux下安装sbt 介绍 (Introduction) Hi! I am Sanjula, and in this guide I hope to teach you how to install ...
- Linux下安装Oracle参数自动初始化脚本
在linux下安装Oracle通常是一件很头疼的事情, 而如果我们只是为了部署CMS的话,也没有必要对Oracle的参数去做详细的了解. 那么有没有办法简化这个安装过程呢? 下面给出了一个在Linux ...
- Linux下安装和使用boost库
Linux下安装和使用boost库 2016-08-26 20:29:06 zhaomax 阅读数 349更多 分类专栏: C++ 用boost库中的serialization库.Boost库分为两个 ...
- SIPp工具Linux下安装
2019独角兽企业重金招聘Python工程师标准>>> 一.SIPp介绍 SIPp是一个测试SIP协议性能的工具软件,这是一个开源软件. 它可使用INVITE和B YE建立 ...
- Linux下安装rabbitmq3.7.8
Linux下安装rabbitmq 1.安装Erlang环境 1)安装GCC GCC-C++ Openssl等模块 2)安装ncurses 3)安装erlang环境 4)配置安装 5)验证是否安装成功 ...
- 如何在Linux下安装Docker
如何在Linux下安装Docker Docker概念: Docker包括三个基本概念: l 镜像(Image) l 容器(Container) l 仓库(Repository) 理解了这三个概念 ...
- 如何在Linux下安装MySQL8.0
如何在Linux下安装MySQL8.0 准备工作: mysql8.0 rpm文件 测试工具(比如 idea的database工具) 安装步骤: 1. 下载mysql的repo源,下载地址:ht ...
- Linux下安装Weblogic10.3.6并创建简单集群测试
Linux下安装Weblogic10.3.6并创建简单集群进行测试 一.卸载随系统安装的openjdk 1.先查看安装的jdk信息,常用命令有rpm -qa | grep java, rpm -qa ...
- Linux下安装、配置PHP环境
Linux下安装.启动MySQL :http://blog.csdn.net/wy3552128/article/details/8143686 Linux下安装.配置.启动Apache:http:/ ...
最新文章
- 【转】C#开发PACS医学影像处理系统(三):界面布局之工具栏
- 文件标识符无效。使用 fopen 生成有效的文件标识符。_「存储架构」块存储、文件存储和对象存储(第1节)...
- 惊艳!28岁就任副教授,年纪轻轻已是博导、院长
- kf真空接头标准尺寸_大连高速旋转接头商家,什么是旋转接头_上海汉洲国际贸易...
- iOS原生推送(APNS)进阶iOS10推送图片、视频、音乐
- Spring 基础概念——DI、IOC(一)
- “通配符的匹配很全面, 但无法找到元素 ‘utillist‘ 的声明”的问题
- 老旧漏洞不修复,西部数据存储设备数据遭擦除
- n3k配置vpc是否还需要配置hsrp_VPC配置案例
- 企业微信应用设置可信域名_怎么设置企业微信朋友圈功能?企业微信朋友圈功能有哪些限制?...
- idea 的精准搜索_intellij idea 的全局搜索快捷键方法
- messagedigest 图片加密_通过MessageDigest实现简单的MD5加密
- 怎样学好python编程-怎样学 Python?
- 汉罗塔汉洛塔c++,看不懂ni打我
- Tableau-旭日图(详细操作步骤)
- Selenium 2.0的由来及设计架构
- 【JavaWeb】Request对象详解
- electron在线升级更新的两种方式(整体更新和部分更新)及我是如何实现electron在线升级热更新功能的?(企业级项目已上线)
- 记录一次Specified key was too long的问题
- CreateEvent
热门文章
- “橄榄型”人口结构制约消费增长
- OSINT + Python = Custom Hacking
- HTML5响应式手机模板:电商网站设计——仿淘宝手机app界面模板源码 HTML+CSS+JavaScript...
- 你想成为一个什么样的面试官?
- OPPO手机测试指令代码大全
- Linux入门第三天——linux命令(二)
- Java开发个人总结
- 【Java力扣算法】LeetCode 309 Best Time to Buy and Sell Stock with Cooldown(动态规划)
- MichiGAN:Multi-Input-Conditioned Hair Image Generation for Portrait Editing---论文阅读笔记
- SAP小磁带备份注意事项