Primeton BFT Primeton BFT
Primeton BFT7.6GA文档库
  • 安装BFT LogCenter
  • 安装

# 安装BFT LogCenter

此章节介绍Linux环境下,BFT LogCenter解压安装部署。

说明:
BFTLogCenter解压安装目录为“/home/bft76”,用户可根据情况选择安装位置。

# 安装

1.将“Primeton_BFT_7.6.0_LogCenter.tar”压缩包复制到“{BFTLogCenter解压安装目录}”下。

2.执行如下命令,在“{BFTLogCenter解压安装目录}”下创建“Primeton_BFT_7.6.0_ LogCenter”目录

cd {BFTLogCenter解压安装目录}
mkdir Primeton_BFT_7.6.0_LogCenter

3.使用如下命令将“Primeton_BFT_7.6.0_ LogCenter.tar”中的所有内容解压至

“{BFTLogCenter解压安装目录}/Primeton_BFT_7.6.0_ LogCenter” 目录中

cd {BFTLogCenter解压安装目录}
tar -xvf Primeton_BFT_7.6.0_LogCenter.tar -C Primeton_BFT_7.6.0_LogCenter

4.将数据库驱动包拷贝到“{BFTLogCenter解压安装目录}/Primeton_BFT_7.6.0_LogCenter/lib”目录

5.使用如下命令,编辑"{BFTLogCenter解压安装目录}/Primeton_BFT_7.6.0_LogCenter/config

/application.properties”文件,配置BFT LogCenter

cd {BFTLogCenter解压安装目录}/Primeton_BFT_7.6.0_LogCenter/config
vi application.properties
server.port=29898
spring.application.name=BFT-LOG-CENTER
server.app-server.max-connections=500
server.app-server.max-swallow-size=-1

spring.datasource.driver-class-name=com.mysql.jdbc.Driver        #数据库驱动
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect  #数据库方言
spring.datasource.username=root                                  #数据库用户名
spring.datasource.password=ENC(oJ6CMK5x9QgIWMJ/mOILvjrb633GLdxb) #数据库用户密码
spring.datasource.url=jdbc:mysql://192.168.16.97:3306/bft?useSSL=false&serverTimezone=Asia/Shanghai                    #访问数据库的JDBC URL
忽略......

参数说明:

参数 说明 是否修改
server.port 日志中心访问端口 否
spring.application.name 日志中心应用名称 否
server.app-server.max-connections 服务最大连接数 否
spring.datasource.driver-class-name 数据库驱动 是
spring.jpa.properties.hibernate.dialect 数据库方言 是
spring.datasource.username 数据库用户名,根据实际环境修改。 是
spring.datasource.password 数据库用户密码,根据实际环境修改。 是
spring.datasource.url 访问数据库的JDBC URL,根据实际环境修改。 是

← 集群安装 启动停止 →