Following is a small howto for doing a setup of Drupal. You can find more details on http://drupal.org/handbooks
1. Download drupal and move the folder in /var/www/
2. Grant write permissions on configuration file
chmod o+w sites/default/
3. Create database in mysql
mysqladmin -u root -p create databasename
create username and password for accessing the database
mysql -u username -p
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password';
4. Install script
Go to browser and type http://localhost/drupal_folder
Follow the on-screen instructions
5. For Security purpose, set permission
chmod a-r CHANGELOG.txt
6. Run cron for maintenance
http://localhost/drupal_folder/cron.php