1. Manual Installation of MagentoStep 1: Download the latest stable Magento package from Magento Community
Step 2: Change the file permissions for the Magento files.
- - file: magento/var/.htaccess
- - directory: magento/app/etc
- - directory: magento/var
- - all the directories under: magento/media
use the following commands:
chmod o+w var var/.htaccess app/etc
chmod -R o+w media
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:
Step 5: Choose the preferred Time Zone, Locale and Currency and 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”.
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.
Step 8: Write down your encryption key; it will be used by Magento to encrypt passwords, credit cards and other confidential information.
Well done! Your Magento installation was successfully completed. Now you can navigate to its Frontend or Backend.
2. Importing the Sample DataStep 1: Download sample data from magento commerce website.
Step 2: Copy image into the media folder of magento.
Step 3: Now create new database and import some sample data to our newly created database before we install Magento.
Step 4: Reinstall magento using steps mentioned above (except creating new database). Mentioned magento database which has sample data. Magento will auto detect. If database has set of tables then it will skip the table creation and will auto detect product, category and other settings which are imported using sample data.
3. System Requirements
- PHP Compatibility:
- Required extensions:
- SOAP (if Webservices API is to be used)
- Safe_mode off
- Memory_limit no less than 256Mb (preferably 512)
- 4.1.20 or newer
- InnoDB storage engine
- Download the magento-check file to your computer and unzip it.
- Upload the extracted magento-check.php file to the Magento directory on your server
- In your browser navigate to this page: ( e.g. domain/magento-check.php )