-
Notifications
You must be signed in to change notification settings - Fork 0
Day 7
Raspberry Pi Server
Step by step, how to setup a SpaceBrew server on RasPi from scratch.
-
Download Raspbian OS.
-
Download Etcher to flash Raspbian on a micro-SD. Burn the SD and put it into the Raspberry.
-
Connect to the raspberry via a serial cable and run ifconfig to find the IP.
-
Run raspi-config to enable SSH and setup the wifi credentials.
-
Install Netatalk:
sudo apt-get update sudo apt-get install netatalkUse the raspberry password. On your mac go to the finder, press Command+K, connect to afp://192.168.1.1 (use your IP address instead).
-
SSH into the Raspberry from the terminal.
-
Copy MRHT
-
Install Node.js:
sudo apt-get install node, and check that has been installed properly by runningnode -v -
Install Npm:
sudo apt-get install npm -
cd into the spacebrew-master folder and run:
npm installto install the dependencies. -
Set up a test server by following point 5 and 6 here.
-
To start the server automatically on boot edit the crontab by adding this line:
@reboot /usr/bin/node /home/pi/Mixed-Reality-Hardware-Toolkit/Spacebrew/spacebrew-master/node_server.js &Check that the path to the SpaceBrew node_server script is right.