07 2024 档案
摘要:先说结论 接口BeanPostProcessor 更灵活, 可以实现bean生命周期里前,后分别执行某些内容,必须是spring管理的bean才能实现此功能,不加@Component不生效 @Component public class MyBeanPostProcessor implements
阅读全文
摘要:ansible-playbook ansible-playbook执行脚本,并输出到控制台 - name: Deploy nginx logrotate.sh and print the result hosts: all become: yes # 如果需要以root权限执行命令,则需要这一行 t
阅读全文
摘要:elasticsearch 导出 elasticdump --input="http://username:password@domain-es.jdl.com/domain_slowlog_es_*" --output="D:\Software\es_slow_log_total.json" --
阅读全文