Updated on 2024-06-17 GMT+08:00

Overview

Applicable Scenario

PrestaShop is a full-featured, cross-platform, and open source e-commerce platform written in the PHP programming language with support for the MySQL database management system. PrestaShop supports transactions using different currencies and almost all payment methods, such as Paypal. It is a good choice for you to build foreign trade websites. The PrestaShop application image uses Ubuntu 22.04 and is deployed using Docker. The Nginx, MySQL, phpMyAdmin, and Docker have been preconfigured in the image. This section describes how to use PrestaShop to build an e-commerce website.

Resource Planning and Costs

This practice uses the following resource planning as an example. You can adjust it as required.

Resource

Configuration

Description

Cloud server

  • vCPUs: 2
  • Memory: 2 GiB

Select appropriate instance specifications based on your service requirements.

Image

PrestaShop

Select the PrestaShop application image.

Security group

Inbound rule:
  • Protocol/Application: TCP
  • Port: 9001,9000,3306
  • Source: 0.0.0.0/0
  • 9001: Allows external access to the application management page.
  • 9000: Allows external access to the dashboard of the application preinstalled in the image.
  • 3306: Allows access to MySQL databases.

Domain name

wpwebsite.com

  • If the website is only used for personal development or testing, there is no need to add a domain name.
  • If the website is open to the public, add and resolve a domain name for the cloud server.

Process

Step

Procedure

Description

1

Purchasing and Configuring a FlexusL Instance

Purchase and configure a FlexusL instance.

2

Initializing PrestaShop

Log in to PrestaShop and select the desired language for the management page.

3

Deploying PrestaShop

On the dashboard, perform the following operations:

  • Manage language packages and set languages.
  • Manage modules
  • Back up databases.
  • Configure domain names.