使用教程
代碼地址:https://gitee.com/gsls200808/JrebelLicenseServerforJava
運行服務-jar方式
? ?1.將 Jrebel License Server 專案克隆到本地,或下載 zip
? ?2.編譯并打包專案
? ?3.運行專案
java -jar JrebelBrainsLicenseServerforJava-1.0-SNAPSHOT-jar-with-dependencies.jar -p 8081
? 默認埠為 8081,你也可以自己修改指定的埠
運行服務-docker方式
-
安裝 docker 環境
詳情參考官網:https://www.docker.com/get-started
-
克隆專案到本地
-
創建鏡像
cd /path/to/projectmvn packagedocker build -t jrebel-ls -
運行鏡像
docker run -d --name jrebel-ls --restart always -e PORT=9001 -p 9001:9001 jrebel-ls默認埠為 9001,你也可以自己修改指定的埠
-
運行,成功則顯示如下
激活IDEA(2020.2.3測驗成功)
-
點擊激活 Idea
-
激活方式選擇 License server
-
輸入激活路徑:
http://localhost:8081/64245b6b-ef68-4bdc-aabf-7f8e85a540e4
- 前半部分為你的激活服務器地址和埠
- 后半部分為 UUID,你可以前往以下網站自行生成:https://www.uuidgenerator.net/
-
點擊 ACTIVATE 完成激活
Jrebel 激活
-
下載并安裝 Jrebel
-
打開激活界面,選擇激活方式為:Connect to online licensing service
-
在 Team URL (required) 一欄輸入你的激活服務器地址,如:
http://localhost:8081/64245b6b-ef68-4bdc-aabf-7f8e85a540e4
- 前半部分為你的激活服務器地址
- 后半部分為 UUID,你可以前往以下網站自行生成:https://www.uuidgenerator.net/
-
在 Email address (required) 一欄輸入你的郵箱地址,可以隨意填寫
-
點擊 Activate 完成激活,激活前記得勾選 “I agree with the terms & conditions of the License Agreement” 選項,否則無法激活
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/234609.html
標籤:Java
上一篇:精盡Spring MVC原始碼分析 - 一個請求的旅行程序
下一篇:如何學習23種設計模式及其思想?
