-
Notifications
You must be signed in to change notification settings - Fork 1
Part 1. Nodejs
jrbail01 edited this page Feb 7, 2019
·
5 revisions
Raspberry Pi is a perfect little device to host our Node.js web server because it is small, inexpensive, powerful, and it runs Linux. If you have been looking for a really good use case for that Raspberry Pi you bought, this is definitely one.
At your Raspberry Pi's terminal window, download the latest version of Node.js:
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
Install Node.js:
$ sudo apt-get install -y nodejs
Verify that the installation was successful by checking the version number of Node.js
$ node -v
Now that Node.js is installed on our Pi, let's host a webpage and test it out.
Initial State (https://www.initialstate.com)
(c) 2019 Initial State Technologies, Inc.