After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 93 of 317

Chapter 4 83 Getting ready Ensure that you are logged in to your openstack2 virtual machine. How to do it... Installation of OpenStack in Ubuntu 12.04 is simply achieved using the familiar apt-get tool as the OpenStack packages are available from the official Ubuntu repositories. 1. We can install the OpenStack Storage packages as follows: sudo apt-get update sudo apt-get install -y swift swift-proxy swift-account swift-container swift-object memcached xfsprogs curl 2. Once the installation is complete, we need to install and configure ntp as follows: sudo apt-get -y install ntp 3. NTP is important in any multi-node environment, though in the OpenStack environment it is a requirement for server times to be kept in sync. Although we are configuring only one node, not only will accurate time-keeping help with troubleshooting, but it will also allow us to grow our environment as needed in the future. To do this, we edit /etc/ntp.conf, with the following contents: # Replace ntp.ubuntu.com with an NTP server on your network server ntp.ubuntu.com server 127.127.1.0 fudge 127.127.1.0 stratum 10 4. Once ntp has been configured correctly, we restart the service to pick up the change: sudo service ntp restart How it works... Installation of OpenStack Storage from the main Ubuntu package repository represents a very straightforward and well-understood way of getting OpenStack onto our Ubuntu server. This adds a greater level of certainty around stability and upgrade paths by not deviating away from the main archives. There's more... There are various ways to install OpenStack, from source code building to installation from packages, but this represents the easiest and most consistent method available. There are also alternative releases of OpenStack available. The ones available from Ubuntu 12.04 LTS repositories are known as Essex and represent the latest stable release at the time of writing. www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook