The steps in this section document the installation of OpenStack services, including Keystone, Glance, Nova Compute, and Horizon on a single controller and two compute nodes. Neutron, the OpenStack Networking service, will be installed in the next chapter.
On the controller node, use apt-get
to install the MySQL database service and related Python packages:
# apt-get install mariadb-server python-mysqldb
If prompted, set the password to openstack
.
Note
Insecure passwords are used throughout the book to simplify the configuration and demonstration of concepts and are not recommended for production environments. Visit http://www.strongpasswordgenerator.org to generate strong passwords for your environment.
Once installed, set the IP address that MySQL will bind to by editing the /etc/mysql/conf.d/mysqld_openstack.cnf
configuration file and adding the bind-address
definition. Doing so will allow connectivity to MySQL from...