Install4j 5.1-无头ubuntu服务器上的浮动许可证设置 [英] Install4j 5.1 - Floating license setup on a headless ubuntu server

查看:107
本文介绍了Install4j 5.1-无头ubuntu服务器上的浮动许可证设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Ubuntu服务器上构建我们的应用程序.我们的安装程序是使用Install4j 5.1创建的,并通过maven-install4j-plugin集成到我们的maven构建中.我的问题是我无法初始化许可证信​​息以指向我们的浮动许可证服务器(localhost:11862).要初始化许可证,我使用以下命令:

I want to build our app on an Ubuntu server. Our setup programs are created with Install4j 5.1 and integrated in our maven build through the maven-install4j-plugin. The problem I have is that I can't initialize the license information to point to our floating license server (localhost:11862). To initialize the license, I use the following command :

install4jc --license = XXXXXXXXX

install4jc --license=XXXXXXXXX

问题是我不知道将许可证设置为浮动服务器的确切语法.我已经尝试过--license = localhost:11862,并且试图直接复制粘贴我的浮动许可证密钥而没有成功.

The problem is that I don't know the exact syntax to setup the license to a floating server. I've tried --license=localhost:11862 and I've tried to copy-paste my floating license key directly without success.

在哪里可以找到有关如何在无头系统上设置浮动许可证信息的基本说明,最重要的是,如何在执行install4jc时将其表示为停止接收无效的语法密钥"?

Where can I find basic instructions on how to setup my floating license infos on a headless system and above all, how to express it to stop receiving "Invalid Syntax Key" when executing install4jc?

推荐答案

使用浮动许可证服务器的语法是

The syntax for using a floating license server is

install4jc --license=FLOAT:localhost:11862

如果您拥有Windows Edition许可证,则当前必须进行编辑

If you have a Windows Edition license, you currently have to edit

$ HOME/.install4j5/config.xml

$HOME/.install4j5/config.xml

,然后在该文件中将floatingMultiPlatform="true"更改为floatingMultiPlatform="false".

and change floatingMultiPlatform="true" to floatingMultiPlatform="false" in that file.

从install4j 5.1.3开始,您将能够传递命令行选项--windows-edition而不是编辑配置文件,并且在运行install4jc --help时记录了FLOAT:server语法.

From install4j 5.1.3 on, you will be able to pass the command line option --windows-edition instead of editing the config file and the FLOAT:server syntax is documented when running install4jc --help.

这篇关于Install4j 5.1-无头ubuntu服务器上的浮动许可证设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆