-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Steps in Installation #2
Comments
I posted this on my blog site: Prerequisites RPi Controller apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y Find something to do; this might take a while. (REM: crippling download speed) git clone https://github.com/tlkh/prowler Now, cd into the directory of Prowler and execute: cd prowler (i.e., pwd = /home/pi/prowler) REM: You might need to do a chmod +x *.sh pip3 install ansible Clusterhat clusterhat on p1 From the terminal type the following: minicom p1 REM: If challenged, remember its U: pi, P: clusterhat ifconfig usb0 It should return an IP Address that is within the same range as the RPi Controller. raspi-config Select Interfacing Options Repeat the above steps for each of the remaining Zero images. Passwordless SSH ssh-keygen Click on Enter whenever prompted Enter file in which to save the key (/home/pi/.ssh/id_rsa):[Press Enter key] Now we need to copy the public key to each of the Zeroes. In a terminal on the RPi Controller: ssh-copy-id -i ~/.ssh/id_rsa.pub pii@<Zero's pX IP Address> When prompted for the password enter: clusterhat ssh RPi@<Zero's pX IP Address> It should result in the following prompt: pi@pX:~ $ If you see this prompt, it means success! Ansible mkdir /etc/ansible Now create a file called hosts in the new ansible directory vim /etc/ansible/hosts REM: Hope you wrote down the IP Addresses for each of the Zeroes [all:vars] [pi-cluster] Now save (:wq!) Slight Mod cd /home/pi/prowler/playbooks Now edit setup_node.yml with your favorite editor add the following lines before the line with "Configure Python packages"
REM: Follow the formatting of the playbook Ansible Playbooks ansible-playbook /home/pi/prowler/playbooks/setup_node.yml This will take a while... |
Hi, if anyone faces any problems or discover any missing steps in installation procedure, please report them here. Thank you!
The text was updated successfully, but these errors were encountered: