Labor 2: Keskne logiserver: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Kvainast (talk | contribs)
Kvainast (talk | contribs)
No edit summary
Line 35: Line 35:
<source lang="bash">
<source lang="bash">
mv logstash-1.1.12-flatjar.jar /etc/logstash/logstash.jar</source>
mv logstash-1.1.12-flatjar.jar /etc/logstash/logstash.jar</source>
...

Revision as of 15:06, 13 January 2014

Ülesande püstitus

Keskse logiserveri paigaldus

Serveri ja kliendi seadistus

Server: Ubuntu Server 12.04 (32bit) (Võib kasutada teisi versioone)

Serveri ip muutsime 192.168.56.201 (Kasutaja võib endale sobiva ip panna)


Logstash´i paigaldamine ja seadistamine

Kõik käsud tuleb sisestada root kasutaja õigustes.


Openjdk paigaldus:

apt-get install openjdk-7-jre

Logstashi kausta loomine:

mkdir /etc/logstash

Logstashi allalaadimine:

wget https://logstash.objects.dreamhost.com/release/logstash-1.1.12-flatjar.jar

Allalaaditud faili tõstmine Logstash´i jaoks loodud kausta:

mv logstash-1.1.12-flatjar.jar /etc/logstash/logstash.jar

...