- 博客(51)
- 资源 (1)
- 收藏
- 关注
原创 基于docker中间件安装
参照: https://segmentfault.com/a/1190000004353368 虚拟机安装及其配置 1.虚拟机安装centos7,centos6.*安装docker有一些问题,并且设置网络模式为桥接模式。 docker安装 ①安装docker yum install docker-io ②启动docker服务 service docker st
2017-09-14 07:34:40
921
原创 java工具
mapstruct集成maven: http://www.tianshouzhi.com/api/tutorials/mapstruct/291
2017-06-24 12:03:41
318
原创 graphite
http://blog.csdn.net/wangli61289/article/details/45077795
2017-05-24 00:48:37
537
原创 OAUTH2.0
1.OAUTH CODE授权模式 参照 http://www.barretlee.com/blog/2016/01/10/oauth2-introduce/
2017-05-20 07:35:16
471
原创 常用组件
1.Swagger 是一款RESTFUL接口的文档在线自动生成+功能测试功能软件 参照: http://blog.csdn.net/wangnan9279/article/details/44541665
2017-03-23 10:08:21
407
原创 UBUNTU常用软件安装
1.流程图绘制工具 Evolus Pencil 2.时序图绘制工具 Haroopad 参照 http://blog.csdn.net/tao_627/article/details/50625436
2017-03-23 09:58:03
275
原创 rocketmq
1.rocketmq安装 参照: http://blog.csdn.net/zknxx/article/details/52974189
2017-03-10 08:28:35
283
原创 virtual box安装centeros
1.下载VirtualBox-4.3.6-91406-Win 2.下载CentOS-7-x86_64-DVD-1511.iso 3.设置virtualBox虚拟机的网络模式。NAT(虚拟机可以访问公网) 桥接模式(虚拟机和主机可通信 也可以访问公网) 桥接模式需要window设置: http://jingyan.baidu.com/album/948f59242e601dd80ff
2017-03-06 11:26:09
524
原创 javadoc生成word接口文档
1.下载DocFlex/Doclet 下载地址 http://www.filigris.com/downloads/ 2.ecplise->project->generate javadoc Use custom doclet Doclet name: com.docflex.javadoc.Doclet Doclet class path: E:\down
2016-11-22 15:16:35
3563
原创 MEMCACHE测试
1.window下安装memcache 下载memcache服务器端 http://www.9streets.cn/userfiles/memcached-1_2_1-win32server.zip 解压到本地目录 安装命令: memcached.exe -d install 启动命令 net start "memcached server" 使用telnet测试
2016-09-29 18:36:24
333
原创 active参照文章
原理简介: http://blog.csdn.net/yinwenjie/article/details/50820369
2016-09-20 18:30:08
228
原创 duboo架构学习
1、Dubbo与Spring的整合 Dubbo在使用上可以做到非常简单,不管是Provider还是Consumer都可以通过Spring的配置文件进行配置,配置完之后,就可以像使用 spring bean一样进行服务暴露和调用了,完全看不到dubbo api的存在。这是因为dubbo使用了spring提供的可扩展Schema自定义配置支持。在spring配置文件中,可以像、这样进行配置。 META
2016-09-07 10:16:10
653
原创 领域驱动DDD相关
http://www.cnblogs.com/netfocus/category/361987.html
2016-09-06 13:48:50
278
原创 MEMCACHE
MCROUTE参照: http://www.tiham.com/cache-cluster/mcrouter-route-handle.html
2016-08-08 15:20:07
347
原创 maven 常用仓库
mirror> id>UKid> name>UK Centralname> url>http://uk.maven.org/maven2url> mirrorOf>centralmirrorOf> mirror> mirror> id>sonatypeid> name>sonatype Centralname> url>http://repository.sonatype.org/
2016-07-29 16:18:09
280
原创 redis
redis参照 http://my.oschina.net/ydsakyclguozi/blog/388221
2016-07-01 11:27:45
284
原创 spring clould微服务元素
spring clould微服务简介: http://cloud.51cto.com/art/201505/477946.htm 组件:Ribbon,简单说,主要提供客户侧的软件负载均衡算法。 参照: http://www.infoq.com/cn/news/2013/01/netflix-annouced-ribbon/
2016-06-24 08:49:18
552
原创 jvisualvm配置jvm远程监控
监控远程Java进程的JVM有两个条件: 1、应用运行在本地环境。 2、远程系统启动了jstatd agent 服务器建立policy文件 # vi jstatd.all.policy grant codebase "file:${java.home}/../lib/tools.jar" { permission java.security.AllPer
2016-05-05 19:46:38
749
原创 服务注册与发现
zookeeper余eureka对比 http://dockone.io/article/78
2016-04-18 19:10:39
317
原创 kafaka参考链接
核心原理 http://www.infoq.com/cn/articles/kafka-analysis-part-1 http://www.infoq.com/cn/articles/kafka-analysis-part-2 http://www.infoq.com/cn/articles/kafka-analysis-part-3 http://www.infoq.com/c
2016-04-17 08:45:23
369
原创 Mybatis源码分析
mybatis解决的问题: ①简化SQL拼接。 ②简化JDBC操作,从connection preparestatement中解放出来,专注业务操作。 ③自动释放连接。 mybatis处理思路: ①.xml定义sql语句。 ②.定义执行SQL的接口。 ③.动态代理接口,生成可实例化的代理类。 ④.定义代理类的Handler,获取数据库连接、执行SQL、转换结果。
2016-04-12 17:18:45
379
原创 常见源码分析
mybatis源码分析: http://www.tuicool.com/articles/bMRjEjY
2016-04-06 13:30:27
276
原创 JAVA常用工具包
1.guava 学习地址: http://ifeve.com/google-guava/ 2.Jodan-Time 简介: http://h819.iteye.com/blog/611099
2016-04-01 16:43:37
363
原创 分布式事务常用策略
分布式事务常见的策略。 1、两阶段型:就是分布式事务两阶段提交,对应技术上的XA、JTA/JTS。 这是分布式环境下事务处理的典型模式。 2、补偿型: TCC型事务(Try/Confirm/Cancel)可以归为补偿型。 补偿型的例子,在一个长事务(long-running)中,一个由两台服务器一起参与的事务,服务器A发起事务,服务器B参与事务,B的事务需要人工参与,所以处理时间
2016-03-31 17:30:57
3746
原创 分库分表全局主键生成策略
1.系统生成策略,参照twitter的snowflake算法。 算法参照 http://blog.csdn.net/coffee_hc/article/details/49071817 代码: https://github.com/coffeehc/cfsequence http://www.cnblogs.com/relucent/p/4955340.html
2016-03-29 10:07:19
1610
原创 分库分表参照
分库分表中间件参照: http://www.infoq.com/cn/news/2016/01/sharding-jdbc-dangdang 一号店分库分表参照: http://mp.weixin.qq.com/s?__biz=MzA5Nzc4OTA1Mw==&mid=410639241&idx=1&sn=f7fd55588d4805ec4fc8cef2402ce9e5&scene=0#we
2016-03-28 10:16:42
320
原创 lombok
lombok是一款可以精减java代码、提升开发人员生产效率的辅助工具,利用注解在编译期自动生成setter/getter/toString()/constructor之类的代码。 官网地址: https://github.com/mplushnikov/lombok-intellij-plugin/releases idea安装lombok插件: File->setting->Pl
2016-03-28 10:12:12
252
原创 spring boot
spring boot 集成mybatis 参照 https://github.com/abel533/MyBatis-Spring-Boot
2016-03-03 09:27:18
310
原创 mybatis
mybatis-generator: http://www.cnblogs.com/GaiDynasty/p/4088440.html
2016-02-29 13:03:31
239
原创 开发常用网址
quzrt在线测试 http://www.cronmaker.com/ json在线测试 http://www.bejson.com/
2016-02-26 14:59:08
318
原创 JVM 参数设置
JAVA_OPTS="-Xmx512m -Xms512m -Xmn480m -Xss128k -XX:PermSize=32m -XX:MaxPermSize=64m -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=2 -XX:CMSFullGCsBeforeCompaction=0 -XX:+UseCMSCompactAtFullCollection
2016-02-25 16:32:06
286
原创 微服务
简介: http://www.cnblogs.com/skyblog/p/4953445.html
2016-02-15 10:28:11
227
原创 架构-Docker
Docker解决的问题: 参照 http://my.oschina.net/morflameblog/blog/318768?utm_source=tuicool&utm_medium=referral 1.Docker解决了运行环境和配置问题,方便发布,也就方便做持续集成。 2.比KVM更轻量化,更轻量的虚拟化,节省了虚拟机的性能损耗。 Docker基本原理: 参照:http:/
2016-02-05 16:54:06
283
原创 架构-gradle
参照: http://my.oschina.net/ramboo/blog/369666 1.下载安装包 https://services.gradle.org/distributions/gradle-2.9-all.zip 2.配置环境变量。/etc/profil export GRADLE_HOME=/home/user/gradle/gradle-2.9 export PA
2015-12-01 13:19:09
587
原创 架构-项目管理-jenkins
jenkins简介参照 http://velep.com/archives/867.html 参照: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions#InstallingJenkinsonRedHatdistributions-ImportantNoteonCent
2015-12-01 10:36:23
737
原创 架构-项目管理-gerrit
安装APACHE 参照 http://www.cnblogs.com/dudu/archive/2012/12/09/linux-apache-git.html 1.yum list httpd 查询apache (本次使用的是2.2.15,如果使用的2.4以后的版本配置有所不同) 2.yum install httpd 3.git-team.htpasswd 创建httpd用户认证的密码存
2015-11-30 17:01:26
553
原创 log4j 异步写入
Log日志修改异步说明 1. Log4j a. 增加异步appender b. 修改logger和root部分,把appender-ref指向异步appender
2014-11-20 18:42:36
830
原创 git常用
tortoise git window下缓存用户名和密码 setting -> git -> edit global .gitconfig [credential] helper = store
2014-11-12 07:59:56
295
原创 nginx 常用配置
user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/ngin
2014-10-28 09:34:57
494
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人