- เครดิต
- 21
- เพื่อน
- ทักทาย
- บล็อก
- อัลบั้ม
- โพสต์
- กระทู้
- แชร์
- สำคัญ
- สิทธิ์อ่าน
- 10
- จำนวนผู้ติดตาม
- จำนวนผู้กำลังติดตาม
- เพศ
- ไม่บอก
|
แก้ไขครั้งสุดท้ายโดย theztru เมื่อ 2011-6-1 04:04
Discuz! X1.5 to Discuz! X2 upgrade
--------------
Read Me
--------------
1. เพื่อป้องกันความผิดพลาด กรุณา backup ข้อมูลก่อนอัพเดท
2. ต้องมีไฟล์ update.php โดยไฟล์นี้จะต้องอัพโหลดไว้บน install directory
3. บาง Plug in ของ Discuz! X1.5 จะใช้ไม่ได้ ต้องอัพเกรดเอาเองต่างหาก
4. อัพเกรด เสร็จแล้ว ต้องลบไฟล์ update.php ด้วย
5. ก่อนจะอัพเกรด ควรจะปิด Plug in ให้หมด แล้วคืนธีมเป็น Default
6. จะต้องอัพเกรด Ucenter เป็น 1.6 ด้วย
---------------------------------------
ขั้นตอนการอัพเกรด
---------------------------------------
1. download Discuz! X2 official version to local or server
Download: http://forum.discuzthai.com/foru ... id=25143&page=1
แตกไฟล์แล้วจะได้
*---------ไฟล์ที่จะอัพเกรด อยู่ใน folder upload
*--------- ส่วนตัว update.php อยู่ใน folder utility
2. ปิดเว็บก่อน โดยไปที่
Administrator Login Site by background => Global => Site Information => Forum Close: Select the "Yes", as shown:
3. สำรองข้อมูล
ndependent host directly to the MySQL data directory copy of a current Discuz! X1.5 version of the database used to, remember to stop the MySQL service before the copy, which will cause damage to the backup data.
Virtual Host users recommend backup directly on the site background, with the administrator login Discuz! X1.5 background => Webmaster => Database => Backup: Recommended backup "all sites data", as shown:
แล้วก็สำรองข้อมูล ของ Ucenter
UCenter the background of all data in the backup, if it is independent of the host directly to MySQL's data directory of all current applications, respectively, a copy of the database used to, remember to stop MySQL service before the copy, which will cause damage to the backup data.
Virtual Host users log UCenter background => data backup, as shown below:
โดยไฟล์ของ Ucenter ที่สำรองแล้ว จะอยู่ที่
In UCenter directory data / backup /, the directory name of the form backup_110505_avA272
4.สำรองข้อมูลของไฟล์บนเว็บ เช่นพวก avatar
5.ถ้าสำรองไฟล์เรียบร้อยแล้ว upload Discuz! X2 ขึ้นไปบนโฮส ทับไฟล์เก่า
6.Set Chmod 777 folder บน Host ด้วย
. / Config / config_global.php
. / Config / config_ucenter.php
. / Config
. / Data
. / Data / avatar
. / Data / imagecache
. / Data / plugindata
. / Data / sysdata
. / Data / request
. / Data / template
. / Data / threadcache
. / Data / attachment
. / Data / attachment / album
. / Data / attachment / forum
. / Data / attachment / group
. / Data / log
. / Uc_client / data / cache
. / Uc_server / data /
. / Uc_server / data / cache
. / Uc_server / data / avatar
. / Uc_server / data / backup
. / Uc_server / data / logs
. / Uc_server / data / tmp
. / Uc_server / data / view
----------------------------------------------
อัพเกรด Ucenter จาก 1.5.1 ---------- > ไปเป็น 1.6.0
(เดี๊ยวมาเขียนวิธีอัพเกรดวันหลังครับ)
----------------------------------------------
หลังจากที่อัพไฟล์ขึ้น server เรียบร้อย ต่อไปก็เข้าสู่ขั้นตอนอัพเกรด 1.5--->2.0
7. อัพไฟล์ update.php ขึ้นบนที่เดียวกับ install directory
8. รันคำสั่งอัพเดท http://www.domain.com/install/update.php start the upgrade (which http://www.domain.com access address for your site)
9.Click on the "ready, begin to upgrade" link to upgrade.
10. start the upgrade
11.All the upgrade process automatically, without manual operation, you just wait on it.
delete the database structure
You can choose to delete superfluous compared to the standard database tables and fields of data, you can ignore the extra tables and fields.
12, complete the upgrade
Click on the "direct access to the next step" to complete the upgrade, make sure that if you want to restore the default style?
As shown below:
--------------------------------------------
****หลังจากอัพเดทแล้ว ควร update cache ด้วย
***** ลบไฟล์ install / update.php เพื่อความปลอดภัยของเว็บไซต์
ดูแบบไฟล์ youtube ได้ที่นี้ครับ ------->
http://forum.discuzthai.com/forum.php?mod=viewthread&tid=26664&page=1
------------------------------------------------------
แปลมาจาก http://www.discuz.net/thread-2141470-1-1.html ครับ |
คะแนน
-
ดูบันทึกคะแนน
|
|
|
|
|
|