BeagleBone Quick Start
This section provides Eclipse Kura™ quick installation procedures for the BeagleBone Black rev C on Debian and the Kura development environment.
This quickstart will install the version of Kura with the administraive web UI and netwowrk configuration support but not CAN support. For more information on this please visit https://www.eclipse.org/kura/downloads.php
This quickstart has been written basing upon on the following Debian 8 image:
Eclipse Kura™ Installation
To install Kura with its dependencies on the BeagleBone, perform the following steps:
Boot the BeagleBone Black with the latest Debian image (starting from release 2.1.0 Kura only supports Debian 8 or above).
Connect to the platform shell (ssh).
BeagleBone ships with several web services enabled to assist in setting up the device and doing example projects. If the Kura web UI is to be used, these services must be disabled to avoid interference. To disable the BeagleBone web services, perform the following commands:
sudo systemctl disable cloud9.service sudo systemctl disable apache2.service sudo systemctl disable bonescript.service sudo systemctl disable bonescript.socket sudo systemctl disable bonescript-autorun.service sudo systemctl disable avahi-daemon.service
The BeagleBone default image provides a desktop environment which is auto started at boot, it needs to be disabled using the following command:
sudo systemctl disable lightdm.service
The Connman service conflicts with Kura network management and needs to be disabled performing the following command:
sudo systemctl disable connman.service
The dnsmasq service conflicts with Kura DHCP server and needs to be disabled performing the following command:
sudo systemctl disable dnsmasq.service
The tyme sync service conflicts with Kura Clock Service and needs to be disabled:
sudo timedatectl set-ntp false
Install the gdebi command line tool:
sudo apt-get update sudo apt-get install gdebi-core
Download the Kura package with:
Note: replace <version> in the URL above with the version number of the latest release (e.g. 2.1.0).
Install Kura with:
<pre>sudo gdebi kura_<version>_beaglebone_debian_installer.deb</pre> Note: The BeagleBone Kura distribution has been tested on Java 8, but the official Debian 8 repositories do not contain a free Java 8 implementation. The Kura Debian package therefore depends on OpenJDK 7, which will be installed automatically by gdebi if no other Java installation is found on the system. In order to use Java 8 it is possible to manually install the following non-free package before performing the Kura package installation: <pre>sudo apt-get install oracle-java8-installer</pre>
Reboot the BeagleBone Black with:
Kura starts on the target platform after reboot.
Kura setups a local web ui that is available using a browser via:
Default username is:
Default password is:
Development Environment Installation
To set up the development environment for Eclipse Kura, perform the following steps:
- Download and install JDK SE 8 as appropriate for your OS (if it is not already installed). For Windows and Linux users, the JDK can be downloaded from Java SE 8 Downloads. Use the latest version of Java SE Development Kit.
- Download and install the Eclipse IDE for Java EE Developers from the Eclipse download site.
- Download the Kura user workspace archive from the Eclipse Kura download site.
- Import the Kura workspace zip file into the new Eclipse project development environment.
- Begin developing Kura-based applications for your target platform.
- Start the Eclipse Installer
- Switch to advanced mode (in simple mode you cannot add the custom installer)
- Select “Eclipse for Committers” and select a JRE 1.8+ -> Next
- Add a new installer by URL: https://raw.githubusercontent.com/eclipse/kura/develop/kura/setups/kura.setup -> Check and next
- Update Eclipse Kura Git repository’s username (HTTPS, link to your fork) and customize further settings if you like (e.g. Root install folder, Installation folder name) -> Next
- Leave all Bootstrap Tasks selected -> Finish
- Accept the licenses and unsigned content
- Wait for the installation to finish, a few additional plugins will be installed
- At first startup Eclipse IDE will checkout the code and perform a full build
- A few Working Sets will be prepared