Skip to content

Galileo 2 Install

Scott Cazan edited this page May 6, 2015 · 8 revisions

The image you use for the Galileo must have a fairly recent version of node. We recommend the following "Intel® Galileo Board Micro-SD Card Linux Operating System Image":

https://software.intel.com/en-us/iot/hardware/galileo/downloads

Once your image is installed and running on the galileo, run "npm run build" from your desktop/laptop in the NTK directory:

npm run build

If you have run the server locally previously, delete the "node_modules" directory in the "server" directory as you will have to run "npm install" on the Galileo anyway.

Copy the "server" directory over to your Galileo.

scp -r ./server [email protected]:~/

Login to your Galileo and make sure it is connected to the internet.

Update the time by running this on the Galileo:

rdate time.nist.gov

This is so you can securely access the npm database. Run "date" to make sure that the date is correct.

date

Change into the server directory you copied over and run "npm install":

cd ~/server
npm install

To then start NTK, run the following from the server directory:

node netlabserver.js galileo

*Note: The "widget server" on the galileo is temporarily disabled as we make performance improvements. Because of this you will need to load http://my.galileo.ip.address/#server in one chrome browser (this can be on another computer even but make sure that it is a new window and not a tab as de-focusing the tab causes the app to pause), and then access NTK normally via http://my.galileo.ip.address/

Clone this wiki locally