Magento Installation Guide


Follow the below points :-

1) Download the latest version of magento from here http://www.magentocommerce.com/download.
2) Extract and place it on your server. for ex. var/www/magento.
3) Download the sample data from http://www.magentocommerce.com/download
4) Copy and paste(mearge) media and skin directory into the var/www/magento.
5) Give the 0777 -R permission to /var/www/magento/app/etc and /var/www/magento/media directory.
$ sudo chmod 0777 -R /var/www/magento1/app/etc
$ sudo chmod 0777 -R /var/www/magento1/media

6) Navigate to http://localhost/magento and follows the steps.
7) Done!


down vote

To enable it the rewrite module, run “apache2 enable module rewrite”:

sudo a2enmod rewrite

You need to restart the webserver to apply the changes:

sudo service apache2 restart

Update PHP version in ubuntu


Reference Link : Click Here

try and find a PPA with a backported version of PHP 5.4.10 (such as ondrej’s oldstable PPA)

a) Run this command: sudo apt-get install python-software-properties
b) Run this command: sudo add-apt-repository ppa:ondrej/php5-oldstable
c) Run sudo apt-get update; sudo apt-get install php5
d) This should allow you to use PHP 5.4.10 (or whatever the most recent “Old Stable PHP” is).