### 1.idea 配置 ![[Pasted image 20250402141754.png]] 新建remote jvm debug 配置 红框复制到 启动命令行中 + docker 修改dockerfile ```shell ENTRYPOINT ["java","--add-opens", "java.base/jdk.internal.misc=ALL-UNNAMED", "--illegal-access=warn","-Duser.timezone=Asia/Shanghai","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005","-jar","/java/arksh.jar","--spring.profiles.active=prod"] ``` + 普通部署 ```shell nohup java -jar xxxxx ``` ### 2.开启端口 + docker ![[Pasted image 20240229113127.png]] ### 3.防火墙 + centos ```shell firewall-cmd --zone=public --add-port=5005/tcp --permanent firewall-cmd --reload ```