上一页 1 ··· 101 102 103 104 105 106 107 108 109 ··· 122 下一页

2017年11月8日

jenkins 重置密码

摘要: 说明 最近在折腾jenkins,配置用户权限时点错了,选择了安全矩阵后没有添加用户,就保存配置了,然后就报错了,提示没有Overall/Read权限。还有另外一个问题,用户的密码忘记了怎么办? 一.重置用户权限 解决方法: 打开配置文件 vim config.xml,配置文件位于jenkins主目录 阅读全文

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

jenkins中通过execute shell启动的进程会被杀死的问题

摘要: 在jenkins中配置自动更新部署项目时,如果采取用execute shell启动/关闭tomcat,会发现可以进行关闭tomcat, 但是无法启动tomcat,虽然构建会显示执行成功,但是查看进程,tomcat是没有启动的。这是因为Jenkins默认 会在Build结束后Kill掉所有的衍生进程。 阅读全文

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

jfrog artifactory docker 安装试用

摘要: 预备环境(docker 安装模式,使用的免费版本): docker-ce (启用镜像加速) 1. 镜像拉取 docker.bintray.io/jfrog/artifactory-oss 2. 启动 docker run -d -p 8081:8081 docker.bintray.io/jfrog 阅读全文

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

2017年11月7日

goreplay(gor) golang 流量拷贝工具试用

摘要: 1. 项目地址 https://github.com/buger/goreplay 2. 安装 wget https://github.com/buger/goreplay/releases/download/v0.16.1/gor_0.16.1_x64.tar.gz tar xvf gor_0.1 阅读全文

posted @ 2017-11-07 14:30 荣锋亮 阅读(3366) 评论(0) 推荐(0) 编辑

HTML <meta> http-equiv Attribute 说明

摘要: 1. 说明 ValueDescription content-type Specifies the character encoding for the document. Example: <meta http-equiv="content-type" content="text/html; ch 阅读全文

posted @ 2017-11-07 12:32 荣锋亮 阅读(455) 评论(0) 推荐(0) 编辑

xcomponent web 跨域组件介绍

摘要: 1. 项目地址: https://github.com/krakenjs/xcomponent 2. 支持的特性 a. Render an iframe or popup on a different domain, and pass down props, including objects an 阅读全文

posted @ 2017-11-07 10:18 荣锋亮 阅读(464) 评论(0) 推荐(0) 编辑

2017年11月6日

Webpack-dashboard 简单使用

摘要: 1. 安装 npm install webpack-dashboard --save-dev 2. 配置说明 webpack config // Import the plugin: var DashboardPlugin = require('webpack-dashboard/plugin'); 阅读全文

posted @ 2017-11-06 14:24 荣锋亮 阅读(3598) 评论(0) 推荐(0) 编辑

2017年11月4日

gatsbyjs 使用

摘要: 1. 安装 npm install --global gatsby-cli 2. 使用 // 创建项目 gatsby new dalong cd dalong // 启动 gatsby develop -- 使用的是热加载端口 8000 // 编辑源码 src/pages. // 生产构建 gats 阅读全文

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

2017年11月3日

gatsbyjs 了解

摘要: 1. 模型 2. 总结&&资料 从模型上可以看出和jamstack 提出的架构模型比较相似,可以看成是一个具体的实现,功能还是比较强大的 https://www.gatsbyjs.org 阅读全文

posted @ 2017-11-03 22:29 荣锋亮 阅读(514) 评论(0) 推荐(0) 编辑

JAMstack 最佳实践

摘要: 摘自官方介绍,没有翻译(没必要,已经比较简单了,重要的就是进行每条的诠释了,后续。。。) Entire Project on a CDN Because JAMstack projects don’t rely on server-side code, they can be distributed 阅读全文

posted @ 2017-11-03 22:10 荣锋亮 阅读(686) 评论(0) 推荐(0) 编辑

Dawn 简单使用

摘要: 1. install npm install dawn -g 2. create project # 1. Create & Initialize $ dn init -t front # 2. Development & Real-time compilation $ dn dev # 3. Li 阅读全文

posted @ 2017-11-03 21:51 荣锋亮 阅读(244) 评论(0) 推荐(0) 编辑

JAMstack 技术要点

摘要: 1. 简要说明 Modern web development architecture based on client-side JavaScript, reusable APIs,and prebuilt Markup. When we talk about “The Stack,” we no 阅读全文

posted @ 2017-11-03 21:40 荣锋亮 阅读(555) 评论(0) 推荐(0) 编辑

Dawn 阿里开源前端开发构建工具

摘要: Dawn 取「黎明、破晓」之意,原为「阿里云·业务运营团队」内部的前端构建和工程化工具,现已完全开源。它通过pipeline 和 middleware 将开发过程抽象为相对固定的阶段和有限的操作,简化并统一了开发人员的日常构建与开发相关的工作。 特点 采用中间件技术,封装常用功能,易于扩展,方便重用 阅读全文

posted @ 2017-11-03 21:24 荣锋亮 阅读(655) 评论(0) 推荐(0) 编辑

next.js 简单使用

摘要: 1. 介绍 一个react.js 服务器端渲染开源项目(不只是服务器端渲染,直接也可以生成纯静态站点) 类似的解决方案有好多,比如react.js 自身的服务器渲染方案(但是使用起来就是比较怪异) gatsbyjs 也是一个不错的解决方案 2. 初始化项目 // 依赖 npm install --s 阅读全文

posted @ 2017-11-03 21:14 荣锋亮 阅读(13850) 评论(0) 推荐(1) 编辑

2017年11月1日

terraform 阿里云基本使用

摘要: 1. 预备环境 安装了terraform 的软件的操作系统(windows linux mac 均可) 具有阿里云账户的 access_key secret_key 2. 配置 // terraform 的配置相对比较随意,但是有几个必须注意的,文件后缀 tf 文件名不需要进行特殊说明 // 以下为 阅读全文

posted @ 2017-11-01 19:51 荣锋亮 阅读(8155) 评论(0) 推荐(0) 编辑

serf  简单使用

摘要: 1. 介绍 // 以下为官方介绍,说白了就是进行系统的集群节点管理 Serf uses an efficient gossip protocol to solve three major problems: Membership: Serf maintains cluster membership 阅读全文

posted @ 2017-11-01 14:01 荣锋亮 阅读(2031) 评论(0) 推荐(0) 编辑

2017年10月28日

几个开源faas 框架

摘要: funktion open source event based lambda programming for kubernetes 官方地址: funktion.fabric8.io serverless framework A framework - not a service github 地 阅读全文

posted @ 2017-10-28 10:36 荣锋亮 阅读(8662) 评论(0) 推荐(0) 编辑

2017年10月19日

add-apt-repository 添加

摘要: add-apt-repository 添加 需要安装的软件包 apt-get install python-software-properties 除此之外还要安装 software-properties-common apt-get install software-properties-comm 阅读全文

posted @ 2017-10-19 14:58 荣锋亮 阅读(3085) 评论(0) 推荐(0) 编辑

2017年10月12日

devops 几个方便的工具

摘要: 1. fake API [canned](https://github.com/sideshowcoder/canned ) fake API. [wiremock](http://wiremock.org/) fake API.2. ci/cd [buildbot](http://buildbot.net/ ) open source CI server.... 阅读全文

posted @ 2017-10-12 21:29 荣锋亮 阅读(209) 评论(0) 推荐(0) 编辑

web 模板引擎

摘要: baiduTemplate: http://baidufe.github.io/BaiduTemplate/ artTemplate: https://github.com/aui/artTemplate juicer: http://juicer.name/或https://github.com/ 阅读全文

posted @ 2017-10-12 10:15 荣锋亮 阅读(227) 评论(0) 推荐(0) 编辑

2017年10月11日

minio  nginx 配置

摘要: 1. 参考配置 1. 参考配置 server { listen 80; server_name example.com; location / { proxy_set_header Host $http_host; proxy_pass http://localhost:9000; } } 2. 添 阅读全文

posted @ 2017-10-11 16:31 荣锋亮 阅读(8405) 评论(0) 推荐(0) 编辑

miniofs 配置使用

摘要: 1. rpm // RPM 包下载 https://github.com/minio/minfs/releases/tag/RELEASE.2017-02-26T20-20-56Z // 安装 yum install minfs-0.0.20170226202056-1.x86_64.rpm 2. 阅读全文

posted @ 2017-10-11 16:17 荣锋亮 阅读(1331) 评论(0) 推荐(0) 编辑

2017年10月10日

openfaas 私有镜像配置

摘要: 备注: 此项目是使用nodejs 生成唯一id 的\ 预备环境 docker harbor faas-cli openfaas k8s 1. 项目初始化 faas-cli new node --lang node // 修改node.yml 镜像名称、gateway 地址 修改之后如下: provi 阅读全文

posted @ 2017-10-10 13:40 荣锋亮 阅读(1199) 评论(0) 推荐(0) 编辑

转 OpenFaaS 介绍

摘要: 来源: https://thenewstack.io/openfaas-put-serverless-function-container/?utm_source=tuicool&utm_medium=referral Why limit serverless functions to whatev 阅读全文

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

2017年10月9日

openfaas k8s 集成

摘要: 备注 k8s 1.6 以下版本与k8s 1.6 以上版本会有一些简单的区别 1. 克隆k8s 部署文档 https://github.com/openfaas/faas-netes 2. 创建服务 2. 创建服务 2. 创建服务 2. 创建服务 2. 创建服务 // 主要是这几个yaml 文件 、注 阅读全文

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

2017年10月8日

openfaas 架构介绍

摘要: 此为官方介绍 Overview of OpenFaaS Function Watchdog You can make any Docker image into a serverless function by adding the Function Watchdog (a tiny Golang 阅读全文

posted @ 2017-10-08 12:14 荣锋亮 阅读(3125) 评论(0) 推荐(0) 编辑

openfaas 简单试用

摘要: 1. 安装 faas-cli 参考以前文章,或者使用官方的shell脚本 2. 简单例子 mkdir rong cd rong faas-cli new rong --lang python // 默认会有简单的测试code // 生成的项目代码 rong rong.yml template // 阅读全文

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

openfaas cli 安装

摘要: 1. 安装脚本 curl -sL https://cli.get-faas.com/ | sudo sh 备注安装完成之后如果没有 faas-cli 可以下载脚本,手工执行 2. 使用二进制包 https://github.com/openfaas/faas/releases 配置环境变量即可 即可 阅读全文

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

openfaas 安装(docker swarm 模式)

摘要: 备注:为了简单使用的是docker-compose 进行组件的安装 预备环境: docker (配置好 swarm 集群模式) docker-compose 1. docker 安装 此处略去,建议使用docker-ce 新版本 2. 配置 swarm 模式 2. 配置 swarm 模式 2. 配置 阅读全文

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

openfaas 了解

摘要: 1. 官方介绍 OpenFaaS (Functions as a Service) is a framework for building serverless functions with Docker which has first class support for metrics. Any 阅读全文

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

2017年10月5日

fn project 试用之后的几个问题的解答

摘要: 今天试用fnproject 之后自己有些思考,后面继续解决 1. 目前测试是强依赖 dockerhub 的,实际可能不是很方便 2. 如何与k8s 、mesos、docker swarm 集成 3. security 如何做 4. 现有基础设施改造 5. 监控、服务追踪、日志的处理 6. 持续集成如 阅读全文

posted @ 2017-10-05 18:36 荣锋亮 阅读(316) 评论(0) 推荐(0) 编辑

fn project 扩展

摘要: 目前支持的扩展方式 Listeners - listen to API events such as a route getting updated and react accordingly. Middleware - a chain of middleware is executed befor 阅读全文

posted @ 2017-10-05 18:16 荣锋亮 阅读(281) 评论(0) 推荐(0) 编辑

fn project 生产环境使用

摘要: 此为官方的参考说明 Running Fn in Production The QuickStart guide is intended to quickly get started and kick the tires. To run in production and be ready to sc 阅读全文

posted @ 2017-10-05 18:12 荣锋亮 阅读(1017) 评论(0) 推荐(0) 编辑

fn project 对象模型

摘要: Applications At the root of everything are applications. In fn, an application is essentially a grouping of functions with path mappings (routes) to e 阅读全文

posted @ 2017-10-05 18:09 荣锋亮 阅读(200) 评论(0) 推荐(0) 编辑

fn project AWS Lambda 格式 functions

摘要: Creating Lambda Functions Creating Lambda functions is not much different than using regular functions, just use the lambda-node-4 runtime. fn init -- 阅读全文

posted @ 2017-10-05 18:04 荣锋亮 阅读(251) 评论(0) 推荐(0) 编辑

fn project 打包Function

摘要: Option 1 (recommended): Use the fn cli tool We recommend using the fn cli tool which will handle all of this for you. But if you'd like to dig in and 阅读全文

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

fn project Function files 说明

摘要: 主要是文件 func.yaml func.json 详细说明如下: An example of a function file: name: fnproject/hello version: 0.0.1 type: sync memory: 128 config: key: value key2: 阅读全文

posted @ 2017-10-05 18:00 荣锋亮 阅读(339) 评论(0) 推荐(0) 编辑

fn project hot functions 说明

摘要: 1. 简单介绍 所谓 hot functions 实际上就是长时间运行的functions ,简单理解类似后台任务 所谓 hot functions 实际上就是长时间运行的functions ,简单理解类似后台任务 所谓 hot functions 实际上就是长时间运行的functions ,简单理 阅读全文

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

fn project k8s 集成

摘要: 具体部署还是比较简单的,以下为官方参考,只是有一个service type 为 loadBlancer 实际使用需要修改为NodePort Prerequisite 1: working Kubernetes cluster (v1.7+), and a locally configured kub 阅读全文

posted @ 2017-10-05 11:23 荣锋亮 阅读(660) 评论(0) 推荐(0) 编辑

fn project 私有镜像发布

摘要: 1. 说明 fnproject 默认的docker registry 是 dockerhub 对于企业应用还是不太方便的 还好系统系统了配置参数方便我们进行配置,与开源harbor 进行集成 2. 使用 a. harbor 安装 此处略过,安装比较简单,参考github 文档即可 b. 配置说明 1 阅读全文

posted @ 2017-10-05 11:03 荣锋亮 阅读(504) 评论(0) 推荐(0) 编辑

上一页 1 ··· 101 102 103 104 105 106 107 108 109 ··· 122 下一页

导航