HelloWood

SpringBoot-使用 MyBatis 通用 Mapper

SpringBoot Java MyBatis
SpringBoot 使用 MyBatis 通用 Mapper 通用 Mapper 是一个开源的 MyBatis 插件,该插件可以使用通用的 MyBatis方法,减少简单的 CRUD,提高开发效率;推荐搭配分页插件 PageHelper 一起使用;通用 Mapper 插件虽然没有 MyBat ...
Read more

SpringBoot-使用 Spring Session 实现 Session 共享

SpringBoot Java SpringSession Session
SpringBoot 使用 Spring Session 实现 Session 共享通过 Redis 共享配置 配置并启动 Redis 添加依赖 123456dependencies { compile('org.springframework.session:s ...
Read more

SpringBoot 使用QuartzJob实现任务控制

SpringBoot Java Quartz Job
SpringBoot 使用QuartzJob实现任务控制 项目地址https://github.com/helloworlde/SpringBootCollection/tree/master/SpringBoot-ScheduledJob 在 SpringBoot 中通过 @Sched ...
Read more

SpringBoot 使用 MyBatis PageHelper 分页插件

SpringBoot Java MyBatis
SpringBoot 使用 MyBatis 分页插件 MyBatis PageHelper 是一个 MyBatis 分页插件,能够比较方便的实现 MyBatis 的分页 添加依赖 build.gradle 1compile('com.github.pagehelper:pa ...
Read more

SpringBoot 使用 ELK 日志收集系统安装配置

SpringBoot Java ELK Log
SpringBoot 使用 ELK 日志收集系统安装配置Elasticsearch 下载 Elasticsearch 解压并运行 bin/elasticsearch 访问 http://localhost:9200, 会看到以下内容 123456789101112131415 ...
Read more

SpringBoot logback 输出日志到数据库、Logstash

SpringBoot Java ElasticSearch ELK
SpringBoot logback 输出日志到数据库、Logstash输入日志到数据库 创建表 123456789101112131415161718192021222324252627282930313233343536373839DROP TABLE IF EXISTS loggin ...
Read more

SpringBoot 中日志使用

SpringBoot Java Log
SpringBoot 中日志使用配置日志输出到文件12345# 输出到指定文件logging.file=./logs/application.log# 输出到指定目录下(会写入到 spring.log 中)logging.path=./log ...
Read more

SpringBoot 使用 ElasticSearch

SpringBoot Java ElasticSearch ELK
Spring Boot 使用 ElasticSearch 项目地址:https://github.com/helloworlde/SpringBootCollection/tree/master/SpringBoot-ElasticSearch ElasticSearch 是一个开源的分 ...
Read more

Swagger 常用注解说明

SpringBoot Java Swagger
Swagger 常用注解说明 注解 属性 值 备注 @Api value 字符串 可用在class头上,class描述 description 字符串 @Api(value = "xxx", description = "xxx&qu ...
Read more

SpringBoot 集成 Swagger API 文档工具

SpringBoot Java Swagger
Spring Boot 集成 Swagger API 文档工具 项目地址:https://github.com/helloworlde/SpringBootCollection/blob/master/SpringBoot-Swagger Swaager 是一个开源用于设计、撰写、测试 ...
Read more

Spring Boot 使用 Flyway

SpringBoot Java Flyway
Spring Boot 使用 Flyway 项目地址:https://github.com/helloworlde/SpringBootCollection/tree/master/SpringBoot-Flyway Flyway 是一个数据库版本管理工具,用于管理数据库操作脚本 添加 ...
Read more

Rocket MQ 相关知识

Java Rocket MQ
RocketMQ 相关知识@(消息队列)[RocketMQ, 消息] Rocket MQ消息队列(Message Queue,简称 MQ)是阿里巴巴集团中间件技术部自主研发的专业消息中间件。产品基于高可用分布式集群技术,提供消息发布订阅、消息轨迹查询、定时(延时)消息、资源统计、监控报警等 ...
Read more

Rocket MQ 发送消息

Java Rocket MQ
Rocket MQ 发送消息@(消息队列)[RocketMQ, 消息] 使用阿里巴巴的Rocket MQ发送消息的SpringBoo项目 使用之前请现在阿里云申请消息队列并创建消息TOPIC、Producer和Consumer 启动 下载: https://github.com/he ...
Read more

Windows Server搭建Shadowsocks服务器

Shadowsocks
在Windows Server 下搭建Shadowsocks,使用最简单的方式搭建 1. 下载Shadowsocks程序下载并解压Shadowsocks文件https://github.com/shadowsocks/libQtShadowsocks/releases 2. 添加conf ...
Read more

Spring Boot Admin 管理应用-客户端注册

SpringBoot Java Actuator
SpringBoot Admin管理应用-客户端注册 客户端注册可以通过直接注册到管理应用和通过注册中心注册两种方式 直接注册到管理应用 直接注册到管理应用只需要一个Server和一个Client就可以,Client配置admin Server地址就可以实现管理 配置管理应用Serve ...
Read more

Ubuntu安装配置 Jenkins

Ubuntu Jenkins
在 Ubuntu 下 Jenkins 服务 1. 安装 安装前确认JDK环境配置是正确的 123456wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt- ...
Read more

Ubuntu安装JDK

Ubuntu JDK
在Ubuntu通过Java官网下载安装JDK 安装1 创建文件夹 1mkdir java 2 下载JDK JDK 下载地址http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.ht ...
Read more

Ubuntu安装 Nginx

Ubuntu Nginx
在 Ubuntu 上安装 Nginx 1. 通过 Ubuntu 的仓库安装安装 安装 1sudo apt-get install nginx 目录结构 所有文件都在 /etc/nginx/目录下 程序文件在/user/local/nginx/sbin/目录下 日志在/var/lo ...
Read more

Ubuntu安装 Redis -编译方式安装

Ubuntu Reids
使用 sudo apt install redis-server安装的 Redis 并不是最新的,通过在官网下载来安装最新的 Redis 1 创建文件夹1mkdir redis 2 下载 Redis1wget http://download.redis.io ...
Read more

Ubuntu搭建Redis服务器

Ubuntu Reids
在Ubuntu中搭建Redis服务器 安装###1 安装 1sudo apt-get install redis-server ###2 启动 1redis-server 12345678910111213141516171819202122232425265617:C 18 Se ...
Read more
Prev Next