使用Linux的systemd运行jar包

服务定义文件vi /lib/systemd/system/[APP_NAME].service[Unit]Description=[APP_NAME][Service]WorkingDirectory=/optPrivateTmp=trueRestart=alwaysType=simpleExecS
2023年03月07日 19次浏览

Java公认通俗易懂的包名

annotationaspectcacheconfigcontrollercoreeventexceptionfactoryfilterhandlerlistenermailmodelrepositorysecurityservicetaskthemeutils
Java 2023年02月28日 19次浏览

es转储工具elasticdump

elasticsearch 2022年09月25日 167次浏览

Jmeter分布式环境搭建

1. 压力机配置jmeter.propertiesserver_port=1099server.rmi.localport=1099server.rmi.ssl.disable=true启动:``2. 控制机配置remote_hosts=192.168.1.101:1099,192.168.1.10
2022年09月22日 159次浏览

Springboot通过kafka收集日志

一、logback依赖 <dependency> <groupId>com.github.danielwegener</groupId> <artifactId>logback-kafka-ap
Kafka 2022年09月13日 147次浏览

K8s部署apollo配置中心configServices内网IP问题

说明K8s部署apollo配置中,springboot启动后,从容器IP上获取配置,因为是内部IP,所以外部无法连接springboot集成apollo配置,如下app: id: 100001apollo: cacheDir: /tmp/apollo/ cluster: default me
Java 2022年07月07日 266次浏览

OpenAPI接口签名验签设计

OpenAPI接口验签设计1. 参数private static String url = “http://xxx.xxx.com/gateway”;private static String appId = “test”;private static String appKey = “3336AF
2022年05月26日 245次浏览

Java使用itextpdf向PDF上添加图片

添加依赖 <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId>
2021年08月09日 556次浏览

Java连接使用Ceph(S3对象存储)代码示例

**注:**代码示例带源于网络添加依赖 <dependencyManagement> <dependencies> <dependency> <groupId>com.amazon
2020年07月19日 675次浏览

alibaba开源的Java诊断工具-Arthas

简介Arthas 是Alibaba开源的Java诊断工具当你遇到以下类似问题而束手无策时,Arthas可以帮助你解决:这个类从哪个 jar 包加载的?为什么会报各种类相关的 Exception?我改的代码为什么没有执行到?难道是我没 commit?分支搞错了?遇到问题无法在线上 debug,难道只能
2019年10月24日 664次浏览