在 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