会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
崔某一的运维架构师之旅~
博客园
首页
新随笔
联系
订阅
管理
2024年2月21日
npm 淘宝镜像域名地址更新
摘要: npm淘宝镜像域名地址更新 淘宝原镜像域名 [registry.npm.taobao.org] 的 HTTPS 证书正式到期。如果要继续使用,需要将 npm 源切换到新的源 [registry.npmmirror.com] 切换新的镜像地址 // 1. 清空缓存 npm cache clean --
阅读全文
posted @ 2024-02-21 14:30 崔某一
阅读(500)
评论(0)
推荐(0)
2022年1月28日
logstash
摘要: logstash 官网 推荐内存4GB-8GB 配置 [root@logstash config]# cat dspfilterLog.conf input { file { path => "/data/logs/adx*/adx/adx-*/dspfilterLog/dspfilter.log"
阅读全文
posted @ 2022-01-28 10:29 崔某一
阅读(82)
评论(0)
推荐(0)
2022年1月19日
采集日志工具-fluentbit输出到kafka
摘要: fluentbit 官网 安装 [root@logstash system]# cat /etc/yum.repos.d/td-agent-bit.repo [td-agent-bit] name = TD Agent Bit baseurl = https://packages.fluentbit
阅读全文
posted @ 2022-01-19 17:33 崔某一
阅读(1203)
评论(1)
推荐(0)
2021年10月24日
Go语言基础学习
摘要: Go基础语法(持续更新中...) Tips js解析整数为浮点数时,int64可能溢出 type Request struct { ID int64 `json:"id,string"` //加上 tag:json:"id:string" } 异常报错 // 1. 数组/切片索引越界 panic:
阅读全文
posted @ 2021-10-24 09:58 崔某一
阅读(86)
评论(0)
推荐(0)
2021年6月30日
一起学Go吧——Gin web框架学习
摘要: Gin学习笔记 Gin常用方法 r.GET("/demo", func(c *gin.Context) { // func (c *Context) Data(code int, contentType string, data []byte) 将字节数据写入并更新状态码 // c.SetCooki
阅读全文
posted @ 2021-06-30 18:15 崔某一
阅读(318)
评论(0)
推荐(0)
2020年8月24日
解决Elasticsearch集群状态黄色,unassigned INDEX_CREATED
摘要: #查看集群状态curl -XGET "http://ip:port/_cluster/health?pretty" { "cluster_name" : "log4x-cluster02", "status" : "yellow", "timed_out" : false, "number_of_n
阅读全文
posted @ 2020-08-24 18:32 崔某一
阅读(1551)
评论(0)
推荐(0)
2018年10月16日
jenkins
摘要: 自定义war启动方法 #!/bin/bash export JENKINS_HOME="/apps/jenkins/data" java -Xmn128M -Xms1024M -Xmx1024M -DJENKINS_HOME=/apps/jenkins/data -jar /apps/jenkins
阅读全文
posted @ 2018-10-16 12:41 崔某一
阅读(180)
评论(0)
推荐(0)
2018年6月6日
shell脚本加密
摘要: cd /usr/local/src/ wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9.tgz tar zxf shc-3.8.9.tgz cd shc-3.8.9 mkdir -p /usr/local/man/man1 make install cp shc /usr/sbin/ cp shc /usr/bin/ shc ...
阅读全文
posted @ 2018-06-06 16:45 崔某一
阅读(138)
评论(0)
推荐(0)
2018年6月5日
nginx请求限制配置
摘要: 连接限制没有请求限制有效?我们前面说过, 多个请求可以建立在一次的TCP连接之上, 那么我们对请求的精度限制,当然比对一个连接的限制会更加的有效。因为同一时刻只允许一个连接请求进入。但是同一时刻多个请求可以通过一个连接进入。所以请求限制才是比较优的解决方案。
阅读全文
posted @ 2018-06-05 17:23 崔某一
阅读(177)
评论(0)
推荐(0)
nginx禁用api接口,并提示
摘要: 提示json的输出 提示文本的输出
阅读全文
posted @ 2018-06-05 15:37 崔某一
阅读(664)
评论(0)
推荐(0)
下一页
公告