NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

INSTALLAZIONE ELASTIC STACK SU CENTOS7

###########################
#Installazione logstash 5.4
###########################
1. Aprire terminale con permessi di root
=> sudo su
=> digitare password amminsitratore

2. scaricare e installare la public signing key:
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

3. Nella directory /etc/yum.repos.d/ aggiunger un file con estensione .repo es.(logstash.repo)
e copiarci dentro quanto segue:
[logstash-5.x]
name=Elastic repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md

4. installare Logstash
sudo yum install logstash

5. Spostarsi nella cartella /usr/share/logstash/bin e digitare il comando:
./logstash -e 'input { stdin { } } output { stdout {} }'

6. Digitare 'ciao' da terminale per verificare il funzionamento do Logstash.

################################
#Installazione ElasticSearch 5.4
################################

1. Aprire terminale con permessi di root
sudo su
digitare password amminsitratore

2. Scaricare e installare la public signing key:
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

3. Nella directory /etc/yum.repos.d/ creare il file elasticsearch.repo
e copiarci dentro quanto segue:
[elasticsearch-5.x]
name=Elasticsearch repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md

4. Installare ElasticSearch
sudo yum install elasticsearch
Configurare Elasticsearch per avviarsi automaticamente all'avvio del sistema:
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
Elasticsearch può essere avviato/stoppato con i seguenti comandi:
sudo systemctl start elasticsearch.service
sudo systemctl stop elasticsearch.service
(These commands provide no feedback as to whether Elasticsearch was started successfully or not.)

5. Per testare se ElasticSearch in esecuzione, da riga di comando
curl -XGET 'localhost:9200/?pretty'

#########################
#Installazione Kibana 5.4
#########################

1. Aprire terminale con permessi di root
sudo su
digitare password amminsitratore

2. Scaricare e installare la public signing key:
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

3. Nella directory /etc/yum.repos.d/ creare il file kibana.repo
e copiarci dentro quanto segue:
[kibana-5.x]
name=Kibana repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md

4. Installare kibana
sudo yum install kibana

Configurare Elasticsearch per avviarsi automaticamente all'avvio del sistema:

sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable kibana.service

Kibana può essere avviato/stoppato con i seguenti comandi:

sudo systemctl start kibana.service
sudo systemctl stop kibana.service

5. Accedere a Kibana:
da browser accedere a localhost:5601 ( oppure http://YOURDOMAIN.com:5601)

6. Checking Kibana status:
da browser: localhost:5601/status




     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.