Jrebel 远程热部署

1. 第一步 安装服务器Jrebel

  • jrebel 官网链接
  • 解压 unzip jrebel-2018.1.0-nosetup.zip
  • ! 如果提示 command not found -> yum install unzip

2. 配置本地的Jrebel

  • Jrebel 远程热部署
  • 两个选项打上勾Jrebel 远程热部署

3.启动打包的jar包

  • 这里可以看到教程Jrebel 远程热部署

  • nohup java "-agentpath:${你的Jrebel解压路径}jrebel/lib/libjrebel64.so" -Drebel.remoting_plugin=true -jar ${你的jar包名} &

  • 完整版nohup java "-agentpath:/home/Jrebel/jrebel/lib/libjrebel64.so" -Drebel.remoting_plugin=true -jar hotdeploy-0.0.1.jar &

4. 链接到服务器

  • Jrebel 远程热部署
    -Jrebel 远程热部署

参考:https://manuals.jrebel.com/jrebel/remoteserver/intellij.html#intellijremoteserver