西木-Lee

 

2021年1月13日

canal实时同步mysql binlog到rabbitmq

摘要: 本文使用mysql+canal+rabbitmq mysql 配置和canal安装请参考canal官网 https://github.com/alibaba/canal/wiki/QuickStart Canal Kafka RocketMQ RabbitMQ QuickStart # 说明 can 阅读全文

posted @ 2021-01-13 15:06 西木-Lee 阅读(1629) 评论(0) 推荐(0) 编辑

2020年3月23日

linux查看进程(java)启动时间

摘要: ps axo pid,ppid,comm,pmem,lstart | grep java 效果如下: 79295 1 java 3.5 Fri Mar 20 17:46:28 2020 100302 1 java 3.2 Thu Mar 19 15:28:16 2020 100957 1 java 阅读全文

posted @ 2020-03-23 09:56 西木-Lee 阅读(3751) 评论(0) 推荐(0) 编辑

2020年2月29日

(ubuntu)安装配置jenkins(新版)

摘要: #官网目前支持多种安装方案,有兴趣的直接去查看,本文使用安装方式地址如下,直接戳https://jenkins.io/zh/doc/book/installing/#war%E6%96%87%E4%BB%B6 下载jenkins.war #安装配置jenkins cd /data/jenkins w 阅读全文

posted @ 2020-02-29 15:57 西木-Lee 阅读(1065) 评论(0) 推荐(0) 编辑

2019年10月25日

ubuntu/centos设置IP/DNS

摘要: Ubuntu设置IP/DNS 编辑 /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more i 阅读全文

posted @ 2019-10-25 15:28 西木-Lee 阅读(147) 评论(0) 推荐(0) 编辑

2019年7月15日

查看redis配置

摘要: 示例 note(小问题) 阅读全文

posted @ 2019-07-15 16:12 西木-Lee 阅读(5508) 评论(1) 推荐(1) 编辑

2019年7月2日

Springboot使用docker容器部署

摘要: 本文基于ubuntu 16 1.安装openjdk8(略) 2.创建Dockerfile文件 Dockerfile内容 FROM openjdk:8MAINTAINER Lee <li_xyu@foxmail.com> WORKDIR /homeVOLUME /home/logsENV java_o 阅读全文

posted @ 2019-07-02 20:09 西木-Lee 阅读(1021) 评论(0) 推荐(0) 编辑

2019年3月7日

centos &ubuntu 安装filebeat

摘要: 先贴一下官方文档 https://www.elastic.co/guide/en/beats/filebeat/6.6/filebeat-installation.html 我本次使用rpm的方式安装,与官方文档略有差异,记录如下: centos安装 ubuntu安装 配置input 安装成功之后, 阅读全文

posted @ 2019-03-07 15:09 西木-Lee 阅读(520) 评论(0) 推荐(0) 编辑

2018年12月29日

spring boot常用注解小计

摘要: @Async 需要执行异步方法时,在方法上加上@Async之后,底层使用多线程技术 。启动类上需要加上 @EnableAsync 注意:异步执行方法,不能与引用方法同在一个类里 @Transactional org.springframework.transaction.annotation包 ,不 阅读全文

posted @ 2018-12-29 16:32 西木-Lee 阅读(277) 评论(0) 推荐(0) 编辑

2018年12月4日

IDEA中显示RunDashboard

摘要: 在打开.idea/workspace.xml,找到RunDashboard的配置,添加红色字体内容 阅读全文

posted @ 2018-12-04 18:05 西木-Lee 阅读(512) 评论(0) 推荐(0) 编辑

2018年11月22日

IDEA中使用中jetty启动java项目(非springboot)

摘要: 1.安装maven helper插件,略 2.项目pom.xml文件中添加jetty插件配置 3.run-->edit configurations,新增maven a)在working directory 内,选择项目路径 b)在command line内,输入jetty:run c) run 或 阅读全文

posted @ 2018-11-22 16:29 西木-Lee 阅读(6354) 评论(0) 推荐(0) 编辑

导航