idea之idea激活服务搭建

idea激活网上都有激活链接.这个搭建纯属娱乐,而且再强调一次,有条件的请支持正版.谢谢.

再说这服务搭建,只是去做了个端口转发,真正的实现也只有lanyu大仙晓得了,,,在此无以言表,感激涕零大仙能让我等屌丝用上最好用的ide. 不多说了上菜,

--------------------------win bat

@echo off

@Rem localhost

set l=0.0.0.0:8888

@Rem remote

set r=http://idea.lanyus.com:80

@Rem download

set d=https://github.com/ilanyu/ReverseProxy/releases/download/v1.4/ReverseProxy_windows_amd64.exe

@Rem filename

set f=ReverseProxy_windows_amd64.exe

@Rem file path

set p=%cd%\

set pf=%p%%f%

 

echo %pf%

if exist %pf% goto start

if not exist %pf% goto downloadfile

:downloadfile

 echo "ReverseProxy is downloading..."

 certutil.exe -urlcache -split -f %d%

 goto start

goto end

:start

echo "start..."

cd %p%

%f% -l %l% -r %r%

goto end

pause

 

 

-------------------------centos7 sh

#!/bin/bash

 

# localhost

l="0.0.0.0:8888"

# remote

r="http://idea.lanyus.com:80"

# download

d="https://github.com/ilanyu/ReverseProxy/releases/download/v1.4/ReverseProxy_linux_amd64"

# filename

f="ReverseProxy_linux_amd64"

# file path

p="/usr/bin/"

pf=""$p""$f""

 

if [ -f $pf ];then

 echo "start..."

else

 echo "ReverseProxy is downloading..."

 yum install wget

 wget -c -O $pf $d

fi

chmod 555 $pf

 

cd $p

 

./$f -l $l -r $r

 

以上就是搭建过程了,是不是很简单呢.... 哈哈哈,其实就是下载了个文件,这个文件是 go 打包成不同平台的脚本,这个脚本做了端口转发而已.

win 下的搭建,  

1 创建个 txt 文件,

2 把bat脚本粘过去

3 把后缀 txt 改为 bat

4 双击执行  。 如果安装了360 会出现弹框,允许运行就好,这个过程会有点长,毕竟是从github上下载 而且 win的命令行下载是相当简直的慢的一匹 ,当然你也可以自行下载, 把文件放在 脚本同级目录.再执行. 然后还有个问题哦, idea对本地ip 和 局域网 ip 做了判断 ,也就是说你激活的时候会激活失败,地址无效..

当然你可以装个centos 7.x 的虚拟机,

1 创建个.sh 的脚本(vi active.sh)

2 然后把代码适用于centos脚本考进去, 然后保存退出( esc → shift + : → wq → 回车)

3 赋权限 (chmod 777 active.sh)

4 执行 sh active.sh

再然后打开你的idea 选择license server  输入 http://激活服务器的ip:8888

端口默认是 8888  具体参考脚本文件.

最后有需要购买服务器玩的,请戳→ 

https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=tqpvz8yl
领取优惠券.

 

直接复制可能有问题 放个链接

https://github.com/a983132370/ideactive

 

 

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值