Magento Installation Guide

This is a step-by-step tutorial on installing Magento on one the Hostmonster hosting accounts. If you have any questions, please check Magento Support Forum. New questions and discussion are welcome.

This tutorial is inspired by Kyle's tutorial from Crucial Web Hosting, another great hosting for Magento.

Step 1: Download Magento

Download the latest version in .zip or .tar.gz file from the Magento website. Extract this file to your desktop.

You'll notice that there are two versions: "standard" and "full". The full installation is much larger (about 50 MB), and includes sample data, like stores, categories, products, image, etc.

Step 2: Upload Magento

Using your favorite FTP program, upload the Magento folder from your desktop to your public_html directory.

Step 3: Set File Permissions

You will need to set the following folders and file to writable mode by the server:

  • magento/app/etc
  • magento/media
  • magento/var
  • magento/var/.htaccess

If you have downloaded the "full version" of Magento, the one with the sample store data, you will need to set all of the directories in the folder media to writable as well:

  • magento/media/catalog
  • magento/media/upload

To do so login to the cPanel for your domain and click on the File Manager icon under the Files section:

cPanel

Make sure that Show hidden files (dotfiles) is selected:

cPanel

Double-click on the folder icon to open a folder. When you're ready to change the permissions of a file or folder, select the checkbox next to it. Then, click on Change Permissions icon. A box will popup where you can change the permissions to 777:

cPanel

Step 4: Create a MySQL Database

Stay in cPanel and click on the MySQL Database Wizard icon under Databases:

cPanel

The first step is to give the database a name. We will call it for example magento. Next, we are going to create a user that can access this database. If you already have a user setup that you want to use, just type the same username and password in here.

Finally, we need to make sure this user has full privileges for this database. You can check the All Privileges box to do this.

Step 5: Run the Setup Wizard

Use your web browser to surf to the Magento installation wizard. If you've uploaded the Magento files to http://www.example.com/magento/, then the wizard will be located here: http://www.example.com/magento/install/.

After agree to the license and set your locale settings, the next step is the configuration of database connection.

You will enter the database variables that you setup in Step 4 above. Remember, both the database name and username will be prefixed with the username you use to access the control panel for your domain. You will leave the Host section as is.

You're Done!

That's all the configuration you need to do. Follow the rest of the instructions until you are finished.