当前位置: 首页 > article >正文

V9数据库替换授权

文章目录

  • 环境
  • 文档用途
  • 详细信息

环境

系统平台:Linux x86-64 Red Hat Enterprise Linux 7
版本:9.0

文档用途

1、本文档用于指导V9数据库替换授权。

2、V9数据库授权文件为license.dat。

详细信息

1、上传新的授权文件到服务器并修改授权文件属主为highgo

chown highgo. /hgdata/license.dat

2、查找授权目录license文件夹

授权目录license文件夹在安装目录下

①可以通过环境变量查看安装目录

[highgo@slave ~]$ echo $HGDB_HOME/hgdata/highgo/hgdb-enterprise-9.1.1

②或者find命令查找license文件夹

[highgo@slave ~]$ find / -iname license -print/hgdata/highgo/hgdb-enterprise-9.1.1/license

3、替换授权

①备份之前授权文件

[highgo@slave ~]$ mv /hgdata/highgo/hgdb-enterprise-9.1.1/license/license.dat  /hgdata/highgo/hgdb-enterprise-9.1.1/license/license.dat.bak

②放置新的授权

[highgo@slave ~]$ mv /hgdata/license.dat  /hgdata/highgo/hgdb-enterprise-9.1.1/license/

③授权生效

[highgo@slave ~]$ pg_ctl reloadserver signaled

④查看授权到期时间

[highgo@slave ~]$ licchkLicense version: 1.2License serial: A20230222N004656License status: normalUser info: xxx集团有限公司License auth type: formalLicense used type: 交付Create time: 20231211日Final time: 20991231日Highgo database version: hgdb-enterprise-9.1.1Project info: xxx集团有限公司信息化项目(一期)Max connections: 0Max CPU cores: unlimitDefault database name: highgoDefault database user: highgoDefault database port: 5866Hardware code: 00000000000000000000000000000000

4、授权命令其他信息

①查看授权文件信息(注意:此命令并不会将授权导入到数据库)

[highgo@slave ~]$ licchk -f /hgdata/license.datLicense version: 1.2License serial: A20230222N004656License status: normalUser info: xxx集团有限公司License auth type: formalLicense used type: 交付Create time: 2023年12月11日Final time: 2099年12月31日Highgo database version: hgdb-enterprise-9.1.1Project info: xxx集团有限公司信息化项目(一期)Max connections: 0Max CPU cores: unlimitDefault database name: highgoDefault database user: highgoDefault database port: 5866Hardware code: 00000000000000000000000000000000

②查看授权命令参数

[highgo@slave ~]$ licchk --helpUsage:licchk [OPTION]... [DATADIR]

Options:

  -l, --list                list enabled function items-a, --all                 all functional items-v, --view                show desc information-f, --filename=xxx.dat    set license filename-c, --check=xxx.txt       check hardware code, then exit.-U, --username            obtain the username from the license file.-P, --port                obtain the port from the license file.-V, --version             output version information, then exit-?, --help                show this help, then exit
http://www.lryc.cn/news/2386048.html

相关文章:

  • 勇闯Chromium—— Chromium的多进程架构
  • Go语言中常量的命名规则详解
  • 软件质量保证与测试实验
  • 历年华东师范大学保研上机真题
  • 【C++】什么是静态库?什么是动态库?
  • 项目阅读:Instruction Defense
  • springboot中拦截器配置使用
  • 用 Python 构建自动驾驶的实时通信系统:让车辆“交流”起来!
  • 在机器学习中,L2正则化为什么能够缓过拟合?为何正则化等机制能够使一个“过度拟合训练集”的模型展现出更优的泛化性能?正则化
  • day36 python神经网络训练
  • k8s部署ELK补充篇:kubernetes-event-exporter收集Kubernetes集群中的事件
  • 【Excel VBA 】窗体控件分类
  • C++性能相关的部分内容
  • Spring Boot 项目中常用的 ORM 框架 (JPA/Hibernate) 在性能方面有哪些需要注意的点?
  • 基于大模型的大肠癌全流程预测与诊疗方案研究报告
  • 解决DeepSeek部署难题:提升效率与稳定性的关键策略
  • AI进行提问、改写、生图、联网搜索资料,嘎嘎方便!
  • GStreamer开发笔记(四):ubuntu搭建GStreamer基础开发环境以及基础Demo
  • 2021年认证杯SPSSPRO杯数学建模A题(第二阶段)医学图像的配准全过程文档及程序
  • CV中常用Backbone-3:Clip/SAM原理以及代码操作
  • RPC 协议详解、案例分析与应用场景
  • dify-plugin-daemon的.env配置文件
  • 【Python】开发工具uv
  • 《技术择时,价值择股》速读笔记
  • Python可视化设计原则
  • SAP重塑云ERP应用套件
  • 2025.5.25总结
  • (九)PMSM驱动控制学习---无感控制之高阶滑膜观测器
  • 6个跨境电商独立站平台
  • 电子电路:电学都有哪些核心概念?