
80 Kai Liu, Qunying Huang, and Jizhe Xia
and packages (e.g., MySQL extension for php5—php5-mysql, HTTP
server—apache2). The following command can be used to secure the
installation.
$: sudo mysql_secure_installation
Enabling the rewrite function of Apache2 is recommended since
it helps with the correct redirection of Drupal URLs (Uniform
Resource Locators). To enable this function, the conguration le/
etc/Apache2/sites-available/default should be modied by
replacing AllowOverride None with AllowOverride All. GNU nano
1
is recommended for modifying the le. The following command needs
to be executed to activate Apache’s rewrite module.