Why are there lots of guides with strange and mystical commands about installing Magento? It’s so easy!
I’m joking, but I want to reassume the guide you can find at its wiki.
Perform a clean install of Ubuntu Server (I suggest >= 10.04) then type (mark your MySql password!) :
sudo tasksel install lamp-server openssh-server sudo apt-get install php5-curl php5-cli php5-gd php5-mcrypt
Now you can continue with a ssh connection.
For avoid a future security issue, edit this Apache configuration file:
sudo vi /etc/apache2/sites-enabled/000-default
and change all occurrences of:
AllowOverride None
with
AllowOverride All
Create the database and its new proprietary user (replace “magentoadmin” and “password” as you like) :
mysql -u root -p CREATE DATABASE magento; GRANT ALL PRIVILEGES ON magento.* TO 'magentoadmin'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
Delete default index.html, download Magento, unpack and set permissions.
Here are commands, but I suggest to visit the official download page for updates (Full Release).
cd /var/www
sudo rm /var/www/index.html
sudo wget http://www.magentocommerce.com/downloads/assets/1.5.1.0/magento-1.5.1.0.tar.gz
sudo tar -zxvf magento-1.5.1.0.tar.gz
sudo chown -R www-data.www-data *
sudo mv magento/* magento/.htaccess .
sudo find . -type f -exec chmod 644 {} \;
sudo find . -type d -exec chmod 755 {} \;
sudo chmod o+w var var/.htaccess app/etc
sudo chmod 550 mage
sudo chmod -R o+w media var
sudo rm -rf magento/ magento-1.5.1.0.tar.gz
sudo service apache2 restart
Open your browser pointing the ip address of your server and finish the installation.
Any feedback will be appreciated…

Exactly. Why do some manuals spend so much letters on an installation guide for dummies? This is exactly what I needed. Thanks for the great and minimalistic effort!