diff --git a/opt/lic/docs/License Software Operation Manual.md b/opt/lic/docs/License Software Operation Manual.md new file mode 100644 index 0000000..41686ba --- /dev/null +++ b/opt/lic/docs/License Software Operation Manual.md @@ -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. + diff --git a/opt/lic/docs/License Software Operation Manual.pdf b/opt/lic/docs/License Software Operation Manual.pdf new file mode 100644 index 0000000..82c5723 Binary files /dev/null and b/opt/lic/docs/License Software Operation Manual.pdf differ diff --git a/opt/lic/docs/License软件操作手册.md b/opt/lic/docs/License软件操作手册.md index ed50961..a0ed93d 100644 --- a/opt/lic/docs/License软件操作手册.md +++ b/opt/lic/docs/License软件操作手册.md @@ -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项目才可使用 \ No newline at end of file +将license.lic文件放入wanfi项目目录/opt/wfc/docker/conf/license/,WANFI项目才可使用 \ No newline at end of file diff --git a/opt/lic/docs/License软件操作手册.pdf b/opt/lic/docs/License软件操作手册.pdf index 49dadca..26ccc65 100644 Binary files a/opt/lic/docs/License软件操作手册.pdf and b/opt/lic/docs/License软件操作手册.pdf differ