Install ECShop

更新时间:
复制 MD 格式

ECShop is an open-source B2C e-commerce system for building online stores for personal use or for small and medium-sized enterprises. This topic describes how to install ECShop 4.1 on a Web Hosting instance, using a Linux-based exclusive web hosting instance (Standard Enhanced Edition) as an example.

Prerequisites

  • Purchase and initialize a Web Hosting instance. For more information, see Purchase a Web Hosting instance.
  • Install an FTP client. We recommend using FileZilla. For more information, see Manage website files by using FileZilla.
  • Have a domain name ready for your website.
    • If you do not have a registered domain name or your domain name has not been verified, you can use the free temporary domain name provided by Alibaba Cloud. For more information, see What is a temporary domain name?.
    • If you have a registered and verified domain name, bind it to your Web Hosting instance first. For more information, see Bind a domain name.
  • Download the ECShop installation package. You can download it from the ECShop official website.

    Note

    This topic uses ECShop 4.1 as an example. If you download a different version, the user interface may vary. Follow the instructions displayed on the actual page.

Procedure

  1. Obtain the host information.

    1. Log on to the Web Hosting console.

    2. Find the Web Hosting instance where you want to install ECShop and click Manage in the Actions column.

    3. In the left-side navigation pane, click Site information.

    4. In the Site information section, find the required host information.

      AreaDescription
      The temporary domain name.
      FTP logon host, FTP logon username, and FTP logon password. Required to log on to the FTP client.
      Database name, database address, database username, and database password. Required to configure the website.
  2. Upload the ECShop installation package by using an FTP client.

    The website root directory for a Linux-based Web Hosting instance is /htdocs. Upload the installation package to this directory.

    Choose an upload method based on the package size:

    After you upload and decompress the package, the program files are located in the /htdocs directory.

    For example, in FileZilla, the remote site file list will show ECShop PHP files, such as index.php and search.php, and configuration files, such as package.json and htaccess.txt.

  3. Install ECShop.

    1. Open a web browser and go to your domain name.

      If you are using a temporary domain name, enter the required information on the verification page as prompted and click Confirm access.

    2. Read the license agreement, select I have read and agree to all the terms and conditions., and then click Next: Configure installation environment.

      The installation wizard displays the ECShop license agreement. The progress indicator on the right shows the three installation steps: Welcome to ECSHOP → Check Environment → Configure System.

    3. Review the environment information that the installer automatically detects and click Next: Configure system.

      The environment check page has three sections: System environment (operating system, PHP version, MySQL support, GD version, image format support, and more), Directory permission check (verifies if directories are writable), and Template writability check. Confirm that all checks pass before you continue.

    4. Configure the database information and administrator account, and then click Install now.

      The configuration page has three sections: Database account, Administrator account, and Miscellaneous. In addition to the parameters in the following table, you must also configure the Port (default: 3306), Table prefix (fixed as ecs_), and Email. In the Miscellaneous section, select a Language pack and Time zone.

      The following table describes the main parameters.

      Parameter

      Description

      Database host

      Enter the database host. To find this information, see Step 1.

      Username

      Enter the database username. To find this information, see Step 1.

      Password

      Enter the database password. If you forget the password, you can reset it. For more information, see Reset the database password for a Web Hosting instance.

      Database name

      Enter the database name. To find this information, see Step 1.

      Administrator name

      Set the administrator username for the website's admin backend.

      Login password

      Set the administrator's initial password for the website's admin backend.

Results

When the installation is complete, a success message appears. You can now access your website by entering its domain name in your browser's address bar.

The website's homepage displays the default ECShop storefront template, which includes common e-commerce modules such as product category navigation, a search bar, a shopping cart, new arrivals, and weekly best-sellers.

Next steps

  • To deploy modules or configure system settings for your website, log on to the ECShop admin backend. For more information about how to use ECShop, see the ECShop official website.

  • To set the website's default homepage, configure a 404 error page, or enable PHP functions, log on to the Web Hosting console. For more information, see Web Hosting console overview.