随笔分类 -  服务器

openlitespeed LiteSpeed 的开源版
摘要:LiteSpeed 国内可能使用的人不是很多,大家使用nginx 比较多,据说LiteSpeed 性能是nginx 的好多倍 openlitespeed 的特性 事件驱动 兼容apache 的mod_rewirte 管理员友好 安全以及速度 集成了anti-ddos以及modsecurity v3 阅读全文

posted @ 2022-08-21 17:51 荣锋亮 阅读(133) 评论(0) 推荐(0) 编辑

bfe 简单学习示例
摘要:bfe 参考架构 bfe 参考回调点 安装 下载对应平台的软件包,解压即可 流程 注意因为配置是json 格式,所以关于json 注释的信息都应该删除,否则配置会有问题 基本配置 conf/bfe.conf hostRuleConf = server_data_conf/host_rule.data 阅读全文

posted @ 2021-08-10 13:07 荣锋亮 阅读(407) 评论(0) 推荐(0) 编辑

soheilhy/cmux 网络端口复用服务
摘要:同一个端口可以进行不同的操作还是很有用的,比如一个端口同时提供ssh,http,rpc 服务 soheilhy/cmux 是一个不错的选择,以下是一个简单的试用,代码来自官方文档 代码 main.go package main ​ import ( "context" "fmt" "io" "log 阅读全文

posted @ 2020-12-16 18:20 荣锋亮 阅读(1081) 评论(0) 推荐(0) 编辑

gophercloud 不错的openstack golang sdk
摘要:gophercloud 是一个基于golang 包装的openstack api,功能比较强大,使用上也很不错,同时 也提供了比较完备的参考资料 一个参考使用demo package main ​ import ( "log" ​ "github.com/gophercloud/gopherclou 阅读全文

posted @ 2020-12-01 16:48 荣锋亮 阅读(1272) 评论(1) 推荐(0) 编辑

testinfra 基础设施测试工具
摘要:testinfra 是基于python 开发的基础设施测试工具,我们可以用来方便的测试基础设施 是否符合我们的要求(系统,软件。。。) 一个参考demo def test_passwd_file(host): passwd = host.file("/etc/passwd") assert pass 阅读全文

posted @ 2019-06-06 10:50 荣锋亮 阅读(1436) 评论(0) 推荐(0) 编辑

fio 文件系统io 性能测试安装使用
摘要:备注: 使用的是yum 进行的安装,大家可以使用源码编译安装(centos 7) 安装 yum install -y fio 命令行参数 fio-2.2.8 fio [options] [job options] <job file(s)> --debug=options Enable debug 阅读全文

posted @ 2019-05-22 11:28 荣锋亮 阅读(3000) 评论(0) 推荐(0) 编辑

How to create an rpm package
摘要:转自:https://linuxconfig.org/how-to-create-an-rpm-package Rpm is both the package manager and the package format used by many linux distributions such a 阅读全文

posted @ 2019-04-03 21:25 荣锋亮 阅读(258) 评论(0) 推荐(0) 编辑

windows openssh 设置root 目录
摘要:默认windows openssh 服务的root 目录是用户账户所在的目录(一般是administrator),但是我们可以通过修改sshd_config 重新修改路径 可选的修改方式 直接修改sshd 的配置然后重启服务 C:\ProgramData\ssh\sshd_config 目录添加如下 阅读全文

posted @ 2019-04-02 15:16 荣锋亮 阅读(5158) 评论(0) 推荐(0) 编辑

Load Balancing OpenSSH SFTP with HAProxy
摘要:In my previous post I described how we setup a Ubuntu Server (12.0.4) as an OpenSSH SFTP server.In this post I am going to describe how I have load ba 阅读全文

posted @ 2019-01-25 13:45 荣锋亮 阅读(764) 评论(0) 推荐(0) 编辑

cratedb joins 原理(官方文档)
摘要:In this document we will present the following topics. First, an overview of the existing types of joins and algorithms provided. Then a description o 阅读全文

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

cratedb geo 查询
摘要:cratedb支持的geo 查询还相对比较全,开发基本的功能已经够用了 安装cratedb 使用docker docker run -d -p 4200:4200 crate 创建数据库 创建表 CREATE TABLE country ( name string, country_code str 阅读全文

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

使用 Content-Encoding: br 替换 Content-Encoding: gzip
摘要:今天在测试一个web 框架的时候无意发现框架运行是响应头时有一个 Content-Encoding: br 发现是一个gzip 算法的替代,同时压缩比很不错 浏览器兼容性如下: nginx 的配置参考 https://blog.csdn.net/jackie_xiaonan/article/deta 阅读全文

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

linuxkit 基本试用
摘要:安装 linux go get -u github.com/linuxkit/linuxkit/src/cmd/linuxkit mac brew tap linuxkit/linuxkit brew install --HEAD linuxkit 基本使用 yaml 定义文件(redis-os.y 阅读全文

posted @ 2018-07-23 12:56 荣锋亮 阅读(623) 评论(0) 推荐(0) 编辑

Cockpit 容器&&kubernetes 管理可视化工具
摘要:安装 在k8s 的master 上 yum install -y cockpit cockpit-ws cockpit-kubernetes cockpit-bridge cockpit-dashboard cockpit-pcp cockpit-storaged 启动 systemctl rest 阅读全文

posted @ 2018-07-19 19:52 荣锋亮 阅读(1297) 评论(0) 推荐(0) 编辑

memsql filesystem pipeline 试用
摘要:一些功能类似drill ,比如s3,file 。。。 创建file pipeline 准备file mkdir -p /opt/db/ touch books.txt 内容如下: The Catcher in the Rye, J.D. Salinger, 1945 Pride and Prejud 阅读全文

posted @ 2018-06-20 11:18 荣锋亮 阅读(409) 评论(0) 推荐(0) 编辑

memsql 多节点部署
摘要:以前部署使用的是docker,这个测试使用的是阿里云的机器 没有使用企业版,使用的是开发版,为一个master 多个Leaf 机器列表 172.31.128.165 172.31.128.166 172.31.128.167 172.31.128.168 下载软件包 wget http://down 阅读全文

posted @ 2018-06-20 09:49 荣锋亮 阅读(650) 评论(0) 推荐(0) 编辑

nexus yum 私服集成
摘要:nexus 集成了 yum 私服使用起来还是比较简单的 配置 yum proxy 实际使用我们可能需要配置centos 以及epel 的源 centos可以用http://mirror.centos.org/centos/ epel 用http://mirrors.aliyun.com/epel/ 阅读全文

posted @ 2018-05-28 14:35 荣锋亮 阅读(2639) 评论(0) 推荐(0) 编辑

Tencent Server Web(TSW) 腾讯开源的nodejs 基础设施
摘要:Tencent Server Web(TSW),是一套面向WEB前端开发者,以提升问题定位效率为初衷,提供染色抓包、全息日志和异常发现的Node.js基础设施。TSW关注业务的运维监控能力,适用于http、websocket协议的业务场景,可无缝与即有项目进行整合。支持公有云、私有云和本地部署。 染 阅读全文

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

使用distillery 构建专业的 phoenix 项目软件包
摘要:备注: 首先需要安装 elixir 环境 1. 基本项目说明 参考项目: https://github.com/rongfengliang/phoenix-rest-demo 2. 项目说明 备注: 主要是插件的配置 mix.exs defp deps do [ {:phoenix, "~> 1.3 阅读全文

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

osquery简单试用
摘要:备注: osquery facebook 开源的将操作系统指标转换为sql 查询,方便好用,很适合devops 性能分析,系统监控 1. 安装 参考 https://osquery.io/downloads/official/2.11.2 我使用的是centos 使用rpm 包安装 wget htt 阅读全文

posted @ 2018-04-14 20:50 荣锋亮 阅读(4094) 评论(0) 推荐(1) 编辑

导航