Home >CMS Tutorial >DEDECMS >How to install dedecms on this machine as a server

How to install dedecms on this machine as a server

藏色散人
藏色散人Original
2019-07-27 10:57:072001browse

How to install dedecms on this machine as a server

How to install dedecms on this machine as a server

1. Install the configuration environment of the local server

2. Unzip the downloaded DedeCMS template and copy the template information to the root directory of the local website, such as D:\wamp\www

3. In the decompressed file, find the relevant installation files , the general directory is install/install_lock.txt, delete this file to avoid repeated installation.

How to install dedecms on this machine as a server

Copy the template information to the root directory of the local website

4. Click the browser to enter the installation path to install, such as http://localhost/install/ index.php

During the installation process, it should be noted that the general template site installation requires two installation programs, index.php and module-install.php. If the template program is renamed to prevent repeated installation, you need to Change these two sites to .php suffix, otherwise the website will not be installed properly.

5. Follow the prompts to install normally, fill in the relevant local database information, click Finish, and enter the background to log in. The database password is set during the local server installation.

How to install dedecms on this machine as a server

Fill in the relevant local database information

How to install dedecms on this machine as a server

Installation successful

6. Enter the background, The database needs to be restored. Click the main menu》》》SQL Command Line Tool》》》Data Restore》》》Start restoring data

How to install dedecms on this machine as a server

Restore data

7. After restoring the database, Log in to the template site backend again, and in the system settings, set the website site to the address of the local server, such as http://localhost, and then update all the website data, clear all data caches, update all columns and homepages, and update all document.

All the installation steps are basically completed. At this time, all the code and information of the website can be installed and debugged locally. After debugging the website without any problems, you can upload the website to a Hong Kong virtual host or independent server, perform domain name resolution, and complete the launch.

For more dedecms technical articles, please visit the dedecms usage tutorial column!

The above is the detailed content of How to install dedecms on this machine as a server. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn