Ubuntu 9.10 (Karmic Koala)
There is a Drupal package in Ubuntu, so Drupal install on Ubuntu is just this line
sudo apt-get install drupal6
For the actual state of the Drupal packages in Ubuntu repository, check this site:
https://launchpad.net/ubuntu/+source/drupal6
The Debian repository is: http://packages.qa.debian.org/d/drupal6.html
The Drupal libraries are placed in the file system, as used to be in Linux:
- /usr/share/drupal6
- /var/lib/drupal6
- /etc/drupal/6
- /var/www
Most of the Drupal staff is here, the rest are symlinked to this directory, so it's the Drupal root directory
The /files directory
The .htacces, /sites and /profiles directories
A symlink is here, pointing to Drupal root (/usr/share/drupal6)
As this directory layout structure is not the recommended one from the Drupal community, use this install scenario just for testing Drupal, but please note: any updates will be difficult. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526970
Or use Drupal in virtual machines, and it's a quick way to get Drupal up and running.
Then - at the time of writing this post - some more steps are necessary to get Drupal running:
- enable the rewrite module and restart Apache:
- change the rewrite base in /etc/drupal/6/htaccess
- optional: increase PHP memory:
- optional: if you want to access Drupal over the network, then edit your DNS settings or add this line to /etc/hosts on your client:
- open your browser and start the install process of Drupal:
sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart from this one:
# RewriteBase /drupal
to this:
RewriteBase /drupal6
sudo sed -i 's/# RewriteBase \/drupal/ RewriteBase \/drupal6/' /etc/drupal/6/htaccess
sudo sed -i 's/memory_limit = 16M/memory_limit = 64M/' /etc/php5/apache2/php.ini
sudo su
echo "192.168.2.10 www.example.com" >> /etc/hosts where change 192.168.2.10 to the IP address of your Drupal machine
if you are on the same host then:
http://127.0.0.1/drupal6/install.php
if you have done the previous point then:
http://www.example.com/drupal6/install.php

problem
petrope@petrope:~$ sudo a2enmod rewrite
[sudo] password for petrope:
ERROR: Module rewrite does not exist!
petrope@petrope:~$
it seems to easy, but not for everyone.
Can sbody help me?
Error while installing on Ubunto 9.10 (http://www.example.com)
I get the following error when I visit the above URL
Not Found
The requested URL /drupal6/install.php was not found on this server.
Apache/2.2.3 (Red Hat) Server at www.example.com Port 80
ACER Travelmate 2403NWXCi (Intel Celeron 1GB RAM)
Ununtu 9.10
Drupal 6
Resolved : Error while installing on Ubunto 9.10 (http://www.exa
Got it
If you are installing on your local machine type http://127.0.0.1/drupal6/install.php
"localhost" instead of the ip address might also work.
ACER Travelmate 2403NWXCi (Intel Celeron 1GB RAM)
Ununtu 9.10
Drupal 6
I've change the descrition,
I've change the description, thanks for the hint.
Doka