การติดตั้ง Wordpress MU ที่ hostgator

เริ่มโดย kazama, 18 มกราคม 2010, 00:32:12

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

kazama

เครดิตกระทู้นี้ที่ wordthai ครับ  :wanwan019:  http://www.wordthai.com/index.php?topic=1676.0

หลังจาก login เข้า cpanel จะเป็นหน้าจอแบบนี้

ไปที่ส่วน Database แล้วเลือก icon แรก  MySQL Database

ใส่ชื่อ Database ที่เราต้องการจะใช้กับเว็บ wpmu ของเรา  แล้วกด Create Database

เสร็จแล้ว 
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

สร้าง user ให้กับ Database ที่เราจะใช้ รวมทั้งใส่่ password ด้วย

สร้าง user เสร็จแล้ว

กด add user เข้ากับ database ที่เราจะใช้

จะเข้าหน้าจอให้ตั้งค่าสิทธิของ user เรากับ database ก็เลือกทั้งหมด แล้วกด make change
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

#2
ทำการ add user เข้ากับ database แล้ว

กลับไปหน้าจอหลัก MySQL Database จะเห็นว่า user ถูกเพิ่มใน database แล้ว

แล้วกลับไปที่หน้าจอกหลัก Cpanel ไปที่ส่วน Domains แล้วเลือก Subdomains

ใส่เครื่องหมาย "*" ตรง subdomain แล้ว dropdown box ด้านหลัง ให้เลือกโดเมนที่เราต้องการสร้าง wpmu แล้วกด Create
หมายเหตุ  ใส่ * ในกรณีที่เราต้องการให้เว็บ wpmu ของเราสร้าง blog ใหม่ที่ subdomain ไม่ใช่ subdirecotry
ถ้าต้องการสร้างบล็อกใหม่ที่ subdirectory สามารถข้ามขั้นตอนที่ subdomains ได้
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

เพิ่ม * เป็น subdomain สำหรับเว็บ wpmu ของเราสำเร็จแล้ว

โฮสท์ได้ทำการเพิ่ม subdomain * ของเว็บเราแล้ว  ตรวจดูว่าเราใส่ subdomain ให้ถูกโดเมนที่เราจะใช้

เท่านี้ก็เสร็จขั้นตอนตั้งค่าสำหรับการสร้าง wpmu สำหรับ subdomain แล้ว
ต่อไปก็โหลดไฟล์ขึ้นโฮสท์  ไหน ๆ อยู่ใน cpanel แล้วผมก็ใช้ file manager เลย

กด go เข้าไปยัง domain ที่เราต้องการ
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

หน้าจอหลัก file manage กดที่ upload

กด browser หรือ เรียกดู

เลือกไฟล์ zip ที่โหลดมาจาก mu.wordpress.org/download จะเป็นไฟล์ wpmu รุ่นล่าสุด

โหลดเสร็จแล้ว กด Extract  เพื่อแตกไฟล์ zip
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

เลือก path ของไฟล์ที่แตก zip ออกมาจะไปอยู่

รายชื่อไฟล์ในไฟล์ zip

จะได้ folder wordpress-mu

ให้เข้าไปใน folder wordpress-mu แล้วเลือกไฟล์ทั้งหมด แล้วกด Move file
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

เลือก path ที่เราจะย้าย ไฟล์ ไป  แล้วกด move file

ไฟล์จะถูกย้ายมายัง path ที่เราต้องการแล้ว

เข้าไปยังหน้าเว็บที่เราต้องการ  ก็จะเจอกับหน้าติดตั้ง

เลื่อนหน้าจอลงมา  จะเจอกับข้อมูลที่ต้องใส่เพื่อติดตั้ง  wpmu
ให้เราใส่ข้อมูลที่เราตั้งค่าไว้ใน MySQL Database
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

เลื่อนลงมาล่างสุดจะเจอ Site Details ให้ใส่ข้อมูลของเว็บที่เราจะทำการติดตั้ง  แล้วกด submit

การติดตั้งเสร็จแล้ว  ให้เราเก็บ password ที่ได้จากหน้านี้ไว้ แล้วกด Log In

ใช้ข้อมูล password ที่เราเก็บไว้มาใส่ในการ login ซึ่งเราสามารถเปลี่ยน password นี้ได้ภายหลัง

ก็จะเข้าสู่หน้าจอจัดการของ wpmu
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

ไปที่ Site Admin>Blogs เราจะลองทำการสร้าง blog เพื่อดูผลว่าใช้ได้หรือไม่  ผมทำการสร้าง blog ที่ชื่อว่า blog   :P

เสร็จแล้ว

ไปที่ blog ย่อยที่ทำเพิ่งทำการสร้าง  เพื่อดูผลว่าเราสามารถสร้าง blog ที่ subdomain ได้หรือไม่
ซึ่งก็แสดงผลออกมาเรียบร้อยดี  แปลว่าการติดตั้งเสร็จแล้ว

และนี่คือหน้าเว็บหลัก ของ wpmu ที่คุณเพิ่งทำการสร้างขึ้น   Enjoy Blogging  :)
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

เสร็จแล้วเราจะทำการลงภาษาไทยเพื่อให้สะดวกกับผู้ใช้
ไปที่ http://svn.automattic.com/wordpress-i18n/th/mu/  เพื่อทำการโหลดไฟล์ภาษาไทย
เลือกรุ่น wpmu ที่ตรงกับของเราไม่ก็ไฟล์ภาษาล่าสุด  ผมยังไม่ได้แปล wpmu 2.9.1 ครับ  :P

เข้าไปรุ่นที่ต้องการแล้วเลือก

โหลดไฟล์ th.mo

เสร็จแล้ว เข้า ftp ไปที่เว็บของคุณ  เข้าไปใน wp-content แล้วทำการสร้าง folder languages
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

kazama

นำไฟล์ th.mo ที่เพิ่งโหลดมาเข้าไปใส่ไว้ใน folder languages ที่เพิ่งสร้าง

เข้าไปที่ Site Admin>Options จะเห็นว่ามีให้เลือกภาษาสำหรับบล็อกทั้งหมด  เลือกภาษาแล้ว update option เพื่อทำการเปลี่ยนภาษาในบล็อกทั้งหมด

ลองโหลดไฟล์ภาษาอื่น  ผมลองโหลดไฟล์ภาษาฝรั่งเศสเข้าไปไว้ใน folder languages ก็มีขึ้นให้เลือกทันที

ถ้าต้องการเปลี่ยนภาษาที่บล็อกหลักให้เข้าไปที่ Settings>General เลือกภาษาที่ต้องการแล้วกด save changes

หน้าจอควบคุมของบล็อกหลักก็จะเปลี่ยนเป็นภาษาที่เราได้ทำการเลือก
[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

pigdoll

+1  สอนได้เยี่ยมมากครับ แจ่มแจ้ง   :wanwan017:

qoo

เป็นข้อมูลสอนการติดตั้ง Wordpress MU ที่ hostgator ที่ละเอียดสุดยอดครับ +1

kingkong701


kazama

[direct=http://www.thaiseoboard.com/index.php/topic,335195.0.html]**** link ****[/direct]


[direct=http://wordthai.com]wordpress[/direct]  [direct=http://codex.wordthai.com]คู่มือเวิร์ดเพรส[/direct][direct=http://thaika.com]Thaika[/direct] [direct=http://blog.wordthai.com]รักคนอ่าน[/direct]

hooking


EasyChill

ละเอียดมากๆ
กำลังอยากรู้เลย +1

ขอบคุณครับ  :wanwan017:

wat

"เริ่มจากเรื่องที่รัก เลือกสิ่งที่ถนัด ก่อนที่จะทุ่มให้สุดหัวใจ ใส่พลังลงไปให้สุดแรง"

คนหยามเหยียดสักเท่าไหร่ แต่สำคัญที่ว่าคุณสู้จริงหรือเปล่า

PornClip



ขอบคุณมากๆๆๆๆๆๆ  คับ


แต่ถ้าลง WPMU แล้วมีสิทธิ์โดนแตะออกมั้ยคับ


pigdoll

มีวิธีทำให้ db ไม่บวมมั้ยครับ  :P