在 Linux 上搭建IntelliJ IDEA license server服务器


IntelliJIDEALicenseServer_linux_amd64 ,把该文件传到服务器的某个目录,我是放在了/var/local/software目录下

sudo chmod +x ./IntelliJIDEALicenseServer_linux_amd64

创建系统启动文件

sudo vi /etc/systemd/system/intellij-license.service

填入一下信息

[Unit]

Description=Intellij license server

[Service]

ExecStart=/var/local/software/IntelliJIDEALicenseServer_linux_amd64 -p 622

Restart=always

RestartSec=10

SyslogIdentifier=intellij-license-log

保存退出。

执行以下命令设置服务开机启动并启动服务

sudo systemctl enable intellij-license

sudo systemctl start intellij-license

此时可通过http://服务器ip:622进行访问


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM