惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Hacker News: Ask HN
Hacker News: Ask HN
The Hacker News
The Hacker News
S
Security Affairs
T
Tor Project blog
N
News | PayPal Newsroom
V2EX - 技术
V2EX - 技术
Microsoft Security Blog
Microsoft Security Blog
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
P
Palo Alto Networks Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
W
WeLiveSecurity
Y
Y Combinator Blog
TaoSecurity Blog
TaoSecurity Blog
MongoDB | Blog
MongoDB | Blog
Cloudbric
Cloudbric
大猫的无限游戏
大猫的无限游戏
Blog — PlanetScale
Blog — PlanetScale
G
GRAHAM CLULEY
博客园 - 聂微东
月光博客
月光博客
T
The Exploit Database - CXSecurity.com
C
Cyber Attacks, Cyber Crime and Cyber Security
Latest news
Latest news
H
Help Net Security
U
Unit 42
P
Privacy & Cybersecurity Law Blog
The GitHub Blog
The GitHub Blog
S
Securelist
The Last Watchdog
The Last Watchdog
Stack Overflow Blog
Stack Overflow Blog
H
Hacker News: Front Page
C
Check Point Blog
Schneier on Security
Schneier on Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Schneier on Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
A
Arctic Wolf
P
Privacy International News Feed
WordPress大学
WordPress大学
T
Threatpost
博客园_首页
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Secure Thoughts
Simon Willison's Weblog
Simon Willison's Weblog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Jina AI
Jina AI

博客园 - 独孤俊杰

信息系统项目管理师第4版10大管理过程ITO整理 MySQL 5.7及以上解压缩版本配置安装 Cannot load from mysql.proc. The table is probably corrupted解决办法 Jwplayer播放器:Could not load plugins: File not(转) windbg+vm双机调试 waiting to reconnect 无法连接问题,解决办法 Maximum execution time of 30 seconds exceeded解决办法 wamp server中配置php访问sqlsever php中遇到下列错误 ,Fatal error: Can't use function return value in write context,解决办法 apache服务通常启动,但打不开网页,提示Try using the Win32DisableAcceptEx directive (转) QR码生成原理(转) 安装winamp无法启动mysql,提示 [ERROR] wampmysqld: unknown variable 'table_cache=4100' 刚装的WIN7,用了一下午,记一下备忘 现在没有目标了,不知道该干什么了 电信禁止路由上网的最佳破解方法(转) meta 标签的作用 不同系统开启和关闭fso的方法(转) 安装SQLServer2000时,提示"以前的某个程序安装已在安装计算机上创建挂起的文件操作。运行安装程序之前必须重新启动计算机" - 独孤俊杰 - 博客园 加验证控件无法提交的问题解决方法 希腊字母以及发音
Elastic Stack 6.5安装:一、 在centos7中安装Logstash
独孤俊杰 · 2019-01-07 · via 博客园 - 独孤俊杰

最近在调试安装Elastic Stack 6.5,由于对linux不是很熟,遇到一些问题,现将相关调试安装步骤记录下:
一、相关软件的环境与版本
操作系统:来在centos7.6.1810
ELK版本:Elastic Stack 6.5
二、安装步骤
1、由于系统是最小化安装,无JAVA需安装,在root权限下运行命令:yum install java
待安装完成后,运行:java -version查看是否安装成功。
2、引入Elastic 的签名:
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
在 /etc/yum.repos.d/目录下新建一个elasticsearch.repo文件,执行下面的命令
vi /etc/yum.repos.d/elasticsearch.repo
将下面的内容输入进去:
[logstash-6.x]
name=Elastic repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md


设置完成以上步骤就可以直接安装了

sudo yum install logstash
三、运行测试命令
在这里遇到一个坑,网上的教程有的没提到,有的可能安装方式不一样
运行bin/logstash -e 'input { stdin { } } output { stdout {} }'提示没有那个文件或目录,用find命令找了一下,发现程序默认是安装在/usr/share/logstash里
/usr/share/logstash/bin/logstash -e 'input { stdin { } } output { stdout {} }'
在窗口中输入helloworld,哈哈,能跑起来了