diff --git a/doc/install-guide/ch_basics.xml b/doc/install-guide/ch_basics.xml index 007f74dedb..92d964333e 100644 --- a/doc/install-guide/ch_basics.xml +++ b/doc/install-guide/ch_basics.xml @@ -362,9 +362,10 @@ iface eth1 inet static database for openSUSE is MariaDB. You must install the MariaDB database on the controller node. You must install the MariaDB client software on any nodes that access the MariaDB - database: - - + database. + +
+ Controller setup For SUSE Linux Enterprise Server: On the controller node, install the MySQL client and server packages, and the Python library. @@ -393,51 +394,56 @@ bind-address = 192.168.0.10 Restart the MySQL service to apply the changes: # service mysql restart - - - On nodes other than the controller node, install the + Start the MySQL + MariaDB or MySQL database + server and set it to start automatically when the system + boots. + # service mysqld start +# chkconfig mysqld on + # service mysql start +# chkconfig mysql on + Finally, you should + set a root password for your MySQL + MariaDB or MySQL database. + The OpenStack programs that set up databases and tables prompt + you for this password if it is set. + You must + delete the anonymous users that are created when the database is + first started. Otherwise, database connection problems occur + when you follow the instructions in this guide. To do this, use + the mysql_secure_installation command. + Note that if mysql_secure_installation fails + you might need to use mysql_install_db first: + # mysql_install_db +# mysql_secure_installation + If you have + not already set a root database password, press + ENTER when you are prompted for the + password. This command presents a number of options + for you to secure your database installation. Respond + yes to all prompts unless you have a + good reason to do otherwise. +
+ +
+ Node setup + On all nodes other than the controller node, install the MySQL MariaDB (on openSUSE) client and the MySQL Python library on any system that does not - host a MySQL database. + host a MySQL database: # apt-get install python-mysqldb # yum install mysql MySQL-python # zypper install mariadb-client python-mysql For SUSE Linux Enterprise, install MySQL: # zypper install mysql-client python-mysql - - - Start the MySQL - MariaDB or MySQL database - server and set it to start automatically when the system - boots. - # service mysqld start -# chkconfig mysqld on - # service mysql start -# chkconfig mysql on - Finally, you should - set a root password for your MySQL - MariaDB or MySQL database. - The OpenStack programs that set up databases and tables prompt - you for this password if it is set. - You must - delete the anonymous users that are created when the database is - first started. Otherwise, database connection problems occur - when you follow the instructions in this guide. To do this, use - the mysql_secure_installation command. - # mysql_secure_installation - If you have - not already set a root database password, press - ENTER when you are prompted for the - password. This command presents a number of options - for you to secure your database installation. Respond - yes to all prompts unless you have a - good reason to do otherwise. +
+
OpenStack packages Distributions might release OpenStack packages as part of