Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Internet of Things with Blynk

You're reading from   Hands-On Internet of Things with Blynk Build on the power of Blynk to configure smart devices and build exciting IoT projects

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788995061
Length 271 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Pradeeka Seneviratne Pradeeka Seneviratne
Author Profile Icon Pradeeka Seneviratne
Pradeeka Seneviratne
Arrow right icon
View More author details
Toc

Setting up a Blynk server on Raspberry Pi

The following steps will show you how to set up a Blynk server on a Raspberry Pi. The Blynk server supports all versions of Raspberry Pi boards. However, Raspberry Pi 3 provides better performance for running dedicated servers than previous boards.

For testing purposes, you can use the same Raspberry Pi board to run both the server and the firmware for the hardware:

  1. Using PuTTY, log in to your Raspberry Pi through SSH.
  2. Install Java 8 using the following command:
pi@raspberrypi:~ $sudo apt-get install oracle-java8-jdk
  1. Verify the Java version using the following command:
pi@raspberrypi:~ $ java -version
  1. You will get the following output:
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
  1. Download the Blynk server JAR file using the following...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime