Distribution Setup
Setup
1
sudo raspi-config
Copied!
Select option 4 ‘localisation option’ Choose geographic region Select time zone Select ‘keyboard layout’ Change to generic 101-key PC, or another keyboard configuration Select defaults for following selection menus Select ‘Wi-Fi country’ Choose specific country Select option 5 ‘interfacing options’ Enable the following
1
Camera
2
SSH
3
VNC
4
SPI
5
I2C
6
Serial
Copied!
Select option 8 ‘update’ Exit the raspi-config menu
1
sudo nano /boot/cmdline.txt **remove first two statements with console at the beginning**
2
sudo nano /boot/config.txt
Copied!
Uncomment the line
1
"hdmi_force_hotplug=1"
Copied!
Add to the end of the file:
1
dtoverlay=pi3-disable-bt
Copied!
Then run
1
sudo systemctl disable hciuart
Copied!

Installing Node.js full

1
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash
2
3
sudo apt install -y nodejs
4
5
node -v **to check version**
Copied!
Install pm2
1
sudo npm install -g pm2
Copied!

Access Point

1
sudo apt install dnsmasq hostapd
Copied!
1
sudo nano /etc/dhcocd.conf
Copied!
Last modified 10mo ago