If you are not patient to read the Magento install guide, here is a quick way to do it:

  1. Download Magento and Magento sample data from this URL:
    http://www.magentocommerce.com/download/noregister
  2. 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
  3. Create MySQL database and user for your Magento installation:
    mysql> CREATE DATABASE `matobl-magento` DEFAULT CHARACTER SET utf8
  4. Import sample data to your database (REQUIRED for correct Magento Install!):
    $ mysql magento -u magento -p < ./magento_sample_data_for_1.2.0.sql

  5. 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/*
  6. 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
  7. 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’)”.
  8. Enjoy your Magento shop:
    Shop: http://www.yourdomain.com/
    Admin: http://www.yourdomain.com/index.php/admin/

Resources

  1. Magento has a good install guide: http://www.magentocommerce.com/wiki/magento_installation_guide
Magento Install for Impatient
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *