- Start Kafka
- Option 1: Follow instruction in quick start
- Option 2: After install docker, cd inside this folder, and write
docker-compose up
-
Install
RASPBIAN STRETCH LITE
-
first time that you log in typpe this user name and password.
- raspberrypi login: pi
- Password: raspberry
-
Install python:
$ apt-get update
$ sudo apt-get install python3-picamera
-
Install PIP:
$ sudo apt-get install python-pip
-
Install python control library.
- With python packages manager:
- $ sudo pip install RPi.GPIO
- With python packages manager:
-
Install git in Rasbian:
$ sudo apt-get install git-core
-
Install python-kafka:
$ pip install kafka-python
-
Set up wifi
-
Change the file in
"/etc/network/interfaces.d"
with.auto lo iface lo inet loopback iface eth0 inet manual allow-hotplug wlan0 auto wlan0 iface wlan0 inet manual wpa-ssid "DC" wpa-psk "5124223639"
-
-
Connect remotely to raspberry pi with IP address.
-
Connect with GitBash
- Open Git Bahs
- Type
ssh <userName>@<IP>
(i.e: ssh [email protected])
-
Connect with putty (with or without GUI)
- Install putty:
- Enable SSH inside of the raspberry pi:
$ sudo raspi-config
- Select
Interfacing Options
- Navigate to and select
SSH
- Choose
Yes
- Select
Ok
- Get Raspberry IP address
- place this IP address inside of putty and then press yes.
- You need to introduce password and Username
-
This option if you have a GUI install.
- Get the IP address of the raspberry pi
- Install VNC
- Then run
$ sudo apt-get update
$ sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer
- sudo raspi-config
- enable VNC Server by doing the following:
- Navigate to Interfacing Options.
- Scroll down and select VNC > Yes.
- enable VNC Server by doing the following:
-
-
Wired the button to pings 7 and 12:
- Shoutdown Raspberry:
$ sudo shutdown -h now
- Reboot Raspberry:
$ sudo reboot -h now
- Git IP address:
$ hostname -I
- change Raspberry pi configurations:
$ sudo raspi-config
- Pi information:
- UserName: deepcast || pi (deepcast user doesn't have sudo power,
why?
) - Password: ai
- IP address: 10.0.0.116
- UserName: deepcast || pi (deepcast user doesn't have sudo power,
- List all the available port in windows:
$ netstat -aon | find /i "listening"
- List IP in Rasbian:
$ sudo arp-scan -l --interface=wlan0
- List IP in Rasbian:
$ netstat -pln
- How do I give sudo power to deepcast?
- How do I access Raspberry pi with IP address?
- How do I set an IP address?
- /etc/hostname