随笔分类 -  服务器

CoreDNS kubernetes 安装使用
摘要:kubernetes 以前是skydns 后面变为 dnsmasq,coredns 也是一个不错的工具 1. 准备环境 安装 kubernetes 配置 kubelet 的cluster-dns 2. 下载coredns kubernetes 模板 地址:https://github.com/cor 阅读全文

posted @ 2017-10-03 16:35 荣锋亮 阅读(736) 评论(0) 推荐(0) 编辑

debezium 数据变更工具使用
摘要:1. 作用 简单概述就是CDC(change data capture),实时数据分析领域用的比较多 2. 简单使用(基于官网的docker 说明) 备注: 测试没有使用守护进程模式为了方便测试 a. zookeeper docker run -it --rm --name zookeeper -p 阅读全文

posted @ 2017-10-01 10:45 荣锋亮 阅读(5518) 评论(10) 推荐(0) 编辑

envoy  功能介绍
摘要:L3/L4 filter architecture: At its core, Envoy is an L3/L4 network proxy. A pluggable filter chain mechanism allows filters to be written to perform di 阅读全文

posted @ 2017-09-26 12:21 荣锋亮 阅读(861) 评论(0) 推荐(0) 编辑

envoy 测试试用
摘要:备注: 为了简单测试使用的是docker 镜像进行的测试 1. Dockerfile FROM lyft/envoy:latest RUN apt-get update COPY envoy.json /etc/envoy.json CMD /usr/local/bin/envoy -c /etc/ 阅读全文

posted @ 2017-09-26 10:37 荣锋亮 阅读(848) 评论(0) 推荐(0) 编辑

centos 7 bbr 安装
摘要:1. 准备 升级内核需要4.9 以及以上 2. yum 内核升级 a. 添加 ELRepo 源 GPG key rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm --import https://www.elrepo.org 阅读全文

posted @ 2017-09-04 13:47 荣锋亮 阅读(395) 评论(0) 推荐(0) 编辑

gogs docker 安装
摘要:1. gogs 镜像 docker pull gogs/gogs docker pull gogs/gogs 2. mysql docker mysql docker mysql 3. 本地数据卷配置 mkdir gogs && mkdir mysql 4. 启动 ## mysql docker r 阅读全文

posted @ 2017-08-17 08:05 荣锋亮 阅读(390) 评论(0) 推荐(0) 编辑

alpine docker 镜像 时区问题
摘要:1. 时区处理 RUN apk update && apk add curl bash tree tzdata \ && cp -r -f /usr/share/zoneinfo/Hongkong /etc/localtime \ RUN apk update && apk add curl bas 阅读全文

posted @ 2017-08-14 15:49 荣锋亮 阅读(692) 评论(0) 推荐(0) 编辑

nginx 流量拷贝模块 ngx_http_mirror_module 安装试用
摘要:1. 下载源码编译 https://nginx.org/download/nginx-1.13.4.tar.gz 2. 下载依赖模块包 https://nginx.org/download/nginx-1.13.4.tar.gz 2. 下载依赖模块包 这里直接yum 安装 yum -y instal 阅读全文

posted @ 2017-08-14 09:47 荣锋亮 阅读(1720) 评论(0) 推荐(0) 编辑

ulimit  设置
摘要:1、 /etc/security/limit.conf * soft nofile 65535 * hard nofile 65535 * soft nproc 65535 * hard nproc 65535 * soft nofile 65535 * hard nofile 65535 * so 阅读全文

posted @ 2017-08-08 11:20 荣锋亮 阅读(494) 评论(0) 推荐(0) 编辑

nginx time_wait 较多优化
摘要:1. 查看命令 netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' 结果 ESTABLISHED 22 FIN_WAIT1 2 FIN_WAIT2 11 TIME_WAIT 189 名词解释 netstat -n 阅读全文

posted @ 2017-08-08 11:09 荣锋亮 阅读(581) 评论(0) 推荐(0) 编辑

REX-Ray 了解
摘要:REX-Ray 是一个 EMC {code} 团队领导的开源项目,为 Docker、Mesos 及其他容器运行环境提供持续的存储访问。其设计旨在囊括通用存储、虚拟化和云平台,提供高级的存储功能。 当前支持的系统: Ubuntu Debian RedHat CentOS CoreOS OSX REX- 阅读全文

posted @ 2017-07-17 21:42 荣锋亮 阅读(891) 评论(0) 推荐(0) 编辑

“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 荣锋亮 阅读(14710) 评论(2) 推荐(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 荣锋亮 阅读(3203) 评论(0) 推荐(0) 编辑

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

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

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

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

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 荣锋亮 阅读(643) 评论(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 荣锋亮 阅读(548) 评论(0) 推荐(0) 编辑

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

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

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

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

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 荣锋亮 阅读(684) 评论(0) 推荐(0) 编辑

导航