2.0 KiB
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
/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
cd /opt/lic/bin
sudo ./licensecontrol.sh start
- Generate certificate
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.