1. preparations before migration: 1. the administrator enters the background and selects "yes" for "site closure" in "global"; 2. updates the cache in "tools, all the hooks are checked and all the caches are updated in the UCenter. 3. Data Backup: "webmaster"-Discuz in the database! And all UCenter data backup, as well as entering the UCenter also all backup 1. preparations before migration:
1. log on to the background as an administrator and select "yes" for "site closure" in "global ";
2. update the cache in the "tool", check all the hooks, and update all the caches in the UCenter;
3. Data Backup: "webmaster"-Discuz in the database! Back up all the data with UCenter, and back up all the data in UCenter just in case;
4. Pass PhpmyadminDatabase management, export Database SQL files, and complete backup
(Note: You can delete all the previous backup files before the backup, so that you can know which one is the latest backup. generally, after the backup is completed, there is a backup_1c9 C9 and backup_111208_nYSEUo folder under the DATA Directory, only the best two are retained .)
II, DiscuzX2.5Specific migration method:
1. in the original space management, the whole site is compressed and downloaded to the local device.
2. Upload the compressed package to the new space and decompress the package online (if there is no online decompression function, it is a cup. Generally, the website has several hundred m gb and a single file is uploaded, which is too slow ).
3. use phpmyadmin to import the database (if the database is too large to operate on the size limit of the imported files, you can use the database management software SQLyog_Enterprise ).
4. modify the database connection information. modify the file as follows:
/Config/config_global.php
/Config/config_ucenter.php
/Uc_server/data/config. inc. php
5. log on to admin. php in the management background, update the website cache, and check whether the website is properly displayed.
If a problem occurs after migration, you can try another discuz migration method: install the latest program in the new space, restore data in the background, upload attachment files, and upload plug-ins.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service