Skip to content

Raspberry Pi - Ubuntu 20 Quick Start

Overview

This section provides Eclipse Kura™ quick installation procedures for the Raspberry Pi.

Warning

This quickstart will install the version of Kura with the administrative web UI and network configuration support but not CAN bus support. For more information on this please visit the Eclipse Kura download page

This quickstart has been tested using the latest Ubuntu 20.04.3 LTS Live Server for arm64 architecture flashed on the SD card through Raspberry Pi Imager.

The official images can be also found on the Project Page. Further information on the Ubuntu installation for Raspberry Pi can be found here.

Warning

Please note that, at the time of this writing, only 64 bit OS image is supported.

Enable SSH Access

On Ubuntu 20.04.3 the ssh access is enabled only for the standard ubuntu user. If you desire to remote login as root user, edit the file /etc/ssh/sshd_config (using the root permission) adding the line PermitRootLogin yes

Eclipse Kura™ Installation

To install Eclipse Kura with its dependencies on the Raspberry Pi, perform the following steps:

  1. Boot the Raspberry Pi with the latest Ubuntu 20.04.3 LTS Server image.

  2. Make sure your device is connected to internet. By default, eth0 lan network interface is configured in DHCP mode.

  3. Upgrade the system:

    sudo apt update
    
    sudo apt upgrade
    

  4. Download the Kura package with:

    wget http://download.eclipse.org/kura/releases/<version>/kura_<version>_raspberry-pi-ubuntu-20_installer.deb
    

    Note: replace <version> in the URL above with the version number of the latest release (e.g. 5.2.0).

  5. Install Kura with:

    sudo apt install ./kura_<version>_raspberry-pi-ubuntu-20_installer.deb
    

    All the required dependencies will be downloaded and installed.

  6. Set the right Wi-Fi regulatory domain based on your current world region editing the /etc/default/crda and adding the ISO 3166-1 alpha-2 code of your region.

  7. Reboot the Raspberry Pi with:

    sudo reboot
    

    Kura starts on the target platform after reboot.

  8. Kura setups a local web ui that is available using a browser via:

    https://<device-ip>
    

    The browser will prompt the user to accept the connection to an endpoint with a self signed certificate, select Accept the risk and continue:

    Proceed trusting the source

    Once trusted the source, the user will be redirected to a login page where the default username is:

    admin
    

    and the default password is:

    admin