zoukankan      html  css  js  c++  java
  • 在Ubuntu上搭建IntelliJ IDEA license server服务器

    1、下载激活文件 

    2、ubuntu需要使用 IntelliJIDEALicenseServer_linux_amd64 ,把该文件传到服务器的某个目录,我是放在了/jideal 下

    3、进入上面的目录,执行一下命令设置文件可执行权限

      

    sudo chmod +x ./IntelliJIDEALicenseServer_linux_amd64

    4、 使用一下命令创建服务文件

    sudo nano /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

       ctrl + X  输入 Y 退出

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

    sudo systemctl enable intellij-license
    
    sudo systemctl start intellij-license

      注:若以上命令 报 sudo: unable to resolve host XXX(地址名称)

       此时修改  /etc/hosts 文件第一行 : 127.0.0.1       localhost       ---->   127.0.0.1       localhost    XXX(地址名称)

       则  可将 XXX指引到  127.0.0.1

    7、   重启  服务

      

     service  intellij-license stop
    
     service  intellij-license start

    8、 阿里云服务器的话 需要将端口开放。

  • 相关阅读:
    docker使用
    接口自动化python3+requests+pytest/unitest
    Django--日常操作
    Redis
    散碎
    Django-- 类视图 Mixin 扩展类
    Django--类视图
    Django--响应
    python高级--正则表达式
    python-数据类型-字符串--常用操作
  • 原文地址:https://www.cnblogs.com/Mvloveyouforever/p/9626495.html
Copyright © 2011-2022 走看看