We want to make sure that the Ubuntu14.04 server is able to surf the internet, I do not operate here, this is relatively simple. Since my server is deployed with cobbler, I want to change the source.
# vi/etc/apt/source.list
I use the official Ubuntu source here, using Wq to save the exit. For the modified source to take effect, you need to update the local source.
# Apt-get Update
# Apt-get Upgrade
This process is slow, because I use the internet on the official Ubuntu source, so it is time-consuming, depends on your local network situation.
After the update is complete, we can install the required software according to our own needs. Here we install the database first, the various components of OpenStack need to use this.
# Apt-get Install Mysql-server
The installation process is very simple, but on the way we need to manually enter the database user name and password can:
After the installation is complete, we need to modify the configuration for the database, here we only need to make a modification of the binding IP, so that convenient outside access.
# VI/ETC/MYSQL/MY.CNF
Restart the MySQL service after the modification is complete
# restart MySQL
After the completion of the operation we can use the username and password we just set to log in to the database, to be sure, we set the password, the user name is the default root.
Transferred from: http://jingyan.baidu.com/article/60ccbceb77625764cab197ea.html
Ubuntu14.04 installing MySQL