1. 程式人生 > >Idea破解--將IntelliJ IDEA license server伺服器安裝至linux

Idea破解--將IntelliJ IDEA license server伺服器安裝至linux

vi /etc/systemd/system/intellij-license.service
[Unit]

Description=Intellij license server

[Service]

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

Restart=always

RestartSec=10

SyslogIdentifier=intellij-license-log

注意,埠可以自定義,儘量不要定義為1024以內的。

  • 啟動指令碼
systemctl enable intellij-license
systemctl start intellij-license

之後想要停止和啟動指令碼,則:

service intellij-license stop 
service intellij-license start