一.部署计划
准备三台服务器,分别为:
192.168.65.143: 部署nginx、Logstash,收集nginx日志
192.168.65.144: 部署Elasticsearch
192.168.65.145: 部署Kibana
logstash下载地址:https://www.elastic.co/cn/downloads/logstash
Elasticsearch下载地址:https://www.elastic.co/cn/downloads/elasticsearch
Kibana下载地址:https://www.elastic.co/cn/downloads/kibana

二.Linxu服务器环境准备
三台服务器操作:
1.关闭防火墙: systemctl stop firewalld && systemctl distable firewalld
2.关闭selinux: 将/etc/selinux/config中的SELINUX=enforcing修改为SELINUX=disabled
3.修改文件描述符大小: 执行 echo -e "* soft nproc 65535\n* hard nproc 65535\n* soft nofile 65535\n* hard nofile 65535\n" >> /etc/security/limits.conf
192.168.65.143操作:
1.安装jdk: yum -y install java-11-openjdk.x86_64