Tuesday, June 25, 2019

Install Ubuntu Core 18 on Raspberry Pi3

MacOS
Ubuntu Core 18


Goals:

  • Install Ubuntu Core 18 on Raspberry Pi3.
Install:
  • We will be following these instructions.
  • Download Ubuntu Core 18 image file.
  • Create an Ubuntu SSO account and log in.
  • Generating RSA Keys.
  • Import an SSH Key into your Ubuntu SSO account.
  • Flash the microSD card:
    • xzcat ~/Downloads/ubuntu-core-18-armhf+raspi3.img.xz | sudo dd of=/dev/sdb bs=32M
    • sync
  • First Boot with SD Card:
  • Install Ubuntu Core:
    • Insert the microSD card and plug the power adaptor into the board.
    • The device will display the prompt “Press enter to configure”
    • Configure the Wi-Fi
    • Enter email from Ubuntu Core account
    • After the "Configuration Complete" message select the "Finish" option to reboot.
  • Login:
    • ssh -i /path/to/private_pikey user@x.x.x.x
Info:
  • Ubuntu core use snap, not apt or apt-get anymore. To see all packages installed run `snap list --all`. See the Ubuntu Snap basic tutorial.
Install Tools:
  • sudo snap install docker

Additional Setup:
  • sudo timedatectl set-timezone America/Fortaleza

References:
If you like this content, feel free to