一、下载

IntelliJ IDEA 是Java开发利器,用社区版不爽,干催就用旗舰版,这个是收费的,需要licence。 

如果你资金充足,请自行购买收费版的Idea:https://www.jetbrains.com/idea/buy。

在线激活地址: http://idea.lanyus.com/  或者 https://www.iteblog.com/idea/

本地证书服务器版,压缩包地址:https://pan.baidu.com/s/1coj34G1vVgx9pSqtHhSXWQ

二、安装

1.解压下载后的软件包,根据当前系统的类型,选中对应的程序版本。

2.编辑一个 com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64.plist 文件,文件名称自己定义:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64</string>
<key>ProgramArguments</key>
<array>
<string>/Users/phpdragon/Server/IntelliJIDEALicenseServer/IntelliJIDEALicenseServer_darwin_amd64</string>
<string>-l</string>
<string>0.0.0.0(绑定的IP地址)</string>
<string>-p</string>
<string>(大于1024的端口号)</string>
<string>-u</string>
<string>phpdragon(显示被激活的用户名)</string>
</array>
</dict>
</plist>
➜  ~ /Users/phpdragon/Server/IntelliJIDEALicenseServer/IntelliJIDEALicenseServer_darwin_amd64 -h   #查看启动参数
Usage of /Users/phpdragon/Server/IntelliJIDEALicenseServer/IntelliJIDEALicenseServer_darwin_amd64:
-l string
bind on host (default "0.0.0.0")
-p int
port (default )
-prolongationPeriod string
prolongationPeriod (default "")
-u string
username (default "ilanyu")

3.红色部分请根据实际部署目录来设置,编辑完毕之后拷贝 com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64.plist 文件至 ~/Library/LaunchAgents/ 目录下。

三、服务管理

1. 加载配置好的.plist文件:

launchctl load  ~/Library/LaunchAgents/com.phpdragon.IntelliJIDEALicenseServer.plist

2.查看配置是否加载生效:

➜  ~ launchctl list | grep IntelliJIDEALicenseServer
21598 -15 com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64

3. 使用 launchctl 命令管理你的服务,使用 -h 参数来获取参数说明帮助。

launchctl start com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64  #启动服务
launchctl stop com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64 #停止服务 launchctl list | grep IntelliJIDEALicenseServer | awk '{print $3}' | xargs launchctl start
launchctl list | grep IntelliJIDEALicenseServer | awk '{print $3}' | xargs launchctl stop

4.检查服务是否启动:

➜  ~ telnet 127.0.0.1
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

或者查看服务进程是否已经启动

ps aux | grep IntelliJIDEALicenseServer | grep -v grep

好了,Mac上的 IntelliJIDEALicenseServer 已经安装好了,并随机启动了,开始激活IntelliJIDEA吧!

window请参考:IntelliJ IDEA 激活 及 License Server 安装使用 Window篇

PS:

https://www.liaoxuefeng.com/article/0013738936043408e14365018e3427eaa09758db0ea90ac000

http://blog.csdn.net/abby_sheen/article/details/7817198

http://www.devdaily.com/mac-os-x/launchd-plist-examples-startinterval-startcalendarinterval
http://www.devdaily.com/mac-os-x/mac-osx-startup-crontab-launchd-jobs

IntelliJ IDEA License Server 安装使用 Mac篇的更多相关文章

  1. IntelliJ IDEA 激活 及 License Server 安装使用 Window篇

    IDEA版本: IntelliJ IDEA 2017.2Build #IU-172.3317.76, built on July 15, 2017Licensed to Administrator J ...

  2. phpstorm破解 IntelliJ IDEA License Server本地搭建教程 http://blog.lanyus.com/archives/174.html/comment-page-6#comments 附件:mac环境

    ilanyu's Blog 搜索关键字搜索 首页IDEA注册码文件中转在线记事本老博客关于 IntelliJ IDEA License Server本地搭建教程 作者: ilanyu 时间: Marc ...

  3. 在 Linux 上搭建IntelliJ IDEA license server服务器

    IntelliJIDEALicenseServer_linux_amd64 ,把该文件传到服务器的某个目录,我是放在了/var/local/software目录下 sudo chmod +x ./In ...

  4. 在Ubuntu上搭建IntelliJ IDEA license server服务器

    1.下载激活文件 2.ubuntu需要使用 IntelliJIDEALicenseServer_linux_amd64 ,把该文件传到服务器的某个目录,我是放在了/jideal 下 3.进入上面的目录 ...

  5. IDEA破解 Intellij IDEA license server 激活(可用)

    激活地址如下图所示: 2018 intellij idea 注册码(亲测可用): C0FHYYCJ22-eyJsaWNlbnNlSWQiOiJDMEZIWVlDSjIyIiwibGljZW5zZWVO ...

  6. IntelliJ IDEA License Server本地搭建教程

    Licence地址直接填入 http://idea.qinxi1992.cn/ http://jetbrains.tencent.click 直接破解 本地教程: 2016年3月20日更新支持自定义端 ...

  7. IntelliJ IDEA 、PyCharm、WebStorm、PhpStorm等JetBrains公司软件 激活的License Server本地搭建教程

    一.背景 IntelliJ IDEA是JetBrains公司的一款IDE,主要用于java开发,可以编写Java.Groovy.Kotlin.Scala等语言,也可以直接做Android开发. 同系列 ...

  8. Mac OS X Server 安装与应用

    Mac OS X Server 安装与应用 Mac OS X Server是苹果电脑公司新一代服务器软件.专为OS X和iOS设备.Mac OS X提供服务,现在支持Mavericks,能够轻松共享文 ...

  9. mac OS X下Java项目环境搭建+IntelliJ IDEA Jrebel插件安装与破解+Office 2016破解版安装

    一.mac OS X下Java项目环境搭建 因为某些原因新入手了台最新版的MacBook Pro,意味着今天要花一天时间安装各种软件以及项目环境搭建╮(╯▽╰)╭ 项目环境搭建步骤: 1.安装jdk ...

随机推荐

  1. egret键盘事件监听

    document.addEventListener("keydown", function (event: any) { //alert(event.key); //console ...

  2. egret获取本周,上周,今天,昨天,明天,现在时间,今年,本月

    class TimerShow extends egret.DisplayObjectContainer{ private now = new Date(); //当前日期 private nowDa ...

  3. c c++ #define 定义假函数

    #define   Add(a,b)   ((a)+(b)) #define Max(a,b) ((a)>(b)?(a):(b)) 这就定义了一个假的函数 说白了就是字符串替换 这样在写代码时能 ...

  4. Spring(2)—IOC

    一.Spring IOC是什么 1.简述 Spring是一个开源框架 Spring为简化企业级应用开发而生,使用Spring可以使简单的JavaBean实现以前只有EJB才能实现的功能 Spring是 ...

  5. [原创] 上海招聘高级测试工程师(性能测试/自动化测试/App测试),长期有效

    [原创] 上海招聘高级测试工程师(性能测试/自动化测试/App测试方向),长期有效 高级测试工程师(性能/自动化方向) 1.负责性能测试计划,性能需求分析,性能测试方案和用例设计,搭建性能测试环境,执 ...

  6. js统计文本框剩余可输入字数

    js统计文本框剩余可输入字数 <html><head runat="server"> <title></title> <scr ...

  7. Linux:“awk”命令的妙用

    awk是一个强大的文本分析工具,简单来说awk就是把文件逐行读入,(空格,制表符)为默认分隔符将每行切片,切开的部分再进行各种分析处理. 0.基本用法 awk是一个强大的文本分析工具,简单来说awk就 ...

  8. WPF 模板绑定父级控件内容

    WPF 模板绑定父级控件内容 <Style TargetType="Button" x:Key="btn"> <Setter Property ...

  9. 处理器 趣事 CPU/GPU/TPU/DPU/BPU

    有消息称,阿里巴巴达摩院正在研发一款神经网络芯片——Ali-NPU,主要运用于图像视频分析.机器学习等AI推理计算.按照设计,这款芯片性能将是目前市面上主流CPU.GPU架构AI芯片的10倍,而制造成 ...

  10. php中urlencode与rawurlencode的区别

    前段时间说自己遇到了个<URL加号引发错误>的BUG,引起这个bug的原因就是自己在URL中使用了 urlencode 函数,该函数会把空格转换成加号,这样就导致URL解析出错,而空格只有 ...