安装:
1. 下载drupal压缩包解压到 /var/www
2. 从 http://localize.drupal.org/ 下载需要到的语言包(.po)并移动到 drupal-7.8/profiles/standard/translations
3. cp drupal-7.8/sites/default/defaul.settings.php drupal-7.8/sites/default/settings.php 备份配置文件
4. chmod a+w drupal-7.8/sites/default/settings.php 给予权限
5. chmod a+w drupal-7.8/sites/default 给予权限
6. mysqladmin -u username -p create databasename 创建项目数据库
7. mysql -u username -p 登录mysql
8. GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALERT, CREATE TEMPORARY TABLES, LOCK TABLES