Knowledge Base: Starting up

Installing Magento commerce

1. Download the latest stable Magento package from:
(download the .tar.gz version to your computer)

2. Upload the package to your hosting account through your cPanel file manager or using an FTP client.
There are 2 places where you can upload the Magento package to:

  • Either under the public_html folder, which is the main (root) folder for yourweb site content. Your shopping cart will be accessible directly through your domain (when someone visit your website, they will see the cart on the main page).
  • Or add it to a subfolder. For example: If your domain name is called and you decide to install the script in the public_html/store folder, then you will open the web site at:

Once you upload the package, you can extract it through your cPanel file manager. please change the file permissions for the Magento files and folders to 755.

3. Create a MySQL database and assign a user to it through cPanel. Remember the database details, since you will need them during
the script installation.
Important: The MySQL database is created with your username as a prefix (username_databasename) and this is the name you have to use for your application.

4. In our example, we will install Magento in the public_html/store folder. Once the package is uploaded and extracted, and you have a MySQL database, navigate to

5. Before installing Magento, you can install a sample data:
a. Download the .tar.gz version
b. Extract the folder
c. Import the .sql file to your Magento db using phpmyadmin.
d. copy magento-sample-data-*magento_version*/media/catalog to store/media/catalog

6. Magento Installation wizard:
You can access the installation wizard using

a. Install the most up-to-date copy of Magento. Click on the 'Start the download process' button.

b. When the download is completed, set the permission for the index.php file in the Magento folder to 755 via cPanel>File manager.
Click the 'Continue Magento installation' button.

c. Click the checkbox next to "I agree to the above terms and
conditions" and click on the 'Continue' button.

d. localization:
Choose the preferred Time Zone, Locale and Currency. Click on the 'Continue' button.

e. configuration:

Enter the database details: Database Name, Username and User Password. You can leave the other options without any changes. Click on the checkbox next to "Skip Base URL validation before next step".

Click on the 'Continue' button.

f. Create admin account:
At this point, you should enter the personal information and the admin
login details that you want to use. You can leave the Encryption Key
field empty and the script will generate one for you.
Click on the 'Continue' button.

g. You're all set!

Write down your encryption key--it will be used by Magento to encrypt
passwords, credit cards and other confidential information.

After the installation is completed, you can contact us to check the files'
permission, which should be 755.


written by:Norman, on:2009-10-12 15:24:08