You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
657 B

### 1.idea 配置
5 months ago
![[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
```