- Torrent
raspbian jessie lite
from https://www.raspberrypi.org/downloads/raspbian/ - Burn the .dmg file on the SD card Using
raspberry pi filler
http://ivanx.com/raspberrypi/ - Plug the SD card, wifi usb dongle, keyboard and screen, then power up the rpi.
https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network = {
ssid="The_ESSID_from_earlier"
psk="Your_wifi_password"
}
sudo reboot
ifconfig wlan0
sudo apt-get udpate
sudo apt-get install avahi-daemon
sudo raspi-config
> Advanded Options > Hostname
sudo raspi-config
> Advanced Options / SSH
sudo apt-get update
sudo apt-get install git-all
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
wget http://node-arm.herokuapp.com/node_latest_armhf.deb
sudo dpkg -i node_latest_armhf.deb
node -v
sudo npm install -g n
https://github.com/Unitech/pm2#install-pm2
sudo npm install -g pm2
https://github.com/robbyrussell/oh-my-zsh
sudo apt-get update
sudo apt-get install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Used to build some modules like node-serialport
or node-canvas
sudo npm install -g node-gyp
If any npm install
fail and throw an error mentionning node-gyp
, see https://stackoverflow.com/a/21366601
ls /dev/tty*
An Arduino should look like /dev/ttyUSB0