摘要:
npm淘宝镜像域名地址更新 淘宝原镜像域名 [registry.npm.taobao.org] 的 HTTPS 证书正式到期。如果要继续使用,需要将 npm 源切换到新的源 [registry.npmmirror.com] 切换新的镜像地址 // 1. 清空缓存 npm cache clean -- 阅读全文
摘要:
logstash 官网 推荐内存4GB-8GB 配置 [root@logstash config]# cat dspfilterLog.conf input { file { path => "/data/logs/adx*/adx/adx-*/dspfilterLog/dspfilter.log" 阅读全文
摘要:
fluentbit 官网 安装 [root@logstash system]# cat /etc/yum.repos.d/td-agent-bit.repo [td-agent-bit] name = TD Agent Bit baseurl = https://packages.fluentbit 阅读全文
摘要:
Go基础语法(持续更新中...) Tips js解析整数为浮点数时,int64可能溢出 type Request struct { ID int64 `json:"id,string"` //加上 tag:json:"id:string" } 异常报错 // 1. 数组/切片索引越界 panic: 阅读全文
摘要:
Gin学习笔记 Gin常用方法 r.GET("/demo", func(c *gin.Context) { // func (c *Context) Data(code int, contentType string, data []byte) 将字节数据写入并更新状态码 // c.SetCooki 阅读全文
摘要:
#查看集群状态curl -XGET "http://ip:port/_cluster/health?pretty" { "cluster_name" : "log4x-cluster02", "status" : "yellow", "timed_out" : false, "number_of_n 阅读全文
摘要:
自定义war启动方法 #!/bin/bash export JENKINS_HOME="/apps/jenkins/data" java -Xmn128M -Xms1024M -Xmx1024M -DJENKINS_HOME=/apps/jenkins/data -jar /apps/jenkins 阅读全文
摘要:
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 ... 阅读全文