This article describes how to build a Drupal e-commerce website on an Elastic Compute Service (ECS) instance that uses an Alibaba Cloud Marketplace image.
Drupal is an open-source content management framework (CMF) written in PHP. Drupal consists of a content management system (CMS) and a PHP development framework. You can use Drupal to build dynamic websites that provide various features and services. Drupal is commonly used in a variety of applications from personal blogs to large communities.
The procedure described in this article applies to users who are familiar with Linux operating systems, but are new to web development on Alibaba Cloud ECS instances and want to build a website quickly.
In this example, the following operating system and software versions are used:
To build a Drupal website based on an Alibaba Cloud Marketplace image, perform the following steps:
Create an ECS instance to build a small-sized website for personal use. Then, you can upgrade the configurations of the instance or optimize the architecture as your requirements increase. In this example, an ECS instance of the ecs.c6.large instance type is used.
Drupal
in the search box and click Search to select a Drupal website image.1. Access http://<Public IP address of the instance>/phpMyAdmin
by using your browser.
You can obtain the public IP address of the instance from the IP Address column corresponding to the instance on the Instances page in the ECS console.
2. Use the username and password of MySQL provided by the Alibaba Cloud Marketplace image to log on to phpMyAdmin.
3. In the left-side navigation pane, click NEW. In the top navigation bar, click SQL.
4. Create a database and user for Drupal.
Enter the following SQL statements in the field and configure the following parameters:
CREATE DATABASE drupalDBName;
CREATE USER UserName;
GRANT ALL PRIVILEGES ON *.* TO 'UserName'@'IP' IDENTIFIED BY 'UserPassWord' WITH GRANT OPTION;
FLUSH PRIVILEGES;
5. Click Go.
6. Access http://<Public IP address of the instance>/drupal
by using your browser to go to the Drupal installation page. Select an installation language from the Choose language drop-down list and click Save and continue.
7. Select the standard installation method and click Save and continue.
8. Enter the information of the created database and click Save and continue.
9. After Drupal is installed, enter the site information on the website setting page and click Save and continue.
Then, you can log on to the Drupal website to customize the settings.
Startup Futureverse’s CEO on Making Music With AI and Alibaba Cloud
1,037 posts | 255 followers
FollowAlibaba Cloud Community - December 4, 2023
Alibaba Clouder - June 3, 2019
Alibaba Clouder - May 31, 2019
Alibaba Clouder - June 2, 2020
Alibaba Clouder - April 1, 2019
Alibaba Cloud Community - September 21, 2021
1,037 posts | 255 followers
FollowElastic and secure virtual cloud servers to cater all your cloud hosting needs.
Learn MoreAlibaba Cloud Function Compute is a fully-managed event-driven compute service. It allows you to focus on writing and uploading code without the need to manage infrastructure such as servers.
Learn MoreHigh Performance Computing (HPC) and AI technology helps scientific research institutions to perform viral gene sequencing, conduct new drug research and development, and shorten the research and development cycle.
Learn MoreA HPCaaS cloud platform providing an all-in-one high-performance public computing service
Learn MoreMore Posts by Alibaba Cloud Community