SpringBoot 1.项目构建

很早就想写一下SpringBoot的博客了,17年底鸽到了现在,终于有时间了。正好最近也出了2.0,开始边学边写吧。本系列教程基于Spring Boot 2.0、JDK 8u161。项目git地址

阅读全文

Mysql用户相关

添加用户

1
2
create user 'username'@'host' identified by 'password'; -- 命令
create user 'tt'@'localhost' identified by '123456'; -- 例子

阅读全文

Redis进阶命令

redis info 命令详解

以一种易于解释(parse)且易于阅读的格式,返回关于 Redis 服务器的各种信息和统计数值。

阅读全文

Jenkins安装配置+部署SpringBoot

Jenkins

下载安装

官网https://jenkins.io/download/

阅读全文

各环境变量配置

CentOS下各环境变量配置

Java

官网http://www.oracle.com/technetwork/java/javase/downloads/index.html

阅读全文

互联网协议入门

互联网协议入门

原文:互联网协议入门(阮一峰)

阅读全文

Java 8 并发 Threads 和 Executors

原文地址: Java 8 Concurrency Tutorial: Threads and Executors

阅读全文

SpringBoot使用IDEA远程debug

IDEA配置

debug选择remote,一般会有默认配置,使用默认配置即可。如果没有默认配置,可以按照下图:

idea配置

阅读全文

阿里云+Https+Nginx+SpringBoot

SpringBoot配置

application.properties/yml配置:

1
2
3
4
server.port=8080
server.tomcat.protocol_header=x-forwarded-proto
server.use-forward-headers=true
server.address=127.0.0.1

阅读全文

VPS安装SSR和BBR

一键安装SSR

1
wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/shadowsocks_install/master/ssr-install.sh && bash ssr-install.sh

阅读全文