Only local images are allowed.
As of this writing, the current Ubuntu version is Gutsy Gibbon, 7.10

HOWTO Screencast

* How To Install (L)AMP & Drupal on Ubuntu

Manual Instructions

Ubuntu Server Edition provides a server set up right out of the box. It is perfect for anything from sandboxing on an old PC, to full blown servers.

Option 1: Manual Setup

If using the Desktop Edition you will need to install the packages for Apache2, MySQL and PHP using either Synaptic or from the command line with apt-get. Here is a link to the Ubuntu documentation tutorial on How to setup an Ubuntu LAMP Server on a desktop edition.

Once the server is set up, to install Drupal you need to untar the contents of the Latest stable release to your /var/www directory.

There is also a video in the video and slides section which covers installation and getting clean URLs working.

Option 2: Automatic Setup using Synaptic Package Manager

This option is extremely easy if you have already configured postifix on Ubuntu (for email) - but is quick setup for a Drupal5 LAMP install even if you haven't configured postfix. (I haven't tested without postfix configured)

Using Synaptic Package Manger (Ubuntu: "Applications > System > Synaptic Package Manager"), select "Drupal5" package (from multiverse repository). This package will install any required modules needed to setup a working Drupal5 installation... such as Apache2, MySQL, PHP5, php-gd, and curl.

Get Ubuntu

Download .iso and burn to CD/DVD

Drupal 5 Caution

Make sure you select apache2 when going throught the wizard. Navigate to localhost/drupal5 to see drupal admin console.

If you get bunch of MySQL errors that basicaly tell you that tables are not found, try
localhost/drupal5/install.php

Comments

saintdanbert’s picture

I'm writing this comment as of Tuesday, 29 March 2011. The latest edition of Ubuntu is
v10.10 named "Maverick Meercat". We are prepping for release of v11.04 named "Natty Nahrwale".
The most recent Ubuntu Long Term Release (LTR) is v10.04.

I know a bit about Ubuntu, but I know very little about Drupal. I plan on learning, but I
don't know enough ... YET ... to update this page. I might give it a try, but I can only
make a valiant effort and cannot vouch for the veracity of the resulting content.

A mon avis modeste,
~~~ 0;-Dan

timmvt’s picture

In Ubuntu 12.04, open a terminal window and type:

sudo install tasksel

sudo tasksel lamp-server

Follow the online instructions and enter the passwords (if desired) at the prompts.

Next, you need to add PHPMyAdmin so in the terminal window type

sudo apt-get install phpmyadmin

To check if the phpmyadmin is installed, type in the address bar:

localhost/phpmyadmin

[Sidebar note: If you forget your password, for whatever reason, and need to change the root password, in the terminal window type
mysql -h [your host] -u root

a mysql prompt will appear then type:

SET PASSWORD FOR root@localhost = PASSWORD('yourpassword');
]

Upon completion, grab Drupal 7 (https://drupal.org/project/drupal) and untar into /var/www
[Make sure you change the permissions to allow the Drupal tarball to extract to it. This is how to do it:

In the terminal window, navigate to the /var/www directory and type:

sudo chown -R [username] www

]

Then in a browser's address bar, type:

[yourhost]/drupal-7.22/install.php

You may run into the installation not being able to make the ~/sites/default/files directory so create that directory and make it writable.

Also don't forget to copy the default.settings.php to settings.php in the /sites/default director, and of course, make it writeable.

Follow the onscreen instructions :)

[NOTE: I created a database through PHPMySQL before starting the process]

At the end, you should have a brand spanking new Drupal site sitting before you :)

Happy Drupaling!!