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.
627 B
627 B
1.idea 配置
- docker 修改dockerfile
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"]
- 普通部署
nohup java -jar xxxxx
2.开启端口
3.防火墙
- centos
firewall-cmd --zone=public --add-port=5005/tcp --permanent
firewall-cmd --reload