Home>Article>CMS Tutorial> 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.
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.
Fill in the relevant local database information
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
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 thededecms usage tutorialcolumn!
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!