加载软件许可证
 
                  更新时间 2025-09-29 17:49:28
                 
 
                    最近更新时间: 2025-09-29 17:49:28
                  
 本节主要介绍加载软件许可证命令。
 ./stor license add { -k | --key } KEY 此命令用来加载软件许可证。
说明
- HBlock软件初始化后提供30天试用期,如确定使用,建议尽快联系软件供应商获取正式版软件许可证,并加载入系统。
- 可以通过./stor info --serial-id获取serial ID,将该ID提供给软件供应商用于获取软件许可证。
- 试用期过期,或软件许可证过期,均无法再使用管理功能。
参数
| 参数 | 描述 | 
|---|---|
| -k KEY 或 --key KEY | 加载软件许可证。 | 
示例
加载软件许可证。
[root@hblockserver CTYUN_HBlock_Plus_3.10.0_x64]# ./stor license add -k ******
Import license successfully.
Customer name: Customer ABC
As the operating entity utilizing the HBlock to run your business, you bear the responsibility for the network and information security of the business you are operating.
The current system time: 2025-08-05 09:38:45
+--------------------------------------+---------------+-----------+-----------+----------------------+
| LicenseId                            | Account       | Type      | Status    | MaximumLocalCapacity |
+--------------------------------------+---------------+-----------+-----------+----------------------+
| qws2b6a9-f3fb-4098-a6b3-3652a5a76530 | test@ctyun.cn | Perpetual | Effective | 2 PiB                |
+--------------------------------------+---------------+-----------+-----------+----------------------+
License qws2b6a9-f3fb-4098-a6b3-3652a5a76530 (Effective):
Usage:
+----------------------+--------------------------+-----------------------+-----------+
| MaximumLocalCapacity | MaintenanceEffectiveTime | MaintenanceExpireTime | Status    |
+----------------------+--------------------------+-----------------------+-----------+
| 2 PiB                | 2025-08-05 09:34:27      | 2026-08-05 09:34:27   | Effective |
+----------------------+--------------------------+-----------------------+-----------+