IntelliJ IDEA License Server 使用教程与服务器搭建

1. 下载

1.1版:http://blog.lanyus.com/archives/189.html
1.2版:http://blog.lanyus.com/archives/228.html
1.3版:http://blog.lanyus.com/archives/231.html
1.4版:http://blog.lanyus.com/archives/305.html
1.5版:http://blog.lanyus.com/archives/314.html

2. 使用示例

./IntelliJIDEALicenseServer_linux_amd64 -p 4000 -u StarUDream -prolongationPeriod 31536000

3. 参数

-p:自定义端口
-u:认证用户名
-prolongationPeriod:过期时间

4. 服务器搭建

nginx 配置

location / {
    proxy_pass http://127.0.0.1:4000;
}

screen 后台运行

yum install -y screen
screen -S jetbrains
./IntelliJIDEALicenseServer_linux_amd64

然后使用 ctrl + A + D,隐藏 screen 会话。

猜你喜欢

转载自www.cnblogs.com/StarUDream/p/9045459.html