ubuntu16.04 Server KVM Install Desktop__ubuntu

Source: Internet
Author: User
Statement

This document is only for learning and exchange, please do not use for other commercial purposes
Author: Chaoyang _tony
E-mail:linzhaolover@163.com
Create date:2017 Year August 16 16:08:51
Last change:2017 year August 16 16:08:58
Reprint please indicate the source: Http://blog.csdn.net/linzhaolover Summary

I believe a lot of people in the Ubuntu website to download the production of good image, but found that the server version, there is no desktop version, so there is a need to desktop features of the friend, you need to install, the following I will briefly introduce my implementation method download Image

wget http://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
CP Ubuntu-16.04-server-cloudimg-amd64-disk1.img Ubuntu-16.04-server-cloudimg-amd64-disk1.qcow2
Import to OpenStack glance

Please note that the display properties in glance image are deliberately set to VGA
–property HW_VIDEO_MODEL=VGA

Imagename=ubuntu-16.04-server-cloudimg-ppc64el-disk1 glance image-create--name=${imagename} \ --is-public=true \--property architecture=x86_64 \--property Accel Erator_type=none \--property hw_disk_bus=virtio \--property hw_vid EO_MODEL=VGA \--property HYPERVISOR_TYPE=KVM \--property Os_type = "Linux-ubuntu" \--property os_name= "Ubuntu 16.04" \--property o
                           s_version= "version 16.04 lts-xenial Xerus" \--property os_override= "" \ --container-format=bare \--property image_type=image \--pro Perty sys_type=ubuntu \--property webshell=true \--disk-format=qco
                   W2 \        --file ${srcdir}/${imagename}.qcow2
 
Create KVM

Note that the default download from the Ubuntu website image, the default account for Ubuntu, and can only use Sshkey login, so when creating, please specify

Ssh-i id_rsa.pub ubuntu@xxx.xxx.xxx.xxx
Install Ubuntu Desktop
Apt Install update
apt install ubuntu-desktop

reboot KVM

Can be directly reboot, but more recommended you use Nova stop, Nova Start command operation

Reboot
Summary

Keep track of your work, share your knowledge, and progress together .

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.