06 2020 档案

摘要:1.登录nexus 默认用户名和密码 admin admin123 2.点击上图配置图标 3.点击blob Stores 4.点击 create blob store 填写name 点击创建存储空间 5.创建仓库 hosted(私有仓库):用于发布个人开发的npm组件proxy(代理仓库):可以代理 阅读全文
posted @ 2020-06-30 10:16 caonw 阅读(3542) 评论(0) 推荐(0)
摘要:npm 为了安全禁止使用root用户或者sudo来安装node-sass,切换到普通用户就可以了,或者添加 --unsafe-perm 参数。-g 全局 npm install --unsafe-perm -g node-sass 修改npm源 npm config set registry htt 阅读全文
posted @ 2020-06-28 16:41 caonw 阅读(6282) 评论(0) 推荐(0)
摘要:1. 生产端的配置文件 producer.properties #指定kafka节点列表,用于获取metadata,不必全部指定 #需要kafka的服务器地址,来获取每一个topic的分片数等元数据信息。 metadata.broker.list=kafka01:9092,kafka02:9092, 阅读全文
posted @ 2020-06-22 10:12 caonw 阅读(227) 评论(0) 推荐(0)
摘要:filebeat.yaml filebeat.prospectors: - input_type: log paths: - /var/log/messages output.kafka: hosts: ["10.23.215.95:9092","10.23.215.96:9092","10.23. 阅读全文
posted @ 2020-06-19 09:23 caonw 阅读(2707) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-06-17 11:26 caonw 阅读(165) 评论(0) 推荐(0)
摘要:1.安装ntp服务端 [root@kafka1 ~]# yum install ntp -y 2.修改配置 cat /etc/ntp.conf driftfile /var/lib/ntp/drift restrict default nomodify notrap nopeer noquery r 阅读全文
posted @ 2020-06-12 21:12 caonw 阅读(808) 评论(0) 推荐(0)
摘要:报错: Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from position > f 阅读全文
posted @ 2020-06-12 10:59 caonw 阅读(296) 评论(0) 推荐(0)
摘要:[root@monitor prometheus]# curl -XPOST localhost:9090/-/reloadLifecycle API is not enabled. 添加--web.enable-lifecycle 阅读全文
posted @ 2020-06-11 14:01 caonw 阅读(4952) 评论(0) 推荐(0)
摘要:下载采集端 https://github.com/oliver006/redis_exporter prometheus配置 - job_name: 'redis_exporter_targets' static_configs: - targets: - redis://10.23.215.214 阅读全文
posted @ 2020-06-11 13:19 caonw 阅读(448) 评论(0) 推荐(0)
摘要:Kafka设计的初衷是迅速处理短小的消息,一般10K大小的消息吞吐性能最好(可参见LinkedIn的kafka性能测试)。但有时候,我们需要处理更大的消息,比如XML文档或JSON内容,一个消息差不多有10-100M,这种情况下,Kakfa应该如何处理?针对这个问题,有以下几个建议: 最好的方法是不 阅读全文
posted @ 2020-06-11 11:12 caonw 阅读(1460) 评论(0) 推荐(0)
摘要:注册 注册的信息,主机名cdh-node2 ip:10.23.215.217 consul 地址:10.23.215.236:8500 curl -X PUT -d '{"id": "cdh-node2","name": "cdh-node2","address": "10.23.215.217", 阅读全文
posted @ 2020-06-11 09:02 caonw 阅读(2824) 评论(0) 推荐(0)
摘要:1.管理--创建媒体类型 {ALERT.SENDTO} {ALERT.SUBJECT} {ALERT.MESSAGE} 2.配置--动作--事件源(触发器)创建动作 阅读全文
posted @ 2020-06-09 16:15 caonw 阅读(294) 评论(0) 推荐(0)
摘要:问题1: 10377:20200609:145922.118 no active checks on server [10.23.215.101:10051]: host [zabbix-server] not found 办法: 修改zabbix-server服务器上 /etc/hosts 添加映 阅读全文
posted @ 2020-06-09 15:04 caonw 阅读(471) 评论(0) 推荐(0)
摘要:1.配置--自动发现--创建发现规则 2.填写自动发现规则 键值:system.uname 3.配置--动作--事件源选择(自动发现)--点击创建动作 添加动作 和操作 4.点击启用 动作 和 自动发现即可 阅读全文
posted @ 2020-06-09 14:50 caonw 阅读(212) 评论(0) 推荐(0)
摘要:mysql数据库使用总结 本文主要记录一些mysql日常使用的命令,供以后查询。 1.更改root密码 mysqladmin -uroot password 'yourpassword' 2.远程登陆mysql服务器 mysql -uroot -p -h192.168.137.10 -P3306 3 阅读全文
posted @ 2020-06-08 09:09 caonw 阅读(941) 评论(0) 推荐(0)