Tornado开发环境配置
sudo apt-get install python-pip
sudo apt-get install mysql-server
sudo pip install tornado
sudo apt-get install libmysqlclient-dev python-dev
sudo pip install mysql-python
sudo pip install torndb
如果想使用 phpmyadmin 来管理 mysql 数据库
sudo apt-get install apache2
sudo apt-get install php5 libapache2-mod-php5
sudo apt-get install libapache2-mod-auth-mysql
sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin
sudo ln -s /usr/share/phpmyadmin/ /var/www/html