To install Drupal 7 on your localhost, you must setup apache and mysql first. We have already posted a tutorial on How to install and configure Apache,PHP,MySql and phpMyadmin on ubuntu.Please read first.
1.Download Drupal 7
Go to Drupal website
and download the latest Drupal 7 version in zip format on your desktop and extract. Now you will get drupal-7.0 folder. just rename that folder to drupal
2.Copy Drupal to /var/www folder .
To do this