EmpireCMS is a powerful, easy-to-use, and efficient website management system for building personal applications and enterprise websites. This topic describes how to install the open-source EmpireCMS 7.5 on a Linux-based exclusive virtual hosting instance (Deluxe Enhanced Edition).
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, such as the recommended FileZilla. For more information, see Manage website files with FileZilla.
- You have prepared a domain name.
- If you have not registered a domain name or your domain name has not passed verification, 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, you must first bind it to your Web Hosting instance. For more information, see Bind a domain name.
-
You have downloaded the open-source EmpireCMS 7.5 installation package. You can download it from the EmpireCMS official website.
Procedure
EmpireCMS 7.5 requires PHP version 4.2.3 or later, but earlier than 8.0. Therefore, you must verify your Web Hosting instance's PHP version before installation.
-
Verify and set the PHP version for your Web Hosting instance.
-
Log on to the Web Hosting console.
-
Find your Web Hosting instance and click Manage in the Actions column.
-
In the left-side navigation pane, choose .
The page displays a list of available PHP versions, from PHP 5.2 to PHP 8.0. Select a version that meets the EmpireCMS requirements.
-
If the current PHP version does not meet the requirements, select a supported version and click Save Settings.
ImportantWhen you use PHP 5.3 or later, you must set the MySQL encryption mode to 41-bit. For more information about how to configure 41-bit encryption, see Reset the database password for a Web Hosting instance.
-
-
Obtain host information.
-
In the left-side navigation pane, click Site Information.
-
In the Site Information section, record the host information required for installation.
The Site Information page includes sections such as server monitoring, website information, account information, and database information. Record the key information in the following three sections.
Section
Description
①
Temporary domain name.
②
FTP login address, FTP username, and login password, used to log on to your FTP client.
③
Database name, database endpoint, database username, and database password, used to configure your website.
-
-
Use an FTP client to upload the contents of the upload directory from the downloaded EmpireCMS package.
The web root directory for a Linux-based Web Hosting instance is /htdocs. You must upload the installation files to this directory.Choose an upload method based on the package size:
- If the installation package is small, you can upload the files directly. For more information, see Upload website files to a Linux-based Web Hosting instance.
- If the installation package is large, first compress the files and upload the package to the Web Hosting instance. Then, decompress the package in the Web Hosting console. For more information, see Compress and upload website files.
ImportantUpload the contents of the upload directory, not the directory itself.
-
Install EmpireCMS.
-
In the address bar of your browser, enter http://your_domain_name/e/install/index.php and press Enter.
-
Read the license agreement and click I Agree.
The installer displays the Empire CMS User License Agreement page.
-
Review the environment information detected by the installer and click Next.
The environment check page displays the results for the operating system, PHP version, MySQL support, PHP safe mode, GD library, and data collection functions. You can proceed with the installation after all checks are passed.
-
Review the file permission settings and click Next.
The file permission settings page lists the permission status for required directories and files, such as the root directory, attachment directory, cache directory, and configuration files. Make sure all items show as passed.
-
Configure the database information and click Next.
On the database configuration page, leave the MYSQL Interface Type set to its default, mysqli, and ensure the MYSQL Version is MYSQL 5.* or later. Keep the default values for other options, such as Table Prefix (phome_) and COOKIE Prefix.
The main parameters are described in the following table.
Parameter
Description
Database Server
Enter the database endpoint obtained in Step 2.
Database Username
Enter the database username obtained in Step 2.
Database Password
If you forget the password, you can reset it. For more information, see Reset the database password for a Web Hosting instance.
Database Name
Enter the database name obtained in Step 2.
-
Set the administrator information and click Next.
The administrator account settings page includes fields for Username (default: admin), Password (case-sensitive), Confirm Password, and Login Authentication Code (optional).
-
Results
EmpireCMS is installed successfully.
After the installation is complete, immediately delete the /e/install directory to prevent reinstallation. You can then click Go to Backend Control Panel to manage your website.
Enter your domain name in the browser address bar to access your website.
The default EmpireCMS homepage includes categories such as News, Images, and Videos, and modules such as Latest Updates, Recommended, and Popular Clicks.
Next steps
After installing EmpireCMS, you can:
-
Log on to the backend control panel to deploy modules or configure system settings. For more information about how to use EmpireCMS, see the EmpireCMS official website.
-
To set the default homepage, configure a 404 error page, or enable PHP functions, log on to the host management console. For more information, see Host management console overview.