仅罗列了一些常用基础配置,更多配置请到官网查看 https://www.elastic.co/guide/en/beats/filebeat/current/index.html filebeat.yml配置文件 # Filebeat inputs #input设置,支持Docker,Contain ...
分类:
其他好文 时间:
2020-07-18 22:06:05
阅读次数:
189
Rabbitmq的使用四_Java Client方式使用Topic模式 1.官方文档地址:https://www.rabbitmq.com/tutorials/tutorial-five-java.html 2.定义:topic和direct类似,也是将消息发送到RoutingKey和Binding ...
分类:
编程语言 时间:
2020-07-18 20:00:00
阅读次数:
93
在配置hadoop集群时,时间同步是必须要做的,否则会出现各种意想不到的问题。 hadoop102 为 ntp server,hadoop103以及hadoop104 为ntp client(即需要同步时间机器) 1.全部机器都要安装ntp以及ntpdate sudo apt-get install ...
分类:
系统相关 时间:
2020-07-18 16:09:18
阅读次数:
143
今天在使用apache搭建yum的web服务时,配置完成后、访问http://ip 时,浏览器报错:500 Internal Server Error 然后查询error.log发现,有如下错误提示: [Sat Jul 18 11:28:23 2020] [crit] [client 12.23.7 ...
分类:
Web程序 时间:
2020-07-18 15:34:21
阅读次数:
88
实现一个简单的常驻任务是容易的,写一个while True就可以了,但是同时要能接收外界传来的参数,就稍微有点复杂. 我第一个想到的是网络编程中的server/client模式 server作为常驻进程,可以接受client传来的各种参数进行处理 服务端:server.py import socke ...
分类:
编程语言 时间:
2020-07-18 13:41:11
阅读次数:
72
相关问题描述: - 你没有权限打开该文件,请问文件的所有者或管理员申请权限。 - 你没有权限在此位置中保存文件。请与管理员联系以获得相应权限。 - 0x80070522: A required privilege is not held by the client? Step1: win + r → ...
容器自启 docker container update --restart=always 容器名字 安装mysql mkdir -p /mydata/mysql/conf vi /mydata/mysql/conf/my.cnf [client] default-character-set=utf ...
分类:
其他好文 时间:
2020-07-17 21:59:25
阅读次数:
87
环境:CentOS7版本:postgresql11安装repo源yuminstallhttps://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm2.安装client、serveryuminstallpostgresql11yuminstallpostgres
分类:
数据库 时间:
2020-07-17 16:27:16
阅读次数:
121
public static JSONObject getToken(String appId,String appSecret){ String url="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&app ...
分类:
微信 时间:
2020-07-17 14:05:12
阅读次数:
111
今天在安装oracle时报错客户端时报错,导致oracle无法打开监听。 环境表述 widnows10_64位专业版 oracle11gR2_client(已管理员方式安装) 报错信息 在文件夹 ‘Oracle - OraClient11g_home2\集成管理工具’ 中创建 ‘OLAP Analy ...
分类:
数据库 时间:
2020-07-17 13:46:59
阅读次数:
86