Issue link: https://read.uberflip.com/i/1334488
Starting OpenStack Compute
12
To use a particular release PPA we issue the following commands:
f For Milestones (periodic releases leading up to a stable release):
sudo add-apt-repository ppa:openstack-ppa/milestone
sudo apt-get update
f For Bleeding Edge (Master Development Branch):
sudo add-apt-repository ppa:openstack-ppa/bleeding-edge
sudo apt-get update
Once you have configured apt to look for an alternative place for packages, you can repeat
the preceding process for installing packages if you are creating a new machine based on a
different package set, or simply type:
sudo apt-get upgrade
This will make apt look in the new package archive areas for later releases of packages
(which they will be as they are more recent revisions of code and development).
Configuring database services
OpenStack supports a number of database backends—an internal Sqlite database (the
default), MySQL, and Postgres. Sqlite is used only for testing and is not supported or used
in a production environment, whereas MySQL or Postgres is down to the experience of the
database staff. For the remainder of this book we shall use MySQL.
Setting up MySQL is easy and allows for you to grow this environment as you progress through
the chapters of this book.
Getting ready
Ensure that you are logged in to the openstack1 VirtualBox virtual machine as the
openstack user.
How to do it...
1. We first set some options to pre-seed our installation of MySQL to streamline the
process. This includes the default root password which we'll set as openstack.
Complete this step as the root user.
cat <

