Wednesday 6 March 2013

Step by Step Process for Magento Installation

 System Requirements for Magento Installation :

 

  • Supported Operating Systems:
    • Linux x86, x86-64
  • Supported Web Servers:
    • Apache 1.3.x
    • Apache 2.0.x
    • Apache 2.2.x
    • Nginx (starting from Magento 1.7 Community and 1.12 Enterprise versions)
  • Supported Browsers:
    • Microsoft Internet Explorer 7 and above
    • Mozilla Firefox 3.5 and above
    • Apple Safari 5 and above on Mac only
    • Google Chrome 7 and above
    • Adobe Flash browser plug-in should be installed
  • PHP Compatibility:
    • 5.2.13 - 5.3.15
    • Required extensions:
      • PDO_MySQL
      • simplexml
      • mcrypt
      • hash
      • GD
      • DOM
      • iconv
      • curl
      • SOAP (if Webservices API is to be used)
    • Safe_mode off
    • Memory_limit no less than 256Mb (preferably 512)
  • MySQL:
    • 4.1.20 or newer
    • InnoDB storage engine
  • SSL:
    • If HTTPS is used to work in the admin, SSL certificate should be valid. Self-signed SSL certificates are not supported
  • Server - hosting - setup:
    • Ability to run scheduled jobs (crontab) with PHP 5
    • Ability to override options in .htaccess files .

Installation Process for Magento :


Step 1: Download the latest stable Magento package from:
http://www.magentocommerce.com/download.
Step 2: Upload the package on your hosting account through your cPanel -> File Manager or using an FTP client.
You can learn more about cPanel from our cPanel Tutorial.
There are 2 options where you can place the Magento download file:
  • Either under the public_html folder, which is the main one for your web site content. Then your web site will be accessible directly through your domain.
  • Or under a subfolder, for example if your domain name is called yourdomainname.com and you decide to install the script in the public_html/magento folder, you will open the web site at: http://yourdomainname.com/magento.
Once you upload the package, you can extract it through your cPanel -> File Manager. Using the same tool, please change the file permissions for the Magento files to 755.

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

Step 4: In our example we will install  Magento in the public_html/magento folder. Once the package is uploaded and extracted and you have a MySQL database, navigate to http://yourdomainname.com/magento:
Installation wizard
Click on the check box next to "I agree to the above terms and conditions" and click on the Continue button.

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

Step 6: Enter the database details: Database Name, User Name and User Password. You can leave the other options intact.
Click on the check box next to "Skip Base URL validation before next step".
Magento database details
Click on the Continue button.

Step 7: At this point you should enter the personal information and the admin login details which you want to use. You can leave the Encryption Key field empty and the script will generate one for you.
admin details
Click on the Continue button.

 Step 8: Write down your encryption key; it will be used by Magento to encrypt passwords, credit cards and other confidential information.
completion
Well done! Your Magento installation was successfully completed. Now you can navigate to its Frontend or Backend.

Automatic Magento Installation via cPanel Site Software

Magento eCommerce installation is easy and fast through the Softaculous autoinstaller tool in cPanel. If your web host doesn't offer such a tool, you may consider the SiteGround exclusive Magento hosting or proceed with the Magento manual installation.  
First go to cPanel find the Site Software icon.
cPAddons
Find Magento in the Ecommerce section and open it.
Magento cPAddon
Enter the admin user name and the corresponding password.
You can also define the folder for your Magento installation. Leaving it blank will install the script directly in the web root directory for your account.
Click on the Install button to complete the script installation.
At the end you will get a confirmation screen with the URLs of your installation's front and back ends, the Magento admin login details and the link to the SiteGround Magento tutorial. The Magento encryption key will also be visualised.
Magento install confirmation

The Magento Encryption Key is generated during the Magento Installation. It is used for the encryption and the security storage of the sensitive data in the script's database.
Encryption key
The Magento Encryption Key is kept in the app/etc/local.xml file. You can open it through cPanel->File Manager. You can find more details on how to view the file content in our cPanel tutorial.
The code which you should look for is:
<crypt>
            <key><![CDATA[ENCRYPTION_KEY]]></key>
        </crypt>
The ENCRYPTION_KEY string is replaced by the actual encryption key.
You need it if want to move your store data to a new Magento site. The Encryption key is used to recover the encrypted data.
When you migrate your database content to a new Magento installation, make sure that the encryption key from the existing installation is written in the new web site's local.xml file. Otherwise the encrypted data, stored in the new database will not work.

For more information visit : http://www.siteground.com/tutorials/magento/magento_installation.htm

No comments:

Post a Comment