fix: 文档更新
This commit is contained in:
39
opt/lic/docs/License Software Operation Manual.md
Normal file
39
opt/lic/docs/License Software Operation Manual.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Licence软件操作手册
|
||||
|
||||
## Project Introduction
|
||||
|
||||
A License, also known as a copyright license certificate, is typically provided to paying users of paid software as proof of access permission. License authentication is a verification method based on authorization. During the startup or operation of an application, it will check the validity of the License file. If an invalid or expired License is detected, the application will refuse to provide services.
|
||||
|
||||
This project is used to generate the license.lic certificate and provide it to users for use. This project is not available for external use.
|
||||
|
||||
* Directory tree after installation
|
||||
|
||||
```text
|
||||
/opt/lic # work root directory
|
||||
├── bin # shell script and binary file
|
||||
├── docker # docker compose work directory
|
||||
│ └── jar # jar package
|
||||
└── docs # related document directory
|
||||
```
|
||||
|
||||
* Launch the project
|
||||
```sh
|
||||
cd /opt/lic/bin
|
||||
sudo ./licensecontrol.sh start
|
||||
```
|
||||
|
||||
* Generate certificate
|
||||
```sh
|
||||
cd /opt/lic/bin
|
||||
sudo ./generatelic.sh -t "2026-05-31 23:59:59" -code "ud9BGY9yZzo/ekXvf5vXzS4RmyCXm9a7rBqiUy1q7x+0kIBSz6AJ98MtGQiojJLpFbYRD1RkP2UsbtGCxyyozTK69+OWukfq9zTMu2qCkXcajL+HhuF/0VJQDSWPjp+J"
|
||||
```
|
||||
generatelic script parameter description:
|
||||
-t Certificate expiration time, required field. Format: "2026-05-31 23:59:59"
|
||||
- Code: Activation code, optional, format:"ud9BGY9yZzo/ekXvf5vXzS4RmyCXm9a7rBqiUy1q7x+0kIBSz6AJ98MtGQiojJLpFbYRD1RkP2UsbtGCxyyozTK69+OWukfq9zTMu2qCkXcajL+HhuF/0VaJQDSWPjp+J"
|
||||
|
||||
The activation code is the unique identifier of the device and is used to specify the machine for certificate usage. The activation code is automatically generated in /opt/wfc/docker/conf/license/activation_code.txt after the WANFI project is running.
|
||||
|
||||
The certificate is generated at /opt/lic/docker/license/license.lic.
|
||||
|
||||
The license.lic file must be placed in the /opt/wfc/docker/conf/license/ directory of the WANFI project for the project to be able to use it.
|
||||
|
||||
BIN
opt/lic/docs/License Software Operation Manual.pdf
Normal file
BIN
opt/lic/docs/License Software Operation Manual.pdf
Normal file
Binary file not shown.
@@ -31,7 +31,7 @@ generatelic脚本参数说明:
|
||||
-t 证书到期时间,必填,格式如"2026-05-31 23:59:59"
|
||||
-code 激活码,可选,格式如"ud9BGY9yZzo/ekXvf5vXzS4RmyCXm9a7rBqiUy1q7x+0kIBSz6AJ98MtGQiojJLpFbYRD1RkP2UsbtGCxyyozTK69+OWukfq9zTMu2qCkXcajL+HhuF/0VaJQDSWPjp+J"
|
||||
|
||||
激活码用于指定机器使用证书,激活码在wanfi项目运行后自动生成在/opt/wfc/docker/conf/license/activation_code.txt
|
||||
激活码是设备的唯一标识,用于指定的机器使用证书,激活码在WANFI项目运行后自动生成在/opt/wfc/docker/conf/license/activation_code.txt
|
||||
|
||||
证书生成在/opt/lic/docker/license/license.lic
|
||||
将license.lic文件放入wanfi项目目录/opt/wfc/docker/conf/license/,wanfi项目才可使用
|
||||
将license.lic文件放入wanfi项目目录/opt/wfc/docker/conf/license/,WANFI项目才可使用
|
||||
Binary file not shown.
Reference in New Issue
Block a user