1. 安装mysql sudo apt-get install mysql-server 转载于:https://www.cnblogs.com/davidgu/archive/2012/05/03/2480603.html