Install keystone for icehouse in Ubuntu 12.04 lts

Source: Internet
Author: User

Certificate ---------------------------------------------------------------------------------------------------------------------------------------------------------------
The canonical Ubuntu cloud archive allows you to install an updated version of openstack on the Ubuntu server until the next lts version of Ubuntu is released. Canonical promises to maintain and support the new openstack release version for Ubuntu server 12.04 LTS In the Ubuntu cloud archive at least three months after the next lts release. Ubuntu server 12.04 lts will not introduce the openstack release version released after the release of ubuntu server 14.04 LTS, but canonical will continue to maintain the openstack version updated to I on the Ubuntu cloud archive for three years, until 12.04lts ends. With the release of version 14.10, The openstack version (after icehouse) will be supported on 14.04lts.

On ubuntu12.04lts, the default keystone installed with the package is Essex. Since keystone includes the entire openstack project, the iteration speed is very fast, so the use of the old release may be different from the official documentation, so I recommend learning and using the latest official version. You can update the keystone source before installation or after installing the default version.

 

The following describes how to install keystone for Icehouse on Ubuntu 12.04 lts.
Certificate ---------------------------------------------------------------------------------------------------------------------------------------------------------------

# Switch to a Super User
$ Sudo-I
Or
$ Sudo passwd root // then set your Root Password

Next

$ Su

 

# Install MYSQL as the storage backend of Keystone

$ Apt-Get install mysql-server Python-mysqldb

 

# Install curl to understand the http api of Keystone
$ Apt-Get install curl

 

# Install GitHub to download the keystone source code for analysis
$ Apt-Get install git

 

# Configure GitHub
$ Git config -- global user. Name "your_git_name"
$ Git config -- Global uer. Email your_git_reg_mail

 

# Download the keystone source code on GitHub

$ Git clone https://github.com/openstack/keystone.git

 

# Create and set a keystone Database
$ Mysql-uroot-P
$ Your_root_pass
> Create Database keystone;
> Grant all on Keystone. * To 'keystone '@' % 'identified by 'your _ password ';
> Quit

 

# To install keystone of version I, you must update the source of the Ubuntu 12.04 release. The latest version 12.04 can only obtain keystone of version I.
$ Apt-Get install Ubuntu-cloud-Keyring

 

# Update source list
$ Vim/etc/APT/sources. List

 

# Add the following content at the end of the article. The Icehouse is the latest version of openstack that 12.04lts can load. It can also be replaced with Folsom, Grizzly, Havana, and other versions.
Deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/icehouse main

 

# Install keystone
$ Apt-get-y install keystone

 

# Update keystone

$ Apt-Get Update & apt-get-y dist-Upgrade

 

So far, I have installed keystone normally, but no necessary configuration is required to run Keystone. The next blog will show you how to configure keystone for I.

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.