随笔分类 -  云运维&&云架构

ballerina 学习二 ballerina 命令参数
摘要:1. 目前支持的命令 run Run Ballerina program build Compile Ballerina program install Install packages to home repository pull Download package from Ballerina 阅读全文

posted @ 2018-05-14 11:29 荣锋亮 阅读(241) 评论(0) 推荐(0) 编辑

ballerina 学习一 基本项目安装试用
摘要:ballerina介绍 建议参考这篇文章: https://mp.weixin.qq.com/s/DqdlOhquqMaGOJf26lANPw 1. 安装 直接下载对应操作系统的二进制文件即可,同时官方也提供了linux 操作系统对应的各种发行包(deb, rpm) 参考地址: https://ba 阅读全文

posted @ 2018-05-14 10:07 荣锋亮 阅读(428) 评论(0) 推荐(0) 编辑

dockerize 容器工具集基本使用
摘要:基本功能: * 在启动的时候根据环境变量或者模版生成配置文锦啊 * 多日志文件重定向到标准输入输出 * 等待其他服务(tcp,http unix)起来之后在启动主进程 1. 安装 直接使用容器 jwilder/dockerize 或者下载启动 参考安装如下: ENV DOCKERIZE_VERSIO 阅读全文

posted @ 2018-05-11 20:25 荣锋亮 阅读(1000) 评论(0) 推荐(0) 编辑

nginx-unit docker 运行以及php &&golang 简单使用
摘要:备注: nginx unit nginx 开源的新的nginx 开发平台,但是说白了,个人感觉一般,而且官方文档也不是很好, api 接口目前暂时文档比较。。。。,以前写过虚拟机&&物理机安装部署的方式,今天写一个使用docker 进行安装部署的方式,同时添加golang语言的使用,算是比较全了,毕 阅读全文

posted @ 2018-05-11 16:08 荣锋亮 阅读(574) 评论(0) 推荐(0) 编辑

ffmpeg hls 点播负载均衡简单实现
摘要:备注: 主要是进行文件的切片处理,以及m3u8 的文件前缀添加以达到通过nginx 或者类似的分布式文件工具进行数据切片处理 参考配置如下: ffmpeg -y -i mydemo.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb appdem 阅读全文

posted @ 2018-05-09 16:20 荣锋亮 阅读(1615) 评论(0) 推荐(0) 编辑

nginx grpc 试用
摘要:1. 编译 wget https://nginx.org/download/nginx-1.13.10.tar.gz tar xvf nginx-1.13.10.tar.gz cd nginx-1.13.10 ./configure --with-http_ssl_module --with-htt 阅读全文

posted @ 2018-05-09 16:15 荣锋亮 阅读(627) 评论(0) 推荐(0) 编辑

autoconf 简单demo试用
摘要:1. 安装工具 yum install -y automake 2. 基本项目 a. 项目参考结构 ├── AUTHORS ├── COPYING ├── ChangeLog ├── Makefile.am ├── NEWS ├── README ├── README.md ├── a.out ├─ 阅读全文

posted @ 2018-05-08 14:06 荣锋亮 阅读(300) 评论(0) 推荐(0) 编辑

mongooseim xmpp 服务器docker 安装试用
摘要:备注: 预备环境docker xmpp client 1. 启动mongooseim docker run -d -t -h mongooseim-1 --name mongooseim-1 -p 5222:5222 mongooseim/mongooseim:latest 2. 添加测试账户 do 阅读全文

posted @ 2018-05-07 13:32 荣锋亮 阅读(712) 评论(0) 推荐(0) 编辑

drone 学习六 发布部署&&集成私有容器仓库&&构建代码s3 保存
摘要:备注: 需要进行drone 以及gitlab 环境的配置,可以参考相关资料 1. 参考项目 https://github.com/rongfengliang/drone-appdemo 2. drone 构建配置(使用docker && s3 插件) pipeline: backend: image 阅读全文

posted @ 2018-05-03 13:21 荣锋亮 阅读(1023) 评论(0) 推荐(0) 编辑

hoverfly api 模拟框架了解
摘要:What is Hoverfly? Hoverfly is a lightweight, open source API simulation tool. Using Hoverfly, you can create realistic simulations of the APIs your ap 阅读全文

posted @ 2018-05-03 10:45 荣锋亮 阅读(1012) 评论(0) 推荐(0) 编辑

drone 学习一 几个核心组件
摘要:1. clone 这个是内置的,实际上就行进行代码clone的 参考配置,同时我们可以使用自定义的插件 clone: + git: + image: plugins/git pipeline: build: image: golang commands: - go build - go test 2 阅读全文

posted @ 2018-05-02 19:58 荣锋亮 阅读(753) 评论(0) 推荐(0) 编辑

drone 学习三 条件步骤
摘要:1. 基本格式 pipeline: slack: image: plugins/slack channel: dev + when: + branch: master 2. 几种条件类型 a. branch when: branch: [master, develop] b. events when 阅读全文

posted @ 2018-05-02 19:39 荣锋亮 阅读(478) 评论(0) 推荐(0) 编辑

drone 学习二 pipeline 说明
摘要:1. 基本语法 pipeline: backend: image: golang commands: - go build - go test frontend: image: node commands: - npm install - npm run test - npm run build 2 阅读全文

posted @ 2018-05-02 19:30 荣锋亮 阅读(585) 评论(0) 推荐(0) 编辑

drone 学习四 几个有用的命令
摘要:1. 安装cli 工具 linux curl -L https://github.com/drone/drone-cli/releases/download/v0.8.5/drone_linux_amd64.tar.gz | tar zx sudo install -t /usr/local/bin 阅读全文

posted @ 2018-05-02 19:13 荣锋亮 阅读(494) 评论(0) 推荐(0) 编辑

drone 学习五 集成gitlab 配置以及简单测试
摘要:备注: 使用docker-compose 进行安装 同时集成gitlab,预备环境 docker docker-compose gitlab 1. docker-compose version: '3' services: drone-server: image: drone/drone:0.8 p 阅读全文

posted @ 2018-05-02 18:58 荣锋亮 阅读(1056) 评论(0) 推荐(0) 编辑

ambassador kubernetes native api gateway
摘要:github 上的介绍: Ambassador is an open source Kubernetes-native API Gateway built on Envoy, designed for microservices. Key features include: Self-service 阅读全文

posted @ 2018-04-30 09:48 荣锋亮 阅读(819) 评论(0) 推荐(0) 编辑

使用distillery 实现版本的动态升级&& 动态降级
摘要:备注: distillery 使用很棒的elixir 打包构建工具,下面演示的是升级以及降级 1. 参考项目 https://github.com/rongfengliang/phoenix-rest-demo.git 备注: 此项目已经以及配置distillery了,可以参考文档 2. 升级&& 阅读全文

posted @ 2018-04-19 21:18 荣锋亮 阅读(393) 评论(0) 推荐(0) 编辑

phoenxi elixir 框架几个方便的命令
摘要:1. 已有命令 mix app.start # Starts all registered apps mix app.tree # Prints the application tree mix archive # Lists installed archives mix archive.build 阅读全文

posted @ 2018-04-19 10:21 荣锋亮 阅读(410) 评论(0) 推荐(1) 编辑

phoenix elixir 框架简单试用
摘要:备注: 官方提供的脚手架工具,我们可以直接使用,生成代码,同时需要nodejs 环境配置(比较简单,参考 相关资料即可) 1. 安装脚手架 mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_ 阅读全文

posted @ 2018-04-18 11:54 荣锋亮 阅读(2406) 评论(0) 推荐(1) 编辑

k8s helm 包管理私服chartmuseum 安装
摘要:备注: 预备环境需要安装helm 1. 安装chartmuseum 参考 # on Linux curl -LO https://s3.amazonaws.com/chartmuseum/release/latest/bin/linux/amd64/chartmuseum # on macOS cu 阅读全文

posted @ 2018-04-17 10:21 荣锋亮 阅读(1102) 评论(0) 推荐(0) 编辑

导航