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、 阿里云服务器的话 需要将端口开放。

最新文章

  1. Theano printing
  2. MongoDB数据库未授权访问漏洞及加固
  3. 【转】linux sort 命令详解
  4. 转载:Spring AOP (上)
  5. Hyperledger区块数据的访问
  6. Sql Server Express连接字符串
  7. Thrift中实现按照时间戳范围操作Hbase数据
  8. Failed to run the WC DB work queue associated with 错误的解决
  9. spring的bean管理
  10. HtmlParser
  11. ASP.NET-FineUI开发实践-12
  12. [Editor(typeof(ImageUrlEditor), typeof(UITypeEditor))]无效的可能原因
  13. 《how to design programs》12章函数复合
  14. Python2/3的中、英文字符编码与解码输出: UnicodeDecodeError: 'ascii' codec can't decode/encode
  15. Android知识点剖析系列:深入了解layout_weight属性
  16. .net core 接口返回图片并且进行压缩
  17. cenos 7.2 网卡设置静态ip
  18. 2017 ACM/ICPC Asia Regional Qingdao Online解题报告(部分)
  19. C#设计模式--工厂方法模式
  20. BUCTOJ_ACM2017C 回文串的热爱

热门文章

  1. python--model进阶
  2. oracle登陆触发器及精细审计
  3. mybatis*中DefaultVFS的logger乱码问题
  4. 浅谈MSSQL2012中的列存储索引(columnstore indexes)
  5. memory prefix mini mono multi out _m 5
  6. Matlab函数
  7. 1-1Controller之Request
  8. js 小说格式整理
  9. unity中自制模拟第一人称视角
  10. DevExpress WinForms使用教程:Diagram Control