08 2017 档案

Spring Boot和Dubbo整合
摘要:provider端 1. POM依赖 2. service实现 3. application.properties consumer端 1. POM依赖 2. consumer实现 3. application.properties 4. 测试 启动zookeeper 使用curl或PostMan测 阅读全文

posted @ 2017-08-31 12:19 James.H.Fu 阅读(525) 评论(0) 推荐(0)

springboot 定制错误页面
摘要:项目中经常遇到的异常情况 400 Bad Request 401 Unauthorized If the request already included Authorization credentials, then the 401 response indicates that authoriz 阅读全文

posted @ 2017-08-25 18:32 James.H.Fu 阅读(519) 评论(0) 推荐(0)

Maven私有仓库-使用docker部署Nexus
摘要:查看官方镜像说明 "nexus2" "nexus3" 建议使用nexus2,可能网上的资料这个版本居多。 我选择的是nexus3,~~~ 启动容器 官方说明中提到的是使用docker直接启动。我选择用docker compose启动。 docker compose.yml文件如下: mkdir p 阅读全文

posted @ 2017-08-23 17:55 James.H.Fu 阅读(875) 评论(0) 推荐(0)

centos7 sentry部署指南
摘要:依赖说明 sentry官方推荐docker方式安装,使用到了docker compose。docker至少是1.10.3以上的版本。为此需要使用centos7。 安装docker step2:在src/resources/logback spring.xml中配置appender,并添加相应的app 阅读全文

posted @ 2017-08-18 14:38 James.H.Fu 阅读(1726) 评论(0) 推荐(0)

静态文件服务器部署指南
摘要:参考 https://github.com/cloudhead/node static 新建部署目录,把需要部署的文件拷贝到该目录 部署static server, 在 /etc/supervisor/conf.d 目录新建 static server.conf 通过以下url,就能访问了 http 阅读全文

posted @ 2017-08-18 14:18 James.H.Fu 阅读(612) 评论(0) 推荐(0)

导航