Install open source DedeCMS

Updated at:

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

  1. Obtain your host information.

    1. Log in to the Web Hosting console.

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

    3. In the left navigation pane, click Site Information.

    4. In the Site Information section, obtain the required host information.

      SectionDescription
      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.
  2. 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:

    Important

    If the DedeCMS package you downloaded contains multiple folders, such as docs and uploads, you only need to upload the contents of the uploads folder. Do not upload the uploads folder itself.

  3. Install DedeCMS.

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

    2. Optional: If you are using a temporary domain name, enter the required information on the verification page and click Confirm Access.

    3. 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.

    4. 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.

    5. Configure the website information and click Continue.

      The Parameter Configuration page includes three sections: Database settings, Initial administrator password, and Website settings.

      Important

      In this example, because utf8mb4 is 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.