摘要: 开发公司:HashiCorp 官网:https://www.packer.io/ 入门手册:https://www.packer.io/intro/index.html Github:https://github.com/hashicorp/packer 文档:https://www.packer. 阅读全文
posted @ 2020-09-01 19:49 SailorXiao 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 开发公司:HashiCorp 入门手册:https://www.terraform.io/intro/index.html 官网:https://www.terraform.io/ Github:https://github.com/hashicorp/terraform 1 功能: IaC:inf 阅读全文
posted @ 2020-09-01 19:48 SailorXiao 阅读(957) 评论(0) 推荐(0) 编辑
摘要: 安装 配置环境: win7 + centos7虚拟机 安装步骤: 到http://tomcat.apache.org/下载最新的tomcat安装包(8.0.24) 移到对应的目录并解压 安装问题: 安装后需要能从win7中访问虚拟机的tomcat端口(8080),需要先进行配置 参考: http:/ 阅读全文
posted @ 2016-08-26 00:47 SailorXiao 阅读(205) 评论(0) 推荐(0) 编辑
摘要: spring boot 是什么 Spring Boot是由Pivotal团队提供的全新框架,其设计目的是用来简化新Spring应用的初始搭建以及开发过程。 spring boot采用了“约定优于配置” 的理念,减少了spring繁琐的配置,方便快速搭建应用 spring boot官网:http:// 阅读全文
posted @ 2016-08-26 00:46 SailorXiao 阅读(2452) 评论(0) 推荐(0) 编辑
摘要: salt官网:http://docs.saltstack.cn/zh_CN/latest/ 安装教程: 1 安装依赖组件 参考:http://docs.saltstack.cn/zh_CN/latest/topics/installation/index.html,在类UNIX环境依赖如下: 1.1 阅读全文
posted @ 2016-08-26 00:41 SailorXiao 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 本文主要描述使用jedis进行redis-cluster操作 jedis jedis是redis官方推荐使用的java redis客户端,github地址为,https://github.com/xetorthio/jedis,本文使用jedis进行redis集群的操作。 jedis从2.3.0版本 阅读全文
posted @ 2016-08-26 00:40 SailorXiao 阅读(2494) 评论(0) 推荐(0) 编辑
摘要: 1 集群基本操作 1.1 查看当前集群状态 使用redis-trib.rb check功能查看对应的节点的状态: 如上图所示,当前我们有三个节点7000到7002,默认总共16384个slot,平均一个节点5461个slot 或者我们也可以使用redis-cli连接上任意一个结点,执行cluster 阅读全文
posted @ 2016-08-26 00:39 SailorXiao 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 本文主要是在centos7上安装和配置redis集群实战 参考: http://hot66hot.iteye.com/blog/2050676 集群教程: http://redisdoc.com/topic/cluster-tutorial.html#id2 1 安装准备 1.1 下载redis3. 阅读全文
posted @ 2016-08-26 00:34 SailorXiao 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 1 slowlog是什么 redis的slowlog是redis用于记录记录慢查询执行时间的日志系统。由于slowlog只保存在内存中,因此slowlog的效率很高,完全不用担心会影响到redis的性能。Slowlog是Redis从2.2.12版本引入的一条命令。 2 slowlog设置 参考 ht 阅读全文
posted @ 2016-08-26 00:33 SailorXiao 阅读(21803) 评论(0) 推荐(1) 编辑
摘要: 参考文档: 官网 http://zeromq.org/ http://www.cnblogs.com/rainbowzc/p/3357594.html 原理解读 zeromq只是一层针对socket的封装,介于传输层和应用层之间,并不是单独的服务或者程序,仅仅是一套组件。 zeromq使用c语言编写 阅读全文
posted @ 2016-08-26 00:25 SailorXiao 阅读(450) 评论(0) 推荐(0) 编辑