tl;dr
Not sure if the RabbitMQ Server is supposed to be installed on the RPi Controller, but I'm trying it anyway.
Open a terminal and download the latest package for the Raspbian
sudo -s
cd /home/pi/Downloads
wget -c https://packages.erlang-solutions.com/erlang/esl-erlang/FLAVOUR_1_general/esl-erlang_20.1.7-1~raspbian~stretch_armhf.deb
wget -c https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.4/rabbitmq-server_3.7.4-1_all.deb
Install the dependencies
apt-get install socat logrotate
Now install the erlang
dpkg -i esl-erlang_20.1.7-1~raspbian~stretch_armhf.deb
Now install the RabbitMQ server
dpkg -i rabbitmq-server_3.7.4-1_all.deb
Install any missing packages, then, reboot the RPi
sudo -s
rabbitmq-plugins enable rabbitmq_management
rabbitmqctl add_user pi clusterhat
rabbitmqctl set_user_tags pi administrator
rabbitmqctl set_permissions -p / pi ".*" ".*" ".*"
The above commands will perform the following actions:
sudo -s
cd /home/pi
git clone https://github.com/tlkh/prowler-dashboard.git
Now run the dashboard, from the terminal:
cd /home/pi/prowler-dashboard
python3 app.py
Installing RabbitMQ
First, we need to download a few files:Open a terminal and download the latest package for the Raspbian
sudo -s
cd /home/pi/Downloads
wget -c https://packages.erlang-solutions.com/erlang/esl-erlang/FLAVOUR_1_general/esl-erlang_20.1.7-1~raspbian~stretch_armhf.deb
wget -c https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.4/rabbitmq-server_3.7.4-1_all.deb
Install the dependencies
apt-get install socat logrotate
Now install the erlang
dpkg -i esl-erlang_20.1.7-1~raspbian~stretch_armhf.deb
Now install the RabbitMQ server
dpkg -i rabbitmq-server_3.7.4-1_all.deb
Install any missing packages, then, reboot the RPi
Configure the Management Console
Open a terminal and enter the following commands, replacing variables (denoted by brackets) with actual values:sudo -s
rabbitmq-plugins enable rabbitmq_management
rabbitmqctl add_user pi clusterhat
rabbitmqctl set_user_tags pi administrator
rabbitmqctl set_permissions -p / pi ".*" ".*" ".*"
The above commands will perform the following actions:
- Enable the management console
- Create a new user for authenticated connections
- Gives the new user administrator privileges
- Gives the new user full control of exchanges/queues
Dashboard
Open a terminal and git a clone of the dashboardsudo -s
cd /home/pi
git clone https://github.com/tlkh/prowler-dashboard.git
Now run the dashboard, from the terminal:
cd /home/pi/prowler-dashboard
python3 app.py