01_基础环境说明

服务器说明

服务器名IP
logstash 172.16.142.142
elastic 172.16.142.141
Kibana 172.16.142.125

JDK环境

ES和Logstash依赖于JDK1.8环境

$ tar xvf jdk-8u181-linux-x64.tar.gz -C /usr/local/
$ mv /usr/local/jdk1.8.0_181/ /usr/local/java
$ vim /etc/profile.d/elk.sh 
export JAVA_HOME=/usr/local/java
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:$CLASSPATH
$ source /etc/profile

  

 

posted @ 2019-09-20 18:45  情浅凉心  阅读(145)  评论(0编辑  收藏  举报