会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Long Long Ago
博客园
首页
新随笔
联系
订阅
管理
2021年2月15日
Mac SSH免密码登录 Linux服务器
摘要: 方式1: ssh-copy-id -f -i .ssh/id_rsa.pub root@LinuxServerIP 方式2: #先在mac上将公钥上传到Linux服务器 scp .ssh/id_rsa.pub root@LinuxServerIP: #然后以root身份登录到Linux服务器上 ca
阅读全文
posted @ 2021-02-15 15:51 DotQin
阅读(173)
评论(0)
推荐(0)
2020年9月12日
Flink写入数据到Elasticsearch示例
摘要: 版本说明:flink-v1.11 elasticsearch-7.9 1.添加maven依赖 <!-- elasticsearch connector --> <dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-con
阅读全文
posted @ 2020-09-12 14:35 DotQin
阅读(3165)
评论(0)
推荐(0)
2020年9月10日
Logstash消费Kafka输出至Elasticsearch配置文件示例
摘要: input { kafka { bootstrap_servers => "192.168.32.36:9092,192.168.32.37:9092,192.168.32.38:9092" topics => "msa-log-prod" codec => "json" group_id => "
阅读全文
posted @ 2020-09-10 20:41 DotQin
阅读(781)
评论(0)
推荐(0)
Logback将日志输出到Kafka配置示例
摘要: 1.maven依赖 <dependency> <groupId>com.github.danielwegener</groupId> <artifactId>logback-kafka-appender</artifactId> <version>0.2.0-RC2</version> </depe
阅读全文
posted @ 2020-09-10 20:31 DotQin
阅读(2591)
评论(0)
推荐(0)
2020年9月9日
CentOS 7/8 yum安装Logstash7
摘要: 1.下载并安装公钥 sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch 2.设置源 cd /etc/yum.repos.d/ vim logstash.repo # 添加以下内容 [logstash-7.x] na
阅读全文
posted @ 2020-09-09 13:58 DotQin
阅读(2232)
评论(0)
推荐(0)
2020年9月8日
CentOS 7/8 部署Elasticsearch集群
摘要: 首先要安装JDK,参考 https://www.cnblogs.com/dotqin/p/13560419.html 环境说明:三台百度云服务器,内网IP分别为: 192.168.32.36、192.168.32.37、192.168.32.38, 不开放公网IP访问 分别在三台服务器上执行以下操作
阅读全文
posted @ 2020-09-08 20:54 DotQin
阅读(483)
评论(0)
推荐(0)
2020年8月27日
CentOS 7/8 部署Maxwell
摘要: Maxwell官网 http://maxwells-daemon.io/ 1.下载解压 cd /usr/local/ mkdir maxwell cd maxwell wget https://github.com/zendesk/maxwell/releases/download/v1.27.1/
阅读全文
posted @ 2020-08-27 18:30 DotQin
阅读(636)
评论(0)
推荐(0)
2020年8月26日
CentOS 7/8 部署Flink高可用独立集群
摘要: 首先要安装JDK及zookeeper,参考 https://www.cnblogs.com/dotqin/p/13560419.html 及 https://www.cnblogs.com/dotqin/p/13560764.html 另外需要各服务器之间SSH免密码登录,这个自行百度,要注意的是自
阅读全文
posted @ 2020-08-26 22:24 DotQin
阅读(1329)
评论(0)
推荐(0)
2020年8月25日
CentOS 7/8 部署Kafka集群
摘要: 首先要安装JDK及zookeeper,参考 https://www.cnblogs.com/dotqin/p/13560419.html 及 https://www.cnblogs.com/dotqin/p/13560764.html 环境说明:三台百度云服务器,内网IP分别为: 192.168.3
阅读全文
posted @ 2020-08-25 17:50 DotQin
阅读(463)
评论(0)
推荐(0)
CentOS 7/8 部署Zookeeper集群
摘要: 首先要安装JDK,参考 https://www.cnblogs.com/dotqin/p/13560419.html 环境说明:三台百度云服务器,内网IP分别为: 192.168.32.36、192.168.32.37、192.168.32.38, 不开放公网IP访问 分别在三台服务器上执行以下操作
阅读全文
posted @ 2020-08-25 17:17 DotQin
阅读(341)
评论(0)
推荐(0)
CentOS 7/8 安装JDK8
摘要: # 创建目录mkdir /usr/local/java # 下载JDK并上传到/usr/local/java # https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html # 解压缩 cd /usr/loca
阅读全文
posted @ 2020-08-25 16:29 DotQin
阅读(327)
评论(0)
推荐(0)
CentOS 7/8 初始化相关推荐操作
摘要: 1.安装vim yum install epel-releaseyum install vim -y 2.设置SSH永不过期 vim /etc/ssh/sshd_config 设置以下内容: ClientAliveInterval 60 ClientAliveCountMax 3 3.设置主机名 h
阅读全文
posted @ 2020-08-25 15:41 DotQin
阅读(309)
评论(0)
推荐(0)
2020年8月7日
SpringBoot集成Kafka序列化与反序列化
摘要: maven依赖: <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> <version>2.2.14.RELEASE</version> </dependenc
阅读全文
posted @ 2020-08-07 14:32 DotQin
阅读(3601)
评论(0)
推荐(0)
2019年4月17日
vsftpd 文件乱码 txt正常 xls乱码
摘要: ftp put 一个xls 再 get 下来后 就乱码了,而txt不会,然后百度了一下了解到ftp有ASCII和BINARY两种传输文件模式,然后试了一下发现通过binary模式put上去的再同样通过binary模式get下来的xls就不会出现乱码了(我开了两个ftp连接,都必须要开启binary模
阅读全文
posted @ 2019-04-17 21:52 DotQin
阅读(176)
评论(0)
推荐(0)
2019年4月11日
Linux下删除乱码文件及文件夹
摘要: 使用 ls -i 命令找到文件或目录的 inode 删除文件(用 inode 替换下面的 12345678): find -inum 12345678 -delete 删除目录(会提示 No such file or directory): find -inum 12345678 -exec rm
阅读全文
posted @ 2019-04-11 16:10 DotQin
阅读(2063)
评论(0)
推荐(1)
公告