Install open source DedeCMS
DedeCMS is a simple, practical, open source PHP content management system (CMS) for building personal websites or small-to-medium portals. This topic shows you how to install DedeCMS on a Web Hosting instance, using an Advanced edition Linux-based exclusive web hosting instance as an example.
Prerequisites
-
You have purchased and initialized a Web Hosting instance. For more information, see Purchase a Web Hosting instance.
-
You have installed an FTP client. We recommend using FileZilla. For instructions, see Manage website files by using FileZilla.
-
You have a domain name ready for your website.
-
If you do not have a registered domain name or if the domain name is not yet 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 instructions, see Bind a domain name.
-
-
You have downloaded the DedeCMS installation package. You can download it from the official DedeCMS website.
Procedure
-
Obtain your host information.
-
Log in to the Web Hosting console.
-
Find the Web Hosting instance where you want to install DedeCMS and click Manage in the Actions column.
-
In the left navigation pane, click Site Information.
-
In the Site Information section, obtain the required host information.
Section Description ① The temporary domain name. ② The FTP login host, FTP login username, and FTP login password, for logging in to the FTP client. ③ The database name, database host, database username, and database password, for configuring your website.
-
-
Upload the DedeCMS installation files by using an FTP client.
The web root directory for Linux-based Web Hosting instances is /htdocs. You must upload the installation files to this directory.Choose an upload method based on the size of the installation package:
- If the installation package is small, you can upload the files directly. For instructions, see Upload website files to a Linux-based Web Hosting instance.
- If the installation package is large, compress it first, upload the package to the Web Hosting instance, and then decompress the package from the Web Hosting console. For instructions, see Compress and upload website files.
ImportantIf the DedeCMS package you downloaded contains multiple folders, such as
docsanduploads, you only need to upload the contents of the uploads folder. Do not upload the uploads folder itself. -
Install DedeCMS.
-
Open a web browser and navigate to your domain name.
-
Optional: If you are using a temporary domain name, enter the required information on the verification page and click Confirm Access.
-
Read the license agreement, select I have read and agree to this agreement, and then click Continue.
The left side of the installation interface shows the setup steps (License Agreement, Environment Check, Parameter Configuration, Installing, Installation Complete), and the right side displays the license agreement.
-
Review the automatically detected environment information, and then click Continue.
The Environment Check page displays Server information (such as operating system, parsing engine, and PHP version), System environment check (including the status of
allow_url_fopen,safe_mode, GD support, and MySQL support), and Directory permission check (read and write permissions for each directory). Make sure that all checks pass. -
Configure the website information and click Continue.
The Parameter Configuration page includes three sections: Database settings, Initial administrator password, and Website settings.
ImportantIn this example, because
utf8mb4is the only available database encoding, you must select MySQL version 5.5.3 or later. Your available options may differ depending on your installation.The following table describes the main parameters.
Section
Parameter
Description
Database settings
Database host
Enter the database host. To find this information, see Step 1.
Database user
Enter the database username. To find this information, see Step 1.
Database password
If you have forgotten your password, you can reset it. For instructions, see Reset the database password for a Web Hosting instance.
Database name
Enter the database name. To find this information, see Step 1.
Initial administrator password
Username
Set the administrator username for logging in to the website backend.
Password
Set the initial administrator password.
Website settings
Website name
Enter a name for your website.
Website URL
-
If you already have a domain name, enter it here.
-
If you do not have a domain name yet, you can use the temporary domain name for now. After you register and verify a domain name, you can update this setting in the website backend.
After the installation is complete, you can click Visit website home page to view your site. You can also visit the site later by entering your domain name in your browser's address bar.
You can also click Log in to the website backend to access the DedeCMS administration panel (the backend directory is
dede). -
-
Next steps
After you install DedeCMS, log in to the website backend to perform tasks such as deploying modules or configuring system settings. For more information about how to use DedeCMS, see the official DedeCMS website.
To set the default home page, configure a 404 error page, enable PHP functions, or perform other host-level tasks, log in to the Web Hosting console. For more information, see Web Hosting console overview.