上一页 1 2 3 4 5 6 ··· 8 下一页

2017年9月12日

maven 单独构建多模块项目中的单个模块

摘要: maven 单独构建多模块项目中的单个模块, maven选项说明 单独构建ielong wx 单独构建ielong common及依赖ielong common的模块 如何跳过测试 如何获取当前的profile hosts,DNS如何配置 hosts: /etc/hosts DNS: /etc/re 阅读全文

posted @ 2017-09-12 09:22 James.H.Fu 阅读(2068) 评论(0) 推荐(0) 编辑

2017年9月7日

MongoDB 安装及副本集简单操作

摘要: 安装MongoDB 3.4 centos 7建议使用systemctl来启动 集群搭建 1. 硬件资源,准备两台服务器,在每台机器上配置/etc/hosts 2. 在每台机器上配置/etc/mongod.conf 3. 在第一台服务上执行replica set initiate, 它将会成为Prim 阅读全文

posted @ 2017-09-07 09:59 James.H.Fu 阅读(265) 评论(0) 推荐(0) 编辑

2017年9月3日

spring-boot dubbo项目使用docker方式部署

摘要: 项目结构 本项目采用maven构建,有三个模块,分别是pms interfaces, pms services, pms portal。 模块 | 描述 | pms interfaces | 接口层,只能存放实体,枚举,接口。 pms services | 服务层,使用 dubbo向外暴露服务 pm 阅读全文

posted @ 2017-09-03 19:20 James.H.Fu 阅读(6272) 评论(0) 推荐(0) 编辑

2017年8月31日

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 阅读(509) 评论(0) 推荐(0) 编辑

2017年8月25日

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 阅读(506) 评论(0) 推荐(0) 编辑

2017年8月23日

Maven私有仓库-使用docker部署Nexus

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

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

2017年8月18日

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 阅读(1665) 评论(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 阅读(600) 评论(0) 推荐(0) 编辑

2017年4月12日

开始使用ansible

摘要: ansible是一个设计巧妙,功能强大,安全,使用简单的IT自动化运维工具。它可以实现统一配置管理,持续部署,流程编排等。 目前控制主机必须是linux,被控制主机可以是linux,类UNIX和windows。 阅读全文

posted @ 2017-04-12 22:26 James.H.Fu 阅读(591) 评论(0) 推荐(0) 编辑

2017年1月11日

2016项目开发经验总结及后续计划

摘要: [toc] 目录 "关于SEO" "关于Cookie" "关于登录" "关于前端" "项目部署结构" "项目分层结构" "项目主要使用到的技术" "关于SEO" 开发过程中一般会规划几个环境,比如dev,qa,pre,prd test,prd,其中我们的pre比较特殊,会公开到外网的一个域名用于培训 阅读全文

posted @ 2017-01-11 16:51 James.H.Fu 阅读(430) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 8 下一页

导航