1)配置flume(flume-kafka.conf) # define a1.sources = r1 a1.sinks = k1 a1.channels = c1 # source a1.sources.r1.type = exec a1.sources.r1.command = tail -F ...
分类:
Web程序 时间:
2020-11-30 15:35:17
阅读次数:
9
出现的错误为: Multiple annotations found at this line:- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plu ...
分类:
其他好文 时间:
2020-11-30 15:21:50
阅读次数:
4
编辑用户级配置文件 vim ~/.bashrc 添加配置信息: export PATH=/usr/local/mongodb/mongodb-3.6.5/bin:$PATH (中间那部分就是你的安装目录下的bin) 保存退出,刷新:source ~/.bashrc 我们输入mongo,显示版本信息, ...
分类:
其他好文 时间:
2020-11-27 11:48:48
阅读次数:
36
RCE: 英文全称:remote command / code execcute 分别为远程命令执行(ping)和远程代码执行(evel) 我们常见的路由器、防火墙、入侵检测等设备的web管理界面上一般会给用户提供一个ping操作的web界面,攻击者直接从web界面向后台服务器远程注入操作系统命令或 ...
分类:
Web程序 时间:
2020-11-27 11:30:34
阅读次数:
12
编写单元测试,运行时报下面的错误 haima@haima-PC:/media/haima/34E401CC64DD0E28/site/go/src/haimait/learn/base/cheshi01$ go test go: cannot find main module, but found ...
分类:
其他好文 时间:
2020-11-26 14:24:36
阅读次数:
5
WindowsRegistryEditorVersion5.00[HKEY_CLASSES_ROOT\test];申明协议内容"URLProtocol"="C:\Windows\System32\test.exe";申明打开文件[HKEY_CLASSES_ROOT\test\shell\open\command]@="\"C:\Windo
分类:
其他好文 时间:
2020-11-26 14:07:10
阅读次数:
3
用NVIDIA NsightcComputeRoofline分析加速高性能HPC的应用 编写高性能的软件不是一件简单的任务。当有了可以编译和运行的代码之后,当您尝试并理解它在可用硬件上的执行情况时,将引入一个新的挑战。不同的平台,无论是cpu、gpu还是其他平台,都会有不同的硬件限制,比如可用内存带 ...
分类:
其他好文 时间:
2020-11-25 12:10:47
阅读次数:
4
Java并发编程系列23|循环屏障CyclicBarrier收录于话题#进阶架构师|并发编程专题12个本篇介绍第二个并发工具类CyclicBarrier,CyclicBarrier的字面意思是可循环使用(Cyclic)的屏障(Barrier),分以下部分介绍:CyclicBarrier的使用CyclicBarrier与CountDownLatch比较CyclicBarrier源码解析1.Cycli
分类:
编程语言 时间:
2020-11-24 12:54:55
阅读次数:
6
ERROR Failed to compile with 4 errors These relative modules were not found: * ../../../public/ueditor/lang/zh-cn/zh-cn.js in ./node_modules/babel-loa ...
分类:
Web程序 时间:
2020-11-23 12:09:09
阅读次数:
11
MySQL5.6之后的版本在通过客户端连接或者备份时时都会有出现如下的一个警告: Warning: Using a password on the command line interface can be insecure. 在一些脚本操作中可能会造成一些干扰,这里介绍下两种方式来避免这个输出: ...
分类:
数据库 时间:
2020-11-23 12:08:06
阅读次数:
13