How to install the Ubuntu system on OpenStack

Source: Internet
Author: User

OpenStack is an IaaS-as-a-service cloud architecture that allows users to create their own virtual machines on OpenStack, and then the cloud hosts as if they were using their own computers. The next Ubuntu example is to create an Ubuntu system on OpenStack.

Not all systems can be run on OpenStack and must be a system with some special features integrated, and the specific requirements can be referenced http://docs.openstack.org/image-guide/content/ch_obtaining _images.html, here we download Ubuntu system directly at the following URL: http://uec-images.ubuntu.com/trusty/current/ Trusty-server-cloudimg-amd64-disk1.img.

To use an image on OpenStack, first upload the image. We log in to dashboard again and click on mirror to create the image:

Image source Select the image file and then select the Ubuntu system that we just downloaded, image The format of the selected type, and then create it. Then there will be a process to wait for the mirror to pass, after the upload is complete, in the mirror there will be the image we just uploaded:

OpenStack Ubuntu System has a drawback is that after the installation can not use the default user name Ubuntu for landing, and can only use the key to log in, in order to later use SSH login, here we first create a key pair.

Create a key pair, access & security---key pair

Enter the name of the key pair:

Clicking the Create key pair will automatically pop up the download box to download:

Well, after completing these preparations, we can begin to create an Ubuntu cloud host, which requires some setup during the creation process:

The image source here chooses the Ubuntu image we uploaded earlier:

Key pair Here we're going to select the key pair we just created:

Since Ubuntu image is not allowed to login by default, if you want to login via console, you need to write the following code after creation:

#!/bin/shpasswd ubuntu<<EOFubuntuubuntuEOF

This allows you to log in with the console via user name: Ubuntu, Password: Ubuntu

When the cloud host is started, we can log in by username and password.

Because the cloud host allocation of system resources is relatively small, so the speed is very slow, we wait a little more, the prompt will appear.

Next I'll show you how to access our cloud host remotely via SSH.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

How to install the Ubuntu system on OpenStack

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.