Updated on 2024-09-23 GMT+08:00

Overview

Application Scenarios

WordPress is an enterprise-level open-source content management system. It is usually used for enterprise website setup, cross-border e-commerce, and personal blog building. The WordPress application image uses Ubuntu 22.04 and is deployed using Docker. The Nginx, MySQL, phpMyAdmin, and Docker have been preconfigured in the image. You can use this application image to quickly set up a 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

WordPress

Select the WordPress application image.

Security group

Inbound rule:

  • Protocol: TCP
  • Ports: 80, 443, 9001, and 3306
  • Source IP: 0.0.0.0/0
  • 80: Allows HTTP traffic to a website.
  • 443: Allows HTTPS traffic to a website.
  • 9001: Allows external access to the application management page.
  • 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, including configuring a security group and adding and resolving a domain name.

2

Initializing WordPress

Log in to the dashboard, set the username and password, and install WordPress. The image application dashboard needs to be initialized only when you log in for the first time.

3

Setting up WordPress

On the dashboard, perform the following operations:

  • Configure domain names.
  • Install an SSL certificate for your website.
  • Set themes.
  • Install plugins.
  • Configure SMTP.
  • Reset a password.