Wesley13 Wesley13
4年前
jackson学习之九:springboot整合(配置文件)
欢迎访问我的GitHub这里分类和汇总了欣宸的全部原创(含配套源码):https://github.com/zq2599/blog\_demos(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Fzq2599%2Fblog_demos)
Wesley13 Wesley13
4年前
ubuntu下搭载LNMP环境,解决 fpm监听失败
1.安装mysql1.sudoaptgetinstallmysqlservermysqlclient安装过程中要输入root用户的密码。2.安装nginx1.sudoaptgetinstallnginx2.安装php1. sudoaptgetinstallphp5fpmph
Wesley13 Wesley13
4年前
2012.06.28
struts2extjsupload:extjsform增加属性fileUpload:true,struts配置文件中增加<interceptorrefname"fileUpload"</interceptorref<interceptorrefname"defaultStack"/action返回前增
Stella981 Stella981
4年前
Docker实战——分布式Websocket服务
一、项目介绍我们很容易可以使用Springboot来搭建一个支持websocket的应用,用来实现基于HTML5的客户端之间进行消息的接收和推送。但是在实际应用的部署时,客户端和应用服务器之间总会用到Nginx或者Apache来做反向代理,来实现负载均衡。用Nginx举个例子来说,我们使用轮询的方式,将客户端的请求分发到后端3台w
Easter79 Easter79
4年前
Spring源码浅析之配置文件解析(一)
1.配置文件解析主流程!(https://static.oschina.net/uploads/space/2018/0425/222221_HsTd_3825911.png)2.默认标签解析!(https://static.oschina.net/uploads/space/2018/0425/222249_gV4v_3
Easter79 Easter79
4年前
SpringCloud 服务通信方法
eureka服务已经启动 http://localhost:8761/注:在启动文件加上注解@EnableEurekaServerapplication.yml配置文件eureka:instance:hostname:localhostclient:se
Wesley13 Wesley13
4年前
vertx读取配置文件,获得端口号
1:在src/conf目录下创建conf.json{"http.port":8082}2:创建Verticle,config().getInteger("http.port",8080),将会读取配置文件,是否有http.port,没有就使用8080作为默认,packageverticl
Stella981 Stella981
4年前
SpringBoot学习笔记
1. 读取application.properties配置文件  application.properties内容:book.namespringbootbook.number${random.value}读取代码@RestController
Easter79 Easter79
4年前
SpringBoot学习笔记
1. 读取application.properties配置文件  application.properties内容:book.namespringbootbook.number${random.value}读取代码@RestController
芝士年糕 芝士年糕
3年前
使用nginx进行负载均衡
我使用了三台VPS服务器,同一网段的,用来搭建网站,推荐你们也可以使用3A服务器1.nginx负载均衡介绍nginx应用场景之一就是负载均衡。在访问量较多的时候,可以通过负载均衡,将多个请求分摊到多台服务器上,相当于把一台服务器需要承担的负载量交