2018年9月26日水曜日

ubunto core とsnap memo

ubuntu core をKVM上で動かす
手順はここにかかれている。
https://developer.ubuntu.com/core/get-started/kvm

まず Ubuntu SSO(Single Sign On)の登録
  1. Start by creating an Ubuntu SSO account
  2. Import an SSH Key into your Ubuntu SSO account on this page. Instructions to generate an SSH Key on your computer can be found here
を行う


mkdir ~/.ssh
chmod 700 ~/.ssh
ssh-keygen -t rsa

$ cat id_rsa.pub
ssh-rsa ......

ssh-rsaから始まる文字列をコピーして
Ubuntu SSOに登録する。

KVMのインストール等は、ホームページにかかれているとおり。
ubuntu core16でまだ18でない
$ uname -r
4.4.0-135-generic

snapは、インストールされている。

$ sudo snap login
Email address: your@email.com <== Ubuntu SSOに登録したアドレス
Password of "your@email.com":
Login successful

ログインするとsnapのコマンドにsudoをつけなくても動くようになる。





0 件のコメント:

コメントを投稿