Install Ubuntu on the Orange Pi Zero
Install Ubuntu Core
We will walk you through the steps of flashing Ubuntu Core on an Orange Pi Zero. At the end of this process, you will have a board ready for production or testing snaps.
- An Ubuntu SSO account with an SSH key
- An Orange Pi Zero
- A microSD card
- A USB to TTL Serial Cable
- An Ethernet cable (for first setup)
- A 5V power supply rated at 2 amps and a cable with a micro USB plug
screeninstalled on your host computer (
sudo apt install screen)
1 Setup an Ubuntu SSO account
2 Download Ubuntu Core
Get the correct Ubuntu Core image for your board:
3 Flash the microSD card
Copy the Ubuntu Core image on the microSD card by following the installation media instructions.
4 Install Ubuntu Core
- Insert the SD card into the board.
- Connect the Ethernet cable to the board and to the network.
- Connect the TTL end of the TTL to USB cable, to the three pins next to the Ethernet port. On this diagram, they are identified by the label "Debug serial port". The pin layout is, from the outside to the inside:
- Connect the USB end of the cable into your host computer, open a terminal and run
sudo screen /dev/ttyUSB0 115200to open a listening connection to the board.
- Power on the board. The terminal on your host computer should display the boot sequence. If not, please ensure the TTL to USB cable is correctly connected.
5 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.
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.
First boot tips
- During setup,
console-confwill download the SSH key registered with your Store account and configure it so you can log into the device via
ssh <Ubuntu SSO account name>@<device IP address>without a password.
- There is no default
ubuntuuser on these images, but you can run
sudo passwd <account name>to set a password if you need a local console login.
Before you start, get your IoT security story straight
A recent Canonical survey of 2,000 consumers suggests that a shockingly high percentage of connected devices may be vulnerable to botnets, hackers and cyber attacks:
- Only 31% of consumers update the firmware on their connected devices as soon as updates become available.
- 40% of consumers have never performed firmware updates on their connected devices
- 40% of consumers believe that performing firmware updates on their connected devices is the responsibility of either software developers or the device manufacturer
How would you like to make use of Ubuntu?
In any particular sectors?
Do you have sector-specific requirements?
What is important to you?
Is there anything we should know about the project to bring the right people from our side?
How should we get in touch?
Thank you for enquiring about Ubuntu core
A member of our team will be in touch within one working day.