Media Temple Magento Installation Guide - Grid Service

This shows you the differences between the selected revision and the current version of the page.

1_-_installation_and_configuration:mediatemple_installation_guide_-_grid_service 2013/08/28 18:43 1_-_installation_and_configuration:mediatemple_installation_guide_-_grid_service 2010/06/24 15:28 current
Line 1: Line 1:
 +====== Media Temple Magento Installation Guide - Grid Service ======
 +May 26, 2009 - Note: MT are now offering MySQL 5.1.26 on (gs) accounts.
 +===== 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 [[http://www.magentocommerce.com/wiki/mediatemple_installation_guide_-_dedicated-virtual_server|How to install Magento on  Media Temple (mt)  Dedicated-Virtual Server (dv) tutorial.]]
 +
 +===== Download a Magento installation package =====
 +
 +[[http://www.magentocommerce.com/download|{{ how-to:01-download-magento-light.gif?180| }}]]You can find the latest Magento installation packages at the [[http://www.magentocommerce.com/download|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 [[http://www.magentocommerce.com/wiki/general/magento_installation_via_ssh|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:
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/06-server-administrator-enlarged.gif|{{how-to:06-server-administrator.gif}}]]
 +
 +{{how-to:08-ssh-password-change-enlarged.gif?200&direct|SSH Password Change...}}
 +
 +{{how-to:09-ssh-password-enlarged.gif?200&direct|SSH Password...}}
 +
 +{{how-to:07-ssh-enable-enlarged.gif?200&direct|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
 +
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/12-unix-file-permissions-enlarged.gif|{{how-to:12-unix-file-permissions.gif|}}]]
 +
 +===== Switch to PHP 5 =====
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/10-php-settings-enlarged.gif|{{how-to:10-php-settings.gif| }}]]
 +
 +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.
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/11-php5-enable-enlarged.gif|{{how-to:11-php5-enable.gif|}}]]
 +
 +===== 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.
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/13-manage-mysql-databases-enlarged.gif|{{how-to:13-manage-mysql-databases.gif|}}]]
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/15-mysql-user-enlarged.gif|{{how-to:15-mysql-user.gif|}}]]
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/18-mysql-manage-databases-enlarged.gif|{{how-to:18-mysql-manage-databases.gif|}}]]
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/16-mysql-user-password-enlarged.gif|{{how-to:16-mysql-user-password.gif|}}]]
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/17-mysql-database-create-enlarged.gif|{{how-to:17-mysql-database-create.gif|}}]]
 +
 +Write down these settings (including database hostname) - you will need that information while installing Magento.
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/14-mysql-hostname-enlarged.gif|{{how-to:14-mysql-hostname.gif|}}]]
 +
 +===== 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.
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/20-configuration-enlarged.gif|{{how-to:20-configuration.gif|}}]]
 +
 +===== 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.
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/22-skip-url-validation-enlarged.gif|{{how-to:22-skip-url-validation.gif|}}]]
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/21-url-validation-error-enlarged.gif|{{how-to:21-url-validation-error.gif|}}]]
 +
 +===== Create an administrator account =====
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/23-create-admin-account-enlarged.gif|{{how-to:23-create-admin-account.gif?300}}]]
 +
 +===== Enjoy using Magento! =====
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/24-magento-clean-homepage-enlarged.gif|{{how-to:24-magento-clean-homepage.gif|}}]]
 +
 +[[http://www.magentocommerce.com/images/uploads/media-temple/gs/25-magento-order-success-enlarged.gif|{{how-to:25-magento-order-success.gif|}}]]
 +
 +===== 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:
 +
 +    * 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
 +[[http://www.magentocommerce.com/support/mt-gs/database_reinstall.sql|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 [[http://www.magentocommerce.com/download/release_notes|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 :
 +>>> //Mage::run('');//
 +by this code : 
 +>>> //Mage::run('default');//