1. Home
  2. Know how
  3. How to Deploy a Client

How to Deploy a Client

To Deploy a Client includes ELK setup

E – Elasticserach   L – Logstash  K – Kibana

Prerequisites for ELK setup:

Check for Java Home setting, If not available, add and proceed further.

  • echo $JAVA_HOME

If this returns java home dir, then ignore below steps and proceed to “ELK setup start” step

  • yum install java-1.8.0-openjdk-devel
  • vi /etc/profile — enter below lines
    export JAVA_HOME=/usr/jdk64/jdk1.8.0_112
    export PATH=$JAVA_HOME/bin:$PATH

This will setup the java home path required for ELK Setup.

ELK setup start:

  • mkdir /usr/elk
  • cd /usr/elk
  • mkdir elasticsearch
  • mkdir kibana
  • mkdir logstash
Elasticsearch Installation Setup:
  • cd elasticsearch
  • wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.4.2.tar.gz
  • wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-.4.2.tar.gz.sha512
  • shasum -a 512 -c elasticsearch-6.4.2.tar.gz.sha512
  • tar -xzf elasticsearch-6.4.2.tar.gz
  • sudo chown -R ec2-user /usr/elk/elasticsearch/elasticsearch-6.4.2

This will successfully install the Elasticsearch setup

Logstash Installation Setup:
  • cd logstash
  • wget https://artifacts.elastic.co/downloads/logstash/logstash-6.4.2.tar.gz
  • tar -xvf logstash-6.4.2.tar.gz
Kibana Installation Setup:
  • cd kibana
  • wget https://artifacts.elastic.co/downloads/kibana/kibana-6.4.2-linux-x86_64.tar.gz
  • shasum -a 512 kibana-6.4.2-linux-x86_64.tar.gz
  • tar -xzf kibana-6.4.2-linux-x86_64.tar.gz
Updated on July 24, 2019

Was this article helpful?

Related Articles

Leave a Comment