在开始安装Joomla之前我们先修改一下Apache的配置文件
<VirtualHost *:80>
ServerAdmin 该邮件地址已受到反垃圾邮件插件保护。要显示它需要在浏览器中启用 JavaScript。
DirectoryIndex index.php
DocumentRoot /var/www/joomla
ServerName 192.168.0.99
ServerAlias 192.168.0.99
<Directory /var/www/html/joomla>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/joomla-error_log
CustomLog /var/log/apache2/joomla-access_log common
</VirtualHost>