自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 [SpringCloud]4. service-zuul

1. Cloud Discovery ☑️Eureka Server   Cloud Routing ☑️Zuul2. ServiceZuulApplication通过注解@EnableDiscoveryClient 向服务中心注册通过注解@EnableZuulProxy 开启zuul的功能import org.springframework.boot.SpringApplication; imp...

2018-06-14 15:00:52 214

原创 [SpringCloud]3. service-feign

1. Web ☑️Web   Cloud Discovery ☑️Eureka Server   Cloud Routing ☑️Feign2. ServiceFeignApplication通过注解@EnableDiscoveryClient 向服务中心注册通过注解@EnableFeignClients 开启Feign的功能import org.springframework.boot.Spri...

2018-06-14 13:51:03 201

原创 [SpringCloud]2. service-hi

1. Cloud Discovery ☑️Eureka Server2. ServiceHiApplication通过注解@EnableEurekaClient 表明自己是一个EurekaClientimport org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.Spr...

2018-06-14 13:11:21 469

原创 [SpringCloud]1. eureka-server

1. Cloud Discovery ☑️Eureka Server2. EurekaServerApplication在springboot工程的启动Application类上加一个注解@EnableEurekaServer,启动一个服务注册中心import org.springframework.boot.SpringApplication; import org.springframewor...

2018-06-14 10:29:49 199

原创 [SpringBoot]2. mysql+mybatis+druid整合

application.ymlspring: datasource: type: com.alibaba.druid.pool.DruidDataSource # https://github.com/alibaba/druid/tree/master/druid-spring-boot-starter druid: # JDBC配置 url: ...

2018-06-07 14:48:52 551

原创 [SpringBoot]1. devtools

pom.xml<!-- 支持热部署: 1. 修改类–>保存:应用会重启 2. 修改配置文件–>保存:应用会重启 3. 修改页面–>保存:应用不会重启,但会重新加载,页面会刷新 --> <dependency> <groupId>org.springframework.boot</groupId> <artifa...

2018-06-07 09:55:46 153

原创 [Virtual Machine]CentOS7同步时间

[root@localhost ~]# yum install -y ntp [root@localhost ~]# ntpdate asia.pool.ntp.org  

2018-06-06 16:52:33 181

原创 [Virtual Machine]CentOS7基本配置--安装Redis

下载/安装最新版Redis点击打开链接scp /Users/xxx/Downloads/redis-....tar.gz root@192.168.xx.xxx:/usr/local/src安装[root@localhost src]# tar -xzvf redis-....tar.gz[root@localhost src]# cd /usr/local/src/redis-4.0.9直接编译...

2018-06-06 13:34:03 167

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除