上海天天彩选四单双:Install Ubuntu Core on KVM

Install Ubuntu Core

上海天天彩选四公式 www.uhh3o.cn We will walk you through the steps of installing Ubuntu Core on your Linux desktop in a virtual machine.

Minimum requirements

  • An Ubuntu SSO account with an SSH key
  • A computer running Ubuntu Desktop

Installation instructions

  1. 1 Setup an Ubuntu SSO account

    An Ubuntu SSO account is required to create the first user on an Ubuntu Core installation.

    1. Start by creating an Ubuntu SSO account.
    2. Import an SSH Key into your Ubuntu SSO account. (instructions)
  2. 2 Download Ubuntu Core

  3. 3 Install KVM

    1. Install the qemu-kvm package with the following command:

      sudo apt install qemu-kvm
    2. Then, run the kvm-ok command to check KVM status and your hardware:

      kvm-ok
    3. The message should say:

      INFO: /dev/kvm exists
      KVM acceleration can be used

      This is the best outcome — it means that Ubuntu Core will run fast on your system, taking advantage of hardware acceleration in your CPU.

  4. 4 Launch KVM

    You can now launch a virtual machine with KVM, using the following command:

    kvm -smp 2 -m 1500 -netdev user,id=mynet0,hostfwd=tcp::8022-:22,hostfwd=tcp::8090-:80 -device virtio-net-pci,netdev=mynet0 -vga qxl -drive file=ubuntu-core-18-amd64.img,format=raw

    Note: this command sets up port redirections:

    • localhost:8022 is redirecting to port 22 of the virtual machine for accessing it through SSH
    • localhost:8090 is redirecting to its port 80

    Note: this command is required for graphics such as mir-kiosk:

    • -vga qxl sets the paravirtual graphics driver qxl

    You should now see a window, with your Ubuntu Core virtual machine booting inside it.

  5. 5 First boot setup

    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 <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.
  6. 6 Login

    Once setup is done, you can login with SSH into Ubuntu Core, using the following command:

    ssh -p 8022 <Ubuntu SSO user name>@localhost

    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-conf will 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 ubuntu user on these images, but you can run sudo passwd <account name> to set a password if you need a local console login.

Get started with snaps

Your virtual machine is now ready to have snaps installed, it's time to use the snap command to install your first snap.

The Snap Store is where you can find the best Linux apps packaged as snaps to install on your Ubuntu Core device and get started with your secure IoT journey.

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
  • All information provided will be handled in accordance with the Canonical privacy policy.
  • 《斯琴高丽的开心》首发 斯琴高丽给自己生日送礼斯琴高丽 2019-03-22
  • 省国资委党委召开省属企业党风廉政建设和反腐败工作会议 2019-03-22
  • 月薪过万白领辞职回乡养鸡 亏数十万后回城找工作 2019-03-22
  • 中国381所“野鸡大学”被曝光 江苏有这17所 2019-03-21
  • 【学习时刻】中央党校徐浩然:把“人民”二字镌刻在党的旗帜上 2019-03-21
  • 话剧《婚姻生活》将在国家大剧院上演 2019-03-20
  • 贵州发现一神秘洞穴 洞内景象蔚为壮观 ——凤凰网房产 2019-03-20
  • 新知新觉:加强新时代政治文明建设的着力点 2019-03-20
  • 2018年4月27日划拨国家社科基金项目鉴定费名单(1) 2019-03-20
  • 陈之常任北京市石景山区代区长 2019-03-19
  • 江西庆祝世界献血者日 2019-03-19
  • 你遇到了吗用户吐槽升iOS 11.4后耗电过快用户吐槽升iOS11后耗电过快-行情资讯 2019-03-19
  • 美国国务卿蓬佩奥将访华 2019-03-19
  • 中信银行收购阿尔金银行后新股东“首聚” 2019-03-18
  • 脑乱发傻话啦?我是嘛? 2019-03-18
  • 367| 834| 858| 617| 753| 562| 78| 979| 517| 807|