w3mCentOS下安装,及w3m的使用

△△△△△△△△如果你用的是centos或readhat企业版,可以用下面的命令安装。△△△△△△△△△△ sudo yum install w3m △△△△△△△△如果你用的是Debian或ubuntu,可以用下面的命令安装。... Read More | Share it now!

prometheus/client_python

Prometheus Python Client The official Python 2 and 3 client for Prometheus. https://github.com/prometheus/client_python Three Step Demo One: Install the client: pip install prometheus_client Two: Paste the following into a Python interpreter: from... Read More | Share it now!

Protected: portraiture注册码(亲测有效)pw123

There is no excerpt because this is a protected post.

Python实现redis的自增操作

在传统的数据库中, 如果实现一个计数器的操作, 需要先去数据库中读取该值, 再程序中加1, 再讲最新的值存入数据库. 用户操作的流程步骤多不说, 还容易出现数据安全性的问题,... Read More | Share it now!

elasticsearch6.x {“error”:”Content-Type header [application/x-www-form-urlencoded] is not supported”

问题描述 curl -XPOST 192.168.14.173:32000/test_index_1221/test_type/5 -d '{'user_name':"xiaoming"}' {"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406} 解决方法 curl -H "Content-Type:... Read More | Share it now!

ElK + Filebeat安装教程

EKL Stack简介 ELK 不是一款软件,而是Elasticsearch、Logstash和Kibana首字母的缩写。这三者是开源软件,通常配合一起使用,而且先后归于Elasic.co公司的名下,所以简称ELK Stack。根据Google... Read More | Share it now!

daemon: command not found

If you are missing the scripts, you can simply (re)install them this should get daemon: command not found issue resolved yum install -y initscripts ... Read More | Share it now!

Docker容器使用问题:Failed to get D-Bus connection: Operation not permitted

刚开始接触Docker的朋友,可能会遇到这么一个问题,使用centos7镜像创建容器后,在里面使用systemctl启动服务报错。针对这个报错,我们接下来就分析下! # docker run -itd –name centos7 centos:7 #... Read More | Share it now!

Logstash基础知识

https://doc.yonyoucloud.com/doc/logstash-best-practice-cn/get_start/index.html Hello World 下载 https://www.elastic.co/cn/downloads/logstash 和绝大多数 IT 技术介绍一样,我们以一个输出 “hello world”... Read More | Share it now!

ELK-配置使用 Filebeat

为什么使用 Filebeat Logstash 是一个 Java 程序,当作为收集日志的 Agent 时,显得太臃肿了。 之前听过一个公司(斗鱼)使用 Logstash 作为日志收集 Agent 时,资源占用好像比业务进程占用还多!  ... Read More | Share it now!