在Ubuntu上搭建IntelliJ IDEA license server服务器
2024-08-30 01:41:09
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、 阿里云服务器的话 需要将端口开放。
最新文章
- Theano printing
- MongoDB数据库未授权访问漏洞及加固
- 【转】linux sort 命令详解
- 转载:Spring AOP (上)
- Hyperledger区块数据的访问
- Sql Server Express连接字符串
- Thrift中实现按照时间戳范围操作Hbase数据
- Failed to run the WC DB work queue associated with 错误的解决
- spring的bean管理
- HtmlParser
- ASP.NET-FineUI开发实践-12
- [Editor(typeof(ImageUrlEditor), typeof(UITypeEditor))]无效的可能原因
- 《how to design programs》12章函数复合
- Python2/3的中、英文字符编码与解码输出: UnicodeDecodeError: 'ascii' codec can't decode/encode
- Android知识点剖析系列:深入了解layout_weight属性
- .net core 接口返回图片并且进行压缩
- cenos 7.2 网卡设置静态ip
- 2017 ACM/ICPC Asia Regional Qingdao Online解题报告(部分)
- C#设计模式--工厂方法模式
- BUCTOJ_ACM2017C 回文串的热爱