Installing Magento 1.9 Sample Data on Linux Mint
Hi! The Tutorial shows you Step-by-Step How to Install Magento 1.9 Sample Data on Mint Linux Systems.
Magento provides sample data you can optionally install to give you an idea of what products look like in the Admin Panel and in your web store. you can use this sample data to learn how Magento works and to experiment with custom themes.
The Process described here Suppose that the User have Super-User Powers, if Not then adapt Consequently the Commands…
-
Download Latest Magento 1.9 CE Sample Data
-
Extracting Magento 1.9 CE Sample Data.
Double-Click on the Archive
Or From Command Line:
sudo su -c "tar xvzf -C /tmp/ $HOME/Downloads/magento-sample-data*.tar.gz"
-
Open a Command Line Terminal Window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
Relocate Magento Sample Data & Skins.
sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
cp -r /tmp/magento-sample-data*/media/* /var/www/html/magento/
cp -r /tmp/magento-sample-data*/skin/* /var/www/html/magento/
-
Fixing Permissions.
cd /var/www/html/magento
chown -R www-data:www-data .
find . -type d -exec chmod 700 {} \;
find . -type f -exec chmod 600 {} \;
exit
-
Loading MySQL Data into Database.
mysql -uroot -p [myDb] < /tmp/magento-sample-data*/magento_sample_data*.sql
-
How to Install the Latest Magento 1.9 CE on Linux Mint