As part of work I have to install Magento with its sample data a lot for proof of concepts, while the installation is simple it can quickly become a chore. Because of this I have started to use n98-magerun . It can be installed using the following commands;
Quick Magento Installation 1/2
Once installed you can do clean installation by running the following command where you would like Magento to be installed;
Quick Magento Installation 2/2
for more on how to use n98-magerun click here .