Installazione

Installa Apache Storm su Ubuntu 18.04

Installa Zookeeper framework

Innanzitutto, installa Framework Zookeeper sul server. Crea la directory e naviga in essa.

$ mkdir ~/bigdata
$ cd ~/bigdata

Esegui il comando per scaricare Zookeeper framework.

$ wget https://downloads.apache.org/zookeeper/zookeeper-3.6.0/apache-zookeeper-3.6.0-bin.tar.gz

Estrai i file e modifica la directory eseguendo i comandi sotto.

$ tar xfvz apache-zookeeper-3.6.0-bin.tar.gz
$ cd apache-zookeeper-3.6.0-bin.tar.gz

Copia il file di configurazione di esempio con il nuovo nome.

$ cp conf/zoo_sample.cfg conf/zoo.cfg

Apri il file conf/zoo.cfg e aggiungi il seguente codice.

admin.enableServer=true
admin.serverPort=9990

Esegui il comando per avviare Zookeeper.

$ bin/zkServer.sh start

Installa Apache Storm

Esegui il comando per scaricare Apache Storm.

$ wget ftp://apache.uib.no/pub/apache/storm/apache-storm-2.1.0/apache-storm-2.1.0.tar.gz

Estrarre il file TAR e modificare la directory utilizzando i comandi di seguito.

$ tar -zxf apache-storm-2.1.0.tar.gz
$ cd apache-storm-2.1.0

Apri il file conf/storm.yaml e aggiungi le righe sotto.

storm.zookeeper.servers:
 - "localhost"
nimbus.seeds: [ "localhost" ]

Esegui il comando per avviare il nimbus.

$ bin/storm nimbus

Avvia il supervisore eseguendo il comando sotto.

$ bin/storm supervisor

Inizia l’interfaccia utente.

$ bin/storm ui

Apri il browser e inserisci http: // localhost: 8080 per accedere alle informazioni sul cluster di tempeste e alla sua topologia in esecuzione.

 Italiano