摘要: 方式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 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 版本说明: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 阅读(3078) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(756) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(2427) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(2062) 评论(0) 推荐(0) 编辑
摘要: 首先要安装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 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 首先要安装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 阅读(1179) 评论(0) 推荐(0) 编辑
摘要: 首先要安装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 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 首先要安装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 阅读(295) 评论(0) 推荐(0) 编辑
摘要: # 创建目录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 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(3179) 评论(0) 推荐(0) 编辑
摘要: ftp put 一个xls 再 get 下来后 就乱码了,而txt不会,然后百度了一下了解到ftp有ASCII和BINARY两种传输文件模式,然后试了一下发现通过binary模式put上去的再同样通过binary模式get下来的xls就不会出现乱码了(我开了两个ftp连接,都必须要开启binary模 阅读全文
posted @ 2019-04-17 21:52 DotQin 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 使用 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 阅读(2038) 评论(0) 推荐(1) 编辑