Magento local installation and deployment

Source: Internet
Author: User

Magento is developed based on PHP. To install magento locally, you must first have an environment where PHP can run. Here we recommend wampserver or XAMPP. I have tried both of them. I personally think wampserver is easy to use, we recommend that you go to the official website to download the latest version to avoid various errors caused by version problems, because I encountered the problem of updating the version during the test.

Go to the magento official website and have an installation guide. Continue step by step. (XAMPP is used instead, and Wamp is unstable. Access to the specific detail page not found is not resolved yet)

The following steps are outlined:

1. Prepare the latest wampserver, XAMPP, magento, and magento simple data packages. You can download it from the official website.

Http://www.wampserver.com/

Http://www.magentocommerce.com/download

Https://www.apachefriends.org/download.html

2. After wampserver is installed, decompress magento to the WWW directory under the wampserver installation project, decompress magento simple data, and copy the media and skin folders to magento under the WWW directory.

2. After XAMPP is installed, decompress magento to the htdocs directory under the XAMPP installation directory, and decompress magento simple data to copy the media and skin folders to magento under the htdocs directory.

3. Access phpMyAdmin locally and create a database magento import the SQL statements in magento simple data.

3. Import SQL notes: In XAMPP, page import SQL has a size limit and timeout, etc. Of course, you can modify PHP. solve the INI parameter. During the test, I solved the large and small limitation, and the timeout problem was always there, so I couldn't get stuck with it for some reason. In another way, I used shell to import SQL, as follows: (of course, you can also split the SQL file for page import, but this is a little clumsy)

4. Access localhost/magento To Go To The magento installation page and set relevant information.

5. After the settings are complete, you can access the magento front-end and back-end. the backend itself supports the selection of the interface area at the bottom of the Chinese language. The front-end must display Chinese characters in the backend system-configure-region options-select China in the region.

Note:

I cannot access magento backend using chrome. It is estimated that it is incompatible. My chrome version is 35.0.1916.153 m and Firefox is normal.

If the front-end image is incorrectly displayed under the Wamp, refresh all the caches at the backend.

The access to the specific detail page under Wamp cannot be found. I tried to reindex the page at the backend. refreshing the cache is invalid. No solution is available.

 

Magento is installed locally and cannot be accessed or processed by others in the LAN. It is configured in the background.

System-> Configuration-> Web-> unsecure --> base URL is set to http: // your computer ip address/magento

 

Foreground Chinese plug-in address:

Http://www.magentocommerce.com/magento-connect/magento-official-chinese-translation.html

Install the plug-in key in the background

After the installation is complete, go to system> configration> General> locale option> locale to set Chinese (China) and refresh the foreground.

Magento local installation and deployment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.