上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 133 下一页

2017年7月11日

“VT-x is not available. (VERR_VMX_NO_VMX)” in VirtualBox

摘要: Sometimes you can get “VT-x is not available. (VERR_VMX_NO_VMX)” error if you are trying to start x64 bit virtual machine in VirtualBox. Failed to ope 阅读全文

posted @ 2017-07-11 23:31 荣锋亮 阅读(15233) 评论(2) 推荐(0)

2017年7月10日

Service Mesh 了解

摘要: 是什么 Service Mesh是专用的基础设施层。 轻量级高性能网络代理。 提供安全的、快速的、可靠地服务间通讯。 与实际应用部署一起但对应用是透明的 作用 提供熔断机制(circuit-breaking)。 提供感知延迟的负载均衡(latency-awareload balancing)。 最终 阅读全文

posted @ 2017-07-10 16:07 荣锋亮 阅读(677) 评论(0) 推荐(0)

docker swarm mode routing mesh 使用

摘要: Docker Engine swarm mode makes it easy to publish ports for services to make them available to resources outside the swarm. All nodes participate in an ingress routing mesh. The routing mesh enables e... 阅读全文

posted @ 2017-07-10 16:01 荣锋亮 阅读(1234) 评论(0) 推荐(0)

Portainer docker 可视化管理工具

摘要: 1. 快速使用 docker run -d -p 9000:9000 portainer/portainer 2. docker swarm 模式 docker run -d -p 9000:9000 portainer/portainer 2. docker swarm 模式 docker ser 阅读全文

posted @ 2017-07-10 15:59 荣锋亮 阅读(3216) 评论(0) 推荐(0)

2017年7月9日

转 neighbour table overflow 问题解决

摘要: 接到保障,说某来机器服务没法访问,于是,准备连接到机器上去看个究竟. 尼玛居然连不上,连ping都ping不通,无奈只能求助机房. 机房人员检查, 发现报 neighbour table overflow 错误. 无奈让机房的人员重启了服务器. 查找原因,搜索得到如下说法: 第一种说法:内核维护的a 阅读全文

posted @ 2017-07-09 14:46 荣锋亮 阅读(1344) 评论(0) 推荐(0)

2017年7月8日

秘密共享

摘要: 秘密共享的思想是将秘密以适当的方式拆分,拆分后的每一个份额由不同的参与者管理,单个参与者无法恢复秘密信息,只有若干个参与者一同协作才能恢复秘密消息。更重要的是,当其中任何相应范围内参与者出问题时,秘密仍可以完整恢复。 秘密共享的关键是怎样更好的设计秘密拆分方式和恢复方式。 秘密共享是一种将秘密分割存 阅读全文

posted @ 2017-07-08 22:37 荣锋亮 阅读(1069) 评论(0) 推荐(0)

Let’s Encrypt 将于 2018 年免费提供通配符证书

摘要: 旨在让每个网站都启用 HTTPS 加密的 Let's Encrypt CA 宣布将于 2018 年 1 月免费提供通配符证书(Wildcard certificate)。通配符证书是一种可被多个子域使用的公钥证书。这意味着,单个证书可用于提供多台服务器或一台服务器托管的多个子域名的网页加密,显著降低 阅读全文

posted @ 2017-07-08 10:37 荣锋亮 阅读(271) 评论(0) 推荐(0)

2017年7月7日

使用 openresty 修改请求内容

摘要: 1. 目的 动态修改 html 页面内容 2. 使用方式 openresty 在 header_filter 阶段 以及body_filter 阶段进行数据修改 3. 源码 此方法是实现一个追加 js 到html 页面,同时将原有页面信息转为大写 location /{ root html; ind 阅读全文

posted @ 2017-07-07 10:56 荣锋亮 阅读(5627) 评论(0) 推荐(0)

2017年7月6日

Serf 了解

摘要: Introduction to Serf Welcome to the intro guide to Serf! This guide will show you what Serf is, explain the problems Serf solves, compare Serf versus 阅读全文

posted @ 2017-07-06 20:35 荣锋亮 阅读(672) 评论(0) 推荐(0)

Nomad 了解

摘要: Introduction to Nomad Welcome to the intro guide to Nomad! This guide is the best place to start with Nomad. We cover what Nomad is, what problems it 阅读全文

posted @ 2017-07-06 19:57 荣锋亮 阅读(608) 评论(0) 推荐(0)

2017年7月5日

转发 Java火焰图在Netflix的实践

摘要: 为了分析不同软件或软件的不同版本使用CPU的情况,相关设计人员通常需要进行函数的堆栈性能分析。相比于定期采样获得数据的方式,利用定时中断来收集程序运行时的PC寄存器值、函数地址以及整个堆栈轨迹更加高效。目前,OProfile、gprof和SystemTap等工具都是采用该方法,给出详细的CPU使用情 阅读全文

posted @ 2017-07-05 21:15 荣锋亮 阅读(985) 评论(0) 推荐(0)

转发 GSLB概要和实现原理

摘要: What is GSLB Global Server Load Balancing 中文:全局负载均衡 SLB(Server load balancing)是对集群内物理主机的负载均衡,而GSLB是对物理集群的负载均衡。这里的负载均衡可能不只是简单的流量均匀分配,而是会根据策略的不同实现不同场景的应 阅读全文

posted @ 2017-07-05 21:09 荣锋亮 阅读(1070) 评论(0) 推荐(0)

通过openresty && tengine && nginx 动态添加资源到 html 页面

摘要: 1. 目标不用修改后端代码,但是还需要进行js 、css 等资源文件的加载主要的场景是进行统计分析2.技术实现通过服务器扩展进行动态添加iis 可以添加模块,nginx 可以使用 sub_filter,tengine 可以使用 ngx_http_footer_filter_module openresty 可以使用sub_filter(默认以及编译进去了) 或者 通过lua 脚本获取内容,然后修... 阅读全文

posted @ 2017-07-05 20:23 荣锋亮 阅读(2627) 评论(0) 推荐(0)

2017年7月2日

Terraform 多云管理工具

摘要: 1. 介绍 Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular serv 阅读全文

posted @ 2017-07-02 23:00 荣锋亮 阅读(720) 评论(0) 推荐(0)

vault key 管理工具

摘要: Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certific 阅读全文

posted @ 2017-07-02 20:13 荣锋亮 阅读(446) 评论(0) 推荐(0)

2017年7月1日

fabio

摘要: fabio is a fast, modern, zero-conf load balancing HTTP(S) and TCP router for deploying applications managed by consul. Register your services in consu 阅读全文

posted @ 2017-07-01 21:49 荣锋亮 阅读(616) 评论(0) 推荐(0)

2017年6月29日

keycloak 了解

摘要: Keycloak 是一个针对Web应用和 RESTful Web 服务提供 SSO 集成。基于 OAuth 2.0 和 JSON Web Token(JWT) 规范。目前用于实现 JBoss 与 Wildfly 通讯,但将来将为 Tomcat、Jetty、Node.js、Rails、Grails 等 阅读全文

posted @ 2017-06-29 23:55 荣锋亮 阅读(10007) 评论(4) 推荐(0)

apiman 安装&&使用

摘要: 安装测试基于docker 1. docker image pull docker pull apiman/on-wildfly1 2. 启动 docker run -d -p 8081:8080 -p 8444:8443 -p 9990:9990 apiman/on-wildfly10 3. ui 阅读全文

posted @ 2017-06-29 23:18 荣锋亮 阅读(2285) 评论(0) 推荐(0)

apiman 一个apigateway

摘要: APIMAN 提供 API 管理的方法技术,结合一个 API 设计/配置层以及快速的运行时。 主要特性: 完全异步 丰富的管理层 容易嵌入 API 管理 参考资料 APIMAN 提供 API 管理的方法技术,结合一个 API 设计/配置层以及快速的运行时。 主要特性: 完全异步 丰富的管理层 容易嵌 阅读全文

posted @ 2017-06-29 21:58 荣锋亮 阅读(2083) 评论(0) 推荐(0)

2017年6月23日

VMware harbor && minio 搭建企业docker私有镜像以及需要注意的问题

摘要: 1. docker harbor 配置 建议使用在线安装的模式(离线包太大了) 首先需要安装docker-compose 、docker 、mino (具体安装可以参考官网后者我的博客)同时注意配置镜像加速(阿里云 daocloud 都可以) 目前安装没有使用https 证书,实际场景最好配置htt 阅读全文

posted @ 2017-06-23 10:03 荣锋亮 阅读(2827) 评论(0) 推荐(0)

2017年6月22日

minio 介绍

摘要: minio 兼容Amason的S3分布式对象存储项目,采用Golang实现,客户端支持Java,Python,Javacript, Golang语言。 Minio可以做为云存储的解决方案用来保存海量的图片,视频,文档。由于采用Golang实现,服务端可以工作 在Windows,Linux, OS X 阅读全文

posted @ 2017-06-22 20:11 荣锋亮 阅读(3448) 评论(0) 推荐(0)

minio 安装以及使用

摘要: 1. 为了方便使用 docker 安装 docker run -p 9000:9000 minio/minio server /export 注意启动显示的 appkey secretkey Created minio configuration file successfully at /root 阅读全文

posted @ 2017-06-22 19:49 荣锋亮 阅读(30997) 评论(0) 推荐(0)

2017年6月19日

openresty 使用 log_by_lua 发送日志到 syslog-ng

摘要: 1. 安装 opm get p0pr0ck5/lua-resty-logger-socket opm get p0pr0ck5/lua-resty-logger-socket 2. 使用 location lua_by_lua_block log_by_lua_block { local logge 阅读全文

posted @ 2017-06-19 22:36 荣锋亮 阅读(5788) 评论(0) 推荐(0)

uuid 了解

摘要: 什么是UUID? UUID是Universally Unique Identifier的缩写,它是在一定的范围内(从特定的名字空间到全球)唯一的机器生成的标识符。UUID具有以下涵义: 经由一定的算法机器生成 为了保证UUID的唯一性,规范定义了包括网卡MAC地址、时间戳、名字空间(Namespac 阅读全文

posted @ 2017-06-19 09:36 荣锋亮 阅读(561) 评论(0) 推荐(0)

基于openresty 的几个开发框架

摘要: 1. kong api gateway Github: https://github.com/Mashape/kong 2. Lapis web 开发框架 Github: https://github.com/leafo/lapis 3. Vanilla web 开发框架 Github: https 阅读全文

posted @ 2017-06-19 08:29 荣锋亮 阅读(2743) 评论(0) 推荐(0)

2017年6月18日

openresty 几个插件使用

摘要: 1. jwt opm get SkyLothar/lua-resty-jwt opm get SkyLothar/lua-resty-jwt 2. cookie opm get p0pr0ck5/lua-resty-cookie opm get p0pr0ck5/lua-resty-cookie 3 阅读全文

posted @ 2017-06-18 21:01 荣锋亮 阅读(3269) 评论(0) 推荐(0)

kong 了解

摘要: Kong 是在客户端和(微)服务间转发API通信的API网关,通过插件扩展功能。Kong 有两个主要组件: Kong Server :基于nginx 的服务器,用来接收 API 请求。 Apache Cassandra:用来存储操作数据。 你可以通过增加更多 Kong Server 机器对 Kong 阅读全文

posted @ 2017-06-18 12:55 荣锋亮 阅读(657) 评论(0) 推荐(0)

openresty && hashids&& redis 生成短链接

摘要: 1. 原理 a. 从redis 获取需要表示的短链接的id( redis incr) b. hashids 编码 id c. openresty conteent_by_lua_block 阶段显示数据 2. 安装以来的插件 a. lua hashdis 使用 luarocks 注意需要先安装lua 阅读全文

posted @ 2017-06-18 09:52 荣锋亮 阅读(1058) 评论(0) 推荐(0)

2017年6月17日

kong k8s 安装 以及可视化管理界面

摘要: 1. git clone $ git clone git@github.com:Mashape/kong-dist-kubernetes.git $ cd kong-dist-kubernetes 2. 修改配置文件 主要是k8s 对应service 的类型 修改为 type: nodePort 3 阅读全文

posted @ 2017-06-17 15:31 荣锋亮 阅读(9988) 评论(0) 推荐(0)

hashids 了解

摘要: 用于隐藏真实的id 原理是从数字经过一个加盐(salted)算法产生一个哈希(hash)字符串。这样算法就是通过混淆使结果具有不可预测性,而唯一性依然由数字本身来达成,从而得到(类似 youtube 里的)足够短,不可预测且唯一的 ID。 支持语言有Javacript, Ruby, Python, 阅读全文

posted @ 2017-06-17 10:33 荣锋亮 阅读(2527) 评论(0) 推荐(0)

2017年6月12日

Apache Tez 了解

摘要: 你可能听说过Apache Tez,它是一个针对Hadoop数据处理应用程序的新分布式执行框架。但是它到底是什么呢?它的工作原理是什么?哪些人应该使用它,为什么?如果你有这些疑问,那么可以看一下Bikas Saha和Arun Murthy提供的呈现“Apache Tez: 加速Hadoop查询处理”, 阅读全文

posted @ 2017-06-12 07:11 荣锋亮 阅读(17855) 评论(0) 推荐(1)

2017年6月11日

Cascalog了解

摘要: Cascalog一种能使在Hadoop上使用Clojure处理数据变得简单直观的工具。 Cascalog综合了两大顶尖技术:Clojure和Hadoop,同时让Datalog焕发青春。 Cascalog的特点是高性能、灵活和鲁棒。 阅读全文

posted @ 2017-06-11 11:48 荣锋亮 阅读(348) 评论(0) 推荐(0)

2017年6月10日

一款直接时空处理分析的开源数据库---geomesa

摘要: 一款直接时空处理分析的开源数据库 geomesa,可用于交通轨迹数据存储分析等相关领域, 在分布式列数据库的基础上进行扩展,目前支持Accumulo, HBase, Cassandra, and Kafka等作为底层存储。 地址链接: http://www.geomesa.org/ 一款直接时空处理 阅读全文

posted @ 2017-06-10 20:44 荣锋亮 阅读(1916) 评论(0) 推荐(0)

nginx php 配置

摘要: 1. 普通php 项目 location ~ \.php$ { root /usr/share/nginx/html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $docum 阅读全文

posted @ 2017-06-10 20:02 荣锋亮 阅读(329) 评论(0) 推荐(0)

Apache Accumulo

摘要: Apache Accumulo 是一个可靠的、可伸缩的、高性能的排序分布式的 Key-Value 存储解决方案, 基于单元访问控制以及可定制的服务器端处理。Accumulo使用 Google BigTable 设计思路,基于 Apache Hadoop、Zookeeper 和 Thrift 构建。  阅读全文

posted @ 2017-06-10 19:38 荣锋亮 阅读(957) 评论(0) 推荐(0)

Kubernetes Helm

摘要: Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources. Use Helm to... Find and use popular softwar 阅读全文

posted @ 2017-06-10 17:08 荣锋亮 阅读(852) 评论(0) 推荐(0)

Helm Charts

摘要: Use this repository to submit official Charts for Kubernetes Helm. Charts are curated application definitions for Kubernetes Helm. For more informatio 阅读全文

posted @ 2017-06-10 17:07 荣锋亮 阅读(1861) 评论(0) 推荐(0)

2017年6月8日

Clair:CoreOS发布的开源容器漏洞分析工具

摘要: Clair为何而生:提升安全 软件世界里,安全漏洞会一直存在。好的安全实践意味着要对可能出现的事故未雨绸缪 - 即尽早发现不安全的软件包,并准备好快速进行升级。而Clair就是设计来帮助你找出容器中可能存在的不安全软件包。要理解系统会受到哪些威胁威胁是一个劳力伤神的事情,尤其当你应对的环境是异构或者 阅读全文

posted @ 2017-06-08 00:03 荣锋亮 阅读(985) 评论(0) 推荐(0)

2017年6月4日

drill 表&&视图使用

摘要: 1. table create table table_name as select * from storage_name.dbname.tablename create table table_name as select * from storage_name.dbname.tablename 阅读全文

posted @ 2017-06-04 16:30 荣锋亮 阅读(448) 评论(0) 推荐(0)

drill 数据源配置补充

摘要: 1. mongodb { "type":"mongo", "connection":"mongodb://user:password@host:port", "enabled":true } 对于没有密码的 { "type":"mongo", "connection":"mongodb://user 阅读全文

posted @ 2017-06-04 14:40 荣锋亮 阅读(450) 评论(0) 推荐(0)

上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 133 下一页

导航