If you are not patient to read the Magento install guide, here is a quick way to do it:
- Download Magento and Magento sample data from this URL:
http://www.magentocommerce.com/download/noregister - Unzip both archives to the desired location:
$ tar zxvf ./magento-1.2.0.1.tar.gz $ tar zxvf ./magento-sample-data-1.2.0.tar.gz
- Create MySQL database and user for your Magento installation:
mysql> CREATE DATABASE `matobl-magento` DEFAULT CHARACTER SET utf8
- Import sample data to your database (REQUIRED for correct Magento Install!):
$ mysql magento -u magento -p < ./magento_sample_data_for_1.2.0.sql - Change permissions and ownership of some directories:
$ chmod 777 -R ./media
$ chmod 777 ./var
$ chmod 777 ./app
$ chmod 777 ./apt/etc
$ chmod 666 var/session/* - Find and download locales for your language (they are not shipped with basic distribution):
http://www.magentocommerce.com/langs
Unzip your locales and copy them to /app/locale directory. For Slovak I did the following:$ wget http://www.magentocommerce.com/langs/download/37/11/package $ unzip package $ cp app magento/app
- Go to your browser and start the install wizard.
After install and creation of a new store I got an error: 404 error: Page not found. To fix this look at this thread: http://www.magentocommerce.com/boards/viewthread/8881/ – you just need to edit index.php and replace “Mage::run(’’);” with “Mage::run(’default’)”. - Enjoy your Magento shop:
Shop: http://www.yourdomain.com/
Admin: http://www.yourdomain.com/index.php/admin/
Resources
- Magento has a good install guide: http://www.magentocommerce.com/wiki/magento_installation_guide
Magento Install for Impatient