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

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 reload

server signaled

④查看授权到期时间

[highgo@slave ~]$ licchk

License version: 1.2

License serial: A20230222N004656

License status: normal

User info: xxx集团有限公司

License auth type: formal

License used type: 交付

Create time: 2023年12月11日

Final time: 2099年12月31日

Highgo database version: hgdb-enterprise-9.1.1

Project info: xxx集团有限公司信息化项目(一期)

Max connections: 0

Max CPU cores: unlimit

Default database name: highgo

Default database user: highgo

Default database port: 5866

Hardware code: 00000000000000000000000000000000

4、授权命令其他信息

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

[highgo@slave ~]$ licchk -f /hgdata/license.dat

License version: 1.2

License serial: A20230222N004656

License status: normal

User info: xxx集团有限公司

License auth type: formal

License used type: 交付

Create time: 2023年12月11日

Final time: 2099年12月31日

Highgo database version: hgdb-enterprise-9.1.1

Project info: xxx集团有限公司信息化项目(一期)

Max connections: 0

Max CPU cores: unlimit

Default database name: highgo

Default database user: highgo

Default database port: 5866

Hardware code: 00000000000000000000000000000000

②查看授权命令参数

[highgo@slave ~]$ licchk --help

Usage:

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.jsqmd.com/news/1071796/

相关文章:

  • Get Shit Done:彻底解决AI编程上下文衰退问题的元提示工程系统
  • 微信小程序开店找哪家公司,正规靠谱怎么选?
  • 微信小游戏Unity适配方案:5个核心挑战与实战优化策略
  • 数据库视图
  • 我在大厂做Agent落地踩过的那些坑
  • 半小时学会 Python 爬虫:从零爬取知乎实时热榜榜单
  • 一行命令生成 PPT:OfficeCLI 让文档自动化彻底告别 50 行 Python
  • 从钉钉 ONE 到企业版信息流:谁决定你先做什么
  • 企业微信会话存档实战:基于超时提醒机制的自动化响应方案
  • 《超标量处理器设计》- 执行
  • 开源库存管理终极指南:现代化供应链的技术实现方案
  • 小程序分销裂变怎么做?实体门店二级分销落地全流程拆解
  • 基于Python+可视化技术的轻量级Web接口自动化测试平台的设计与实现
  • 上海普陀区老房翻新装修报价清单透明的公司
  • CBCX:把服务体系做扎实,注重效率的使用者更容易感受到的标准
  • Prompt Engineering 过时了?国外程序员开始玩 Loop Engineering
  • 国内通用电商自动化对账解决方案
  • Token计费,正式翻篇了——知医邦AI产品最新定价到底怎么算?
  • CBCX外汇在在线支持上靠谱吗?
  • 阿里Java面试速成指南:2026程序员短期突击必备!
  • Relique:消费者 RWA 正在兴起,卡牌、球鞋、手表和收藏品上链趋势分析
  • 《Forensic Investigation of Smart Digital Devices: A Hands-on Guide》导读:取证脊柱 + 设备地图 + 工具对照
  • 苏州快速响应的商业活动搭建团队推荐及落地注意事项
  • 微信小程序虚拟支付与广告转化回传实战记录
  • FORCE 2026 火山引擎原动力大会完整全解析(6月23日上午主论坛)
  • 贪心算法,好用说完了,局限呢?
  • 2026版高端产业级科研痛点 高纯钨靶材微观组织结构与半导体接触孔填充工艺适配性研究
  • 带栅格状接地平面的3D互连实用建模方法
  • 本地部署开源身份和访问管理解决方案 Keycloak 并实现外部访问( Linux 版本)
  • 如何让Minecraft帧率翻倍:Fabulously Optimized终极优化指南