Media Temple Magento Installation Guide - Grid Service
This is an old revision of the document!
October 17, 2008 - Note: MT are now offering MySQL 4.1.25 across the Grid which is now compatible with the system requirements for Magento.
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.
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 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)
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
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.
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.
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.
Enter the database connection data into the fields, check whether installation wizard correctly determined your web-host name and path.
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.
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:
- Go through the installation process as described above (go to Magento URL and proceed with the installation wizard steps)
- In case you get exceptions on the front-end after installation, run this
SQL-script on your database (either via phpMyAdmin or any other tool you prefer to work with)
- After running the script go to any Magento page and the database upgrade will automatically complete.
- The script will completely clean your database. Do not run it if you already have some data in your database!
- Your Magento administrator account will also be reset. Please use login admin and password 123123 to sign in to the admin and update your administrator account.
- The workaround can be applied before installing any Magento version starting from the first one till the latest 0.6.13160. We are working on the fixes needed to install a full version on (mt) (gs) and we’ll include them in following releases, check the Release Notes - for an annoucement once those fixes are integrated into packages.
- If you’ve installed Magento 1.0.19870 and meet an 404 ERROR in all your pages (after having created a Website or Store for instance), edit your /index.php file as follow
replace the line :
by this code :