Saturday, May 30, 2009

Installation drupal on ubuntu 9.04

From: http://drupal.org/node/439204

In the last year the Drupal package was not in Debian/Ubuntu, now it is back. So after a fresh install of Jaunty, just type:

sudo apt-get install drupal6

and then you have to restart the webserver:

sudo /etc/init.d/apache2 restart

And you will see the Drupal install pages here:

http://localhost/drupal6/install.php

in the present drupal6 package of Ubuntu 9.04 Jaunty (https://launchpad.net/ubuntu/+source/drupal6/6.10-1), the clean URL feature does not work out of the box. With this two small corrections it can be enabled.

Enable the mod_rewrite module, and restart Apache:

a2enmod rewrite
/etc/init.d/apache2 restart

Set the correct base URL in .htaccess

sed -i 's/# RewriteBase \/drupal/ RewriteBase \/drupal6/' /etc/drupal/6/htaccess

Configuration File (php.ini) Path /etc/php5/apache2
Loaded Configuration File /etc/php5/apache2/php.ini
Scan this dir for additional .ini files /etc/php5/apache2/conf.d

No comments:

Post a Comment

Popular Posts