Table of Contents

NOTE (30 July 2008): Magento 1.1 and newer can no longer be run on the Media Temple Grid Server because Magento 1.1.1 requires MySQL 4.1.2 or newer. Media Temple only offers MySQL 4.1.11. Contact Media Temple for further information.

Prerequisites

This article is a quick step-by-step tutorial on installing Magento on a Media Temple (mt) Grid Service (gs) account. If you have a Dedicated-Virtual Server (dv) account please refer to our How to install Magento on Media Temple (mt) Dedicated-Virtual Server (dv) tutorial.

Download a Magento installation package

 You can find the latest Magento installation packages at the Magento Download page.

There you can select the preferred archive format and version - light or full (full includes sample data - stores, categories, products, images, etc) you want to download.

Upload Magento to your server

Upload the extracted files to your web server via FTP to the HTML folder (important) which is under your domain folder (usually yourdomain.com)(if you have SSH access and are comfortable with the command line, check out this wiki post)

How to get FTP/SSH login information?

You can find out FTP/SSH login information under the Server Administrator section of Account Center:

SSH Password Change...

SSH Password...

Enabling SSH...

Set necessary permissions

Set up the necessary permissions on files and folders via your FTP client or your Account Center File Manager interface. Ensure that the file magento/var/.htaccess, the directories magento/app/etc, magento/var, and all the directories under magento/media are writable by the web server

Switch to PHP 5

Magento supports PHP 5.2.0 or newer, so you have to go to PHP settings section in your Account Center and switch to PHP 5.

Create a MySQL database and user

Go to Manage Databases Account Center section, create a database, a MySQL user, and password that Magento will use.

Write down these settings (including database hostname) - you will need that information while installing Magento.

Run the installation wizard

Use your web browser to surf to any Magento page (for example /install or anything) and you will be forwarded to the installation wizard.

Review the license and confirm that you agree on the first step.

Specify database connection and URLs

Enter the database connection data into the fields, check whether installation wizard correctly determined your web-host name and path.

HTTPS URL validation

While installing Magento on the (gs) account you’ll get an error message on secure connection url validation (prior to and including version 0.6.13160 - that will be fixed in the release that follow), so just check the Skip URL validation checkbox and proceed to the final step.

Create an administrator account

Enjoy using Magento!

Known Issues

In case you have problems with installing a full Magento package (that includes test data - products, categories, images, etc) on (mt) Grid-Service account due to some limitations of running large MySQL queries, you can use the following workaround:

SQL-script on your database (either via phpMyAdmin or any other tool you prefer to work with)

replace the line :

Mage::run(’‘);

by this code :

Mage::run(’default’);