“Snappy Ubuntu Core – part 1”

ubuntu-16-04-lts

SNAPPY UBUNTU CORE

The starting point our lab is the following:

core

This howto will be helpful most people who want to get started with Snappy Ubuntu Coreon the new Raspberry Pi 3.

1 STEP – GET UBUNTU CORE

The Ubuntu Core image can be downloaded from the Raspberry Pi downloads page, and written to SD card or using this command:

$ wget http://releases.ubuntu.com/ubuntu-core/16/ubuntu-core-16-pi3.img.xz

2 STEP – CREATE A SD CARD

Now run that command to install Ubuntu Core to SD Card with Ubuntu

$: xzcat ~/Downloads/ | sudo dd of= bs=32M
if we have another OS the link to see how make use that
Once we have our image on a SD card, we can insert it into your RPi 3 and boot it up as usual.

3 STEP – FIRST BOOT

After the boot we need to make these procedure:

  1. The system will boot then become ready to configure
  2. The device will display the prompt “Press enter to configure”
  3. 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
  4. At the end of the process, you will see your credentials to access your Ubuntu Core machine:
    This device is registered to .
    Remote access was enabled via authentication with the SSO user 
    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 @

4 STEP – INSTALL WEBDM

run
$: snap install snapweb
snapweb 0.21.2 from 'canonical' installed
This runs a web based package manager on port 4200, we can connect to this from our web browser on the local network using the URL http://raspi08.home:4200/. This allows the browsing of available frameworks and apps.
Screen Shot 2017-01-27 at 23.00.50.png
screen-shot-2017-01-27-at-23-01-50
after to generate the key we can make the login
go to Browse Store to install a snap.
Screen Shot 2017-01-27 at 23.06.48.png

5 STEP – USEFUL COMMAND WITH SNAP

To list all snaps installed on your machine:

$: sudo snap list

To find a snap in the store:

$: sudo snap find <text to search>

To install a snap:

$: sudo snap install <snap name>

To update a snap:

$: sudo snap refresh <snap name>

To update all your snaps:

$: sudo snap refresh all

To revert a snap to the previously installed version:

$: sudo snap revert <snap name>

Or remove the snap:

$: sudo snap remove <snap name>
The first part is done see you to next one.

part 2/2 ->


“cya to the next 1…. Njoy !”
bye dakj

Disclaimer: All the tutorials included on this site are performed in a lab environment to simulate a real world production scenario. As everything is done to provide the most accurate steps to date, we take no responsibility if you implement any of these steps in a production environment.

“We learn from our mistakes”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s