Install Ubuntu Core on Raspberry Pi 2 or 3
We will walk you through the steps of Install Ubuntu Core on Raspberry Pi 2 or 3. At the end of this process, you will have a board ready for production or testing snaps.
Minimum requirements
- A Raspberry Pi 2 or 3
- A microSD card
- An Ubuntu Core image
- A monitor with an HDMI interface
- An HDMI cable
- A USB keyboard
Install Ubuntu Core on Raspberry Pi
For Installation follow given below Steps –
Setup an Ubuntu SSO account
An Ubuntu SSO account is required to create the first user on an Ubuntu Core installation.
- Start by creating an Ubuntu SSO account.
- Import an SSH Key into your Ubuntu SSO account. (instructions)
Download Ubuntu Core
Get the correct Ubuntu Core image for your board:
- Ubuntu Core 18 image for Raspberry Pi 2.
- Ubuntu Core 18 image for Raspberry Pi 3.
- You can verify the integrity of the files using the SHA256SUM and SHA256SUM.gpg files.
Flash the microSD card
Copy the Ubuntu Core image on the microSD card by following the installation media instructions.
Install Ubuntu Core
- Attach the monitor and keyboard to the board. You can alternatively use a serial cable.
- Insert the microSD card and plug the power adaptor into the board.
First boot setup
- The system will boot then become ready to configure.
- The device will display the prompt “Press enter to configure”.
- Press enter then select “Start” to begin configuring your network and an administrator account. Follow the instructions on the screen, you will be asked to configure your network and enter your Ubuntu SSO credentials.
- At the end of the process, you will see your credentials to access your Ubuntu Core machine:
This device is registered to <Ubuntu SSO email address>. Remote access was enabled via authentication with the SSO user <Ubuntu SSO user name> Public SSH keys were added to the device for remote access.
Login
Once setup is done, you can login with SSH into Ubuntu Core, from a machine on the same network, using the following command:
ssh <Ubuntu SSO user name>@<device IP address>
Your user name is your Ubuntu SSO user name, it has been reminded to you at the end of the account configuration step.
Boot your Device
- During setup,
console-conf
will download the SSH key registered with your Store account and configure it so you can log into the device viassh <Ubuntu SSO account name>@<device IP address>
without a password. - There is no default
ubuntu
user on these images, but you can runsudo passwd <account name>
to set a password if you need a local console login.
Get started with snaps
Your board is now ready to have snaps installed, it’s time to use the snap
command to install your first snap.
I hope you like this post “Install Ubuntu Core on a Raspberry Pi 2 or 3”. Do you have any questions? Leave a comment down below!
Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog.
We have other tutorials with ESP32 that you may find useful:
- Dynamic WLAN configuration for ESP32 Board | AutoConnect
- ESP32 BLE on Arduino IDE with UART Test
- ESP32 Bluetooth Low Energy (BLE) on Arduino IDE
- ArduinoOTA ESP32: Wi-Fi (OTA) Wireless Update from the Arduino IDE
- ESP32 with LoRa using Arduino IDE
- How To Use Grove-LCD RGB Backlight with NodeMCU
- NodeMcu to DHT Interface in Blynk app
- How To ON/OFF a bulb by Google voice assistant
- Arduino IDE | Arduino | Open Source Hardware/Softawre | Arduino Vs RPi
- WiFi LoRA 32 (V2) ESP32 | Overview | Introduction
- DHT11 sensor with ESP8266/NodeMCU using Arduino IDE
- Arduino Support for ESP8266 with simple test code
You may like also:
- Raspberry Pi – Introduction | Overview | Setup and Management | Tutorials
- MQTT | What is MQTT | MQTT in Depth | QoS | FAQs | MQTT Introduction
- How to set up Windows 10 IoT Core on the Raspberry Pi
- Best IoT Visual Programming Tools
- Arduino ESP32 support on Windows and Ubuntu
Pingback: Install Ubuntu Core on Raspberry Pi 2 or 3 — IoTbyHVM – Explore TechBytes – hashstacks
Pingback: How to Fix Ubuntu Update Errors - onionlinux.com