IntelliJ IDEA License Server本地搭建教程

2016年3月20日更新支持自定义端口及用户名,详见
http://blog.lanyus.com/archives/189.html
2016年7月13日更新支持自定义浏览器打开页面,详见
http://blog.lanyus.com/archives/228.html
2016年7月15日更新完善自定义用户名功能,详见
http://blog.lanyus.com/archives/231.html
2017年5月24日更新修复ReSharper无法激活的问题,详见
http://blog.lanyus.com/archives/305.html
2017年10月1日更新修复mac os 10.13上无法运行的问题,详见
http://blog.lanyus.com/archives/314.html

1、下载下面的文件

1017端口版:

链接: http://download.csdn.net/detail/lanyu19950216/9465577

备用链接: https://drive.google.com/file/d/0Bx7wGDIg2K-7MTJ1TGN1V1IzTVk/view?usp=sharing

备用链接: https://pan.baidu.com/s/1hqVTze8 密码: pf5n

41017端口版:

链接:http://download.csdn.net/detail/lanyu19950216/9465792

备用链接: https://drive.google.com/file/d/0Bx7wGDIg2K-7T2JNRjhMNTZ6bGc/view?usp=sharing

v1.3:

磁力链接: magnet:?xt=urn:btih:2289E4F8CEB346AC44E54C8C0DA706CC537301AA

v1.4:

https://mega.nz/#!Hs4CEbRR!FteOJmJ0AfuLvTUFs3dn9xH6eESm3io2BZ5neIXTQds

解压密码:3415E428

磁力链接: magnet:?xt=urn:btih:ED1FA379ECBD34D13CB7D14B0C2B024986A6FC79&dn=IntelliJIDEALicenseServer(v1.4).tar

v1.5:

https://mega.nz/#!2w5WBL7I!OhsaQHOaW_IsUznu5loN3a-bSbLV--McOBqA-PM8EuY

2、找到自己操作系统的版本,我这里使用IntelliJIDEALicenseServer_windows_amd64.exe,双击打开运行

3、在idea注册界面选择授权服务器,填写http://127.0.0.1:1017,然后点击“OK”,如图

PS:不要问为啥端口是1017,我女票生日

IntelliJIDEALicenseServer.png


新方法:

可直接使用 http://blog.lanyus.com/archives/317.html 的反向代理工具, 搭建idea.lanyus.com的反向代理激活idea、jrebel、xrebel、jrebel for android

标签: none

已有 539 条评论

  1. xiebruce xiebruce

    mac更新到MacOS High Sierra (即10.13)后,IntelliJIDEALicenseServer_darwin_amd64无法启动,报错信息如下:
    failed MSpanList_Insert 0x745000 0x68c2f478f1 0x0 0x0
    fatal error: MSpanList_Insert

    runtime stack:
    runtime.throw(0x4c5330, 0x10)
    D:/go/src/runtime/panic.go:530 +0x90 fp=0x7ffeefbff3d0 sp=0x7ffeefbff3b8
    runtime.(*mSpanList).insert(0x6ae6e8, 0x745000)
    D:/go/src/runtime/mheap.go:933 +0x293 fp=0x7ffeefbff400 sp=0x7ffeefbff3d0
    runtime.(*mheap).freeSpanLocked(0x6adee0, 0x745000, 0x100, 0x0)
    D:/go/src/runtime/mheap.go:809 +0x4be fp=0x7ffeefbff468 sp=0x7ffeefbff400
    runtime.(*mheap).grow(0x6adee0, 0x8, 0x0)
    D:/go/src/runtime/mheap.go:675 +0x2a0 fp=0x7ffeefbff4c0 sp=0x7ffeefbff468
    runtime.(*mheap).allocSpanLocked(0x6adee0, 0x1, 0x0)
    D:/go/src/runtime/mheap.go:553 +0x4e3 fp=0x7ffeefbff518 sp=0x7ffeefbff4c0
    runtime.(*mheap).alloc_m(0x6adee0, 0x1, 0x15, 0x0)
    D:/go/src/runtime/mheap.go:437 +0x119 fp=0x7ffeefbff548 sp=0x7ffeefbff518
    runtime.(*mheap).alloc.func1()
    D:/go/src/runtime/mheap.go:502 +0x41 fp=0x7ffeefbff578 sp=0x7ffeefbff548
    runtime.systemstack(0x7ffeefbff598)
    D:/go/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff580 sp=0x7ffeefbff578
    runtime.(*mheap).alloc(0x6adee0, 0x1, 0x10000000015, 0x111ef)
    D:/go/src/runtime/mheap.go:503 +0x63 fp=0x7ffeefbff5c8 sp=0x7ffeefbff580
    runtime.(*mcentral).grow(0x6afae0, 0x0)
    D:/go/src/runtime/mcentral.go:209 +0x93 fp=0x7ffeefbff630 sp=0x7ffeefbff5c8
    runtime.(*mcentral).cacheSpan(0x6afae0, 0x6a8788)
    D:/go/src/runtime/mcentral.go:89 +0x47d fp=0x7ffeefbff670 sp=0x7ffeefbff630
    runtime.(*mcache).refill(0x741000, 0x15, 0x7ffeefbff6d8)
    D:/go/src/runtime/mcache.go:119 +0xcc fp=0x7ffeefbff6a8 sp=0x7ffeefbff670
    runtime.mallocgc.func2()
    D:/go/src/runtime/malloc.go:642 +0x2b fp=0x7ffeefbff6c8 sp=0x7ffeefbff6a8
    runtime.systemstack(0x7ffeefbff768)
    D:/go/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff6d0 sp=0x7ffeefbff6c8
    runtime.mallocgc(0x180, 0x46e0a0, 0x0, 0x800000000)
    D:/go/src/runtime/malloc.go:643 +0x869 fp=0x7ffeefbff7a8 sp=0x7ffeefbff6d0
    runtime.newobject(0x46e0a0, 0x6a8cd0)
    D:/go/src/runtime/malloc.go:781 +0x42 fp=0x7ffeefbff7d0 sp=0x7ffeefbff7a8
    runtime.malg(0x8000, 0x6a91c0)
    D:/go/src/runtime/proc.go:2634 +0x27 fp=0x7ffeefbff808 sp=0x7ffeefbff7d0
    runtime.mpreinit(0x6a9760)
    D:/go/src/runtime/os1_darwin.go:140 +0x1f fp=0x7ffeefbff820 sp=0x7ffeefbff808
    runtime.mcommoninit(0x6a9760)
    D:/go/src/runtime/proc.go:494 +0x105 fp=0x7ffeefbff868 sp=0x7ffeefbff820
    runtime.schedinit()
    D:/go/src/runtime/proc.go:434 +0x79 fp=0x7ffeefbff8b0 sp=0x7ffeefbff868
    runtime.rt0_go(0x7ffeefbff8e8, 0x1, 0x7ffeefbff8e8, 0x0, 0x0, 0x1, 0x7ffeefbffa60, 0x0, 0x7ffeefbffa89, 0x7ffeefbffacb, ...)
    D:/go/src/runtime/asm_amd64.s:138 +0x132 fp=0x7ffeefbff8b8 sp=0x7ffeefbff8b0

    希望能更新,辛苦!

    1. suyh suyh

      @xiebruce放在docker里可以用

    2. 解决好了

      1. xiebruce xiebruce

        @ilanyu

        谢谢啦,是可以运行了,但是很奇怪,我自己写了个自启动plist老是说:Path had bad ownership/permissions,不知能否帮忙看看问题所在?


        Label IntelliJIDEALicenseServer.plist ProgramArguments /usr/local/IntelliJIDEALicenseServer/IntelliJIDEALicenseServer_darwin_amd64 -u Bruce Xie -p 41017 -prolongationPeriod 3153600000 RunAtLoad

        权限是这样的,肯定是有权限,因为我mysql那些这么做就可以,而且这个plist一开始是可以用的,后来好像macos升级后就出来这个问题了

        -rwxrwxrwx 1 Bruce staff 650 Apr 2 2017 IntelliJIDEALicenseServer.plist
        -rwxr-xr-x@ 1 Bruce staff 5006096 Oct 15 15:10 IntelliJIDEALicenseServer_darwin_amd64

        1. @xiebruce
          我没mac

          1. xiebruce xiebruce

            @ilanyu
            啊?那这个mac程序你是怎么开发的哈哈?

        2. xiebruce xiebruce

          奇怪,plist内容发不出来?

          <?xml version="1.0" encoding="UTF-8"?><br> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><br> <plist version="1.0"><br> <dict><br> <key><br>Label</key><br> <string><br>IntelliJIDEALicenseServer.plist</string><br> <key><br>ProgramArguments</key><br> <array><br> <string><br>/usr/local/IntelliJIDEALicenseServer/IntelliJIDEALicenseServer_darwin_amd64</string><br> <string><br>-u</string><br> <string><br>Bruce Xie</string><br> <string><br>-p</string><br> <string><br>41017</string><br> <string><br>-prolongationPeriod</string><br> <string><br>3153600000</string><br> </array><br> <key><br>RunAtLoad</key><br> <true/><br> </dict><br> </plist><br>

          1. xiebruce xiebruce

            <?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>
            Label</key>
            <string>
            IntelliJIDEALicenseServer.plist</string>
            <key>
            ProgramArguments</key>
            <array>
            <string>
            /usr/local/IntelliJIDEALicenseServer/IntelliJIDEALicenseServer_darwin_amd64</string>
            <string>
            -u</string>
            <string>
            Bruce Xie</string>
            <string>
            -p</string>
            <string>
            41017</string>
            <string>
            -prolongationPeriod</string>
            <string>
            3153600000</string>
            </array>
            <key>
            RunAtLoad</key>
            <true/>
            </dict>
            </plist>

        3. @xiebruce
          就用golang啊, 可以直接编译份mac的出来

  2. Alucardxy Alucardxy

    1.5有没有41017版本的?1017的mac不让绑定端口

    1. @Alucardxy
      可以使用--help参数查看帮助, 可以用过修改参数的方式改端口的

    2. MiNG MiNG

      @Alucardxy

      sudo就能绑定上了,mac绑定1024以下的需要sudo

  3. G G

    License server at xxx was used less then 48hrs ago.Assuming permission granted.
    服务器搭建完没多久ReSharper就提示这个了 服务器好像就被封了

    1. @G
      你是不是公开了,jetbrains那边经常都在封,都是封的域名或者IP,换个域名或IP就好了

  4. Yf Yf

    大神,能不能给一个其它下载地址呀,mega.nz网面打不开!

    1. @Yf
      链接: https://pan.baidu.com/s/1ge7LnVl 密码: 5c34

      1. Yf Yf

        @ilanyu非常感谢!

  5. qianyc qianyc

    其实,我生日也是1017。明天就要过生日了。同时也祝博主女票生日快乐!

  6. lomocc lomocc

    祝博主女友生日快乐。以及 @qianyc 。

  7. edwin edwin

    在虚拟机centos开这个,主机提示找不到server乍办办呢,,我在虚拟机里已经把对应的端口都打开了的来着

添加新评论