Install Z-BlogPHP
This topic describes how to install Z-BlogPHP 1.6 Valyria on a Linux-based Cloud Web Hosting instance with the Standard Enhanced plan.
Prerequisites
- You have purchased and initialized a Cloud Web Hosting instance. For more information, see Purchase a Cloud Web Hosting instance.
- You have an FTP client installed. We recommend FileZilla. For more information, see Manage website program files with FileZilla.
- You have a domain name ready for your website.
- If you do not have a registered and verified domain name, 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, first bind it to your Cloud Web Hosting instance. For more information, see Bind a domain name.
You have downloaded the Z-BlogPHP 1.6 Valyria installer from the Z-Blog official website.
Procedure
Obtain host information.
Log on to the Cloud Web Hosting console.
Find the Cloud Web Hosting instance where you want to install Z-BlogPHP and click Manage in the Actions column.
In the left-side navigation pane, click Site Information.
In the Site Information section, obtain the host information required for the installation.
On the Site Information page, find the following key information: ① a temporary domain name; ② FTP login information, including FTP login username, FTP login password, and FTP login host address; and ③ database information, including database name, database username, database password, and database connection string.
Use an FTP client to upload the Z-BlogPHP installer.
The web root directory for Linux Cloud Web Hosting is /htdocs. Please upload the installer to this directory.
Choose an upload method based on the installer size:
- If the installer is small, you can upload the program files directly. For more information, see Upload website files to a Linux-based Cloud Web Hosting instance.
- If the installer is large, compress it before you upload it to the Cloud Web Hosting instance. Then, decompress the file in the Cloud Web Hosting console. For more information, see Compress and upload website files.
After the upload and decompression are complete, the program files appear in the /htdocs directory.
Install Z-BlogPHP.
Open a browser and access your domain name.
Optional: If you use the temporary domain name, on the verification page, enter the required information and click Confirm Access.
Read the installation agreement, select I have read and agree to the agreement, and click Next.
NoteThe Z-Blog installer uses Simplified Chinese by default. To select a different language, choose one from the Language drop-down list.
Review the environment information detected by the installer and click Next.
The environment check page displays the results of checks for the server environment, component support, permissions, and functions. Confirm that all checks have passed before you continue.
Configure the database information and click Next.
On the database configuration page, enter the database connection and website administrator information.
The following table describes the key parameters.
Parameter
Description
database address
Enter the database connection string. To obtain this value, see step 1.
database name
Enter the database name. To obtain this value, see step 1.
database username
Enter the database username. To obtain this value, see step 1.
database password
If you forget the password, you can reset it. For more information, see Reset the Cloud Web Hosting database password.
Administrator name
Set the administrator username for logging on to the website backend.
login password
Set the initial password that the administrator uses to log on to the website backend.
Result
After installing Z-BlogPHP, click Finish. The page redirects to your website homepage.
Next steps
Log on to the Z-Blog website backend to deploy modules, configure system settings, or perform other administrative tasks. For more information about how to use Z-Blog, see the Z-Blog official website.
Log on to the Cloud Web Hosting console to set the default homepage, configure a 404 error page, or enable PHP functions. For more information, see Overview of the Cloud Web Hosting console.