Website

Website

ข่าวและบทความที่เกี่ยวข้อง

All Website

PostType Filter En

บทความ

สร้างเว็บไซต์ด้วย WordPress ฉบับประหยัดใน 3 ขั้นตอน
ทำไมต้อง WordPress กันนะ การมีเว็บไซต์เรามักจะคำนึงว่าจะต้องเสียค่าใช้จ่ายอะไรบ้าง จะต้องไปจ้างบริษัทจัดทำเว็บไซต์ที่ไหนดี ถ้าต้องการทำเพื่อเพิ่มความน่าเชื่อถือ เช่น เว็บไซต์ขายของออนไลน์, เว็บไซต์รวบรวมความรู้, เว็บไซต์โปรไฟล์และผลงานตัวเอง เป็นต้น โดยบทความนี้จะช่วยเริ่มต้นการทำเว็บไซต์อย่างง่ายโดยที่ไม่ต้องเสียค่าใช้จ่ายในการทำเว็บแพง ๆ และอาจจะตรงกับความต้องการของเราด้วยซ้ำ! ด้วยการใช้ Software ที่เรียกว่า WordPress เป็นเครื่องมือที่สามารถบริหารจัดการเนื้อหาบนเว็บไซต์ แถมยังมี Template ให้สามารถ Download มาทำเว็บไซต์สวย ๆ ได้อีกด้วย  องค์ประกอบของ WordPress จะประกอบไปด้วย 3 ส่วนคือ มาติดตั้งกันเลย วิธีการติดตั้ง จะสามารถติดตั้งได้ที่เครื่อง localhost หรือจะเป็นการซื้อ Hosting (เป็นการซื้อพื้นที่ไว้สำหรับวางเว็บไซต์ ตรงส่วนนี้จะมาแนะนำอีกครั้ง อย่าลืมติดตามกันนะ) ในตัวอย่างนี้จะเป็นการติดตั้งไว้ที่เครื่อง localhost หรือเครื่องคอมของเราเอง ในการทดสอบนี้จะทำการติดตั้งโดยระบบ Windows 11 ขั้นตอนที่ 1 ติดตั้งโปรแกรม Xampp ติดตั้ง Xampp โดย Download ที่ https://www.apachefriends.org/download.html เลือก version ล่าสุด (ตอนที่เขียนบทความนี้จะเป็น version 8.0.25) เราจะติดตั้งเพื่อทำให้คอมพิวเตอร์ของเราเป็น Server นั่นเอง เมื่อ Download เรียบร้อยแล้ว ให้ทำการติดตั้งโปรแกรม เมื่อทำการติดตั้งเรียบร้อยแล้วให้ไปที่ช่อง search แล้วค้นหา “xampp control panel” ให้คลิก run ตัวโปรแกรม จะได้ขึ้นแสดงให้ start ระบบต่าง ๆ ตามรูปด้านล่าง เมื่อได้หน้าจอดังรูปทำการ Start Module ดังนี้ Apache, MySQL เมื่อทำการ Restart สำเร็จ ให้ทดสอบโดยการเข้า Browser แล้วพิมพ์ localhost จะขึ้นดังรูปแสดงว่าเป็นอันใช้ได้ ให้คลิกไปที่เมนูด้านบนที่ชื่อว่า phpMyAdmin ขั้นตอนที่ 2 สร้าง Database ให้สร้างฐานข้อมูลซึ่งคลิกที่เมนู Database จากนั้นให้ใส่ข้อมูลด้านล่างเพื่อ Create Database ให้ตั้งชื่ออะไรก็ได้และช่องถัดมาจะให้เลือก utf8_general_ci คลิก Create ปุ่มด้านข้าง เมื่อสร้างสำเร็จจะยังไม่มีข้อมูลอะไรเพราะเรายังไม่ได้ทำการติดตั้งให้ทำขั้นตอนต่อไป ทำการ Download โดยเข้าไปที่ https://wordpress.org/download/  ให้เมื่อ Download เสร็จแล้วให้แตกไฟล์ และนำไฟล์ไปใส่ที่ Path: C:\xampp\htdocs ที่เราได้วาง Xampp ไว้ ขั้นตอนที่ 3 ทำการติดตั้ง WordPress เมื่อเอาไฟล์มาใส่แล้วให้ไปที่ Browser แล้วพิมพ์ใน URL เป็น localhost/(ชื่อ Folder ที่สร้างไว้) ในตัวอย่างนี้จะใส่เป็น localhost/wordpress ให้ enter เพื่อเข้าสู่ขั้นตอนในการติดตั้งโปรแกรม ให้เลือกภาษาที่ต้องการติดตั้งบนเว็บไซต์ คลิก Next เพื่อไปขั้นตอนต่อไป คลิกเริ่มทำงานได้ ในหน้านี้จะเป็นใส่รายละเอียดของ Database ที่เราได้สร้างไว้ที่ข้อ 5 ดังนี้  เมื่อกรอกเสร็จแล้วให้คลิกส่งได้เลย ให้เริ่มการติดตั้งต่อไปได้เลยถ้าขึ้นแบบนี้ แสดงว่าชื่อ Database และการเข้าใช้งานของ Database ถูกต้อง ระบบจะพามาหน้าใส่รายละเอียดเว็บไซต์ ตรงส่วนนี้ให้กรอกรายละเอียดต่าง ๆ ลงไปตามที่เราต้องการได้เลย เมื่อกรอกเสร็จ อย่าลืมจดจำ Username และ Password ไว้ด้วย เพราะรายละเอียดการเข้าสู่ระบบจะต้องนำไประบบหลังบ้านที่สามารถจัดการ Content ต่าง ๆ ได้ เมื่อติดตั้งสำเร็จระบบจะแสดงหน้าให้เข้าไป Login เพื่อจัดการ Content เราลองมาเข้าสู่ระบบกัน จะได้ดังภาพนี้ จะแสดงถึงว่าเราเข้าสู่ระบบเพื่อจัดการ Content และ Plugin ต่าง ๆ ได้แล้ว เราสามารถเข้าไปดูหน้าเว็บเราได้ โดยคลิกไปที่ รูปบ้านด้านบน เพื่อไปดูการแสดงผลที่เราได้ทำหลังบ้านไป หน้าบ้านจะแสดงผลดังรูปนี้ เพราะเรายังไม่ได้ใส่ข้อมูลลงไป นี่เป็นแค่ตอนแรกของ WordPress เท่านั้น เป็นยังไงกันบ้าง เพียง 3 ขั้นตอนของบทความนี้จะเป็นการเริ่มต้นตอนแรกกับการทำเว็บด้วย WordPress เท่านั้น ตอนต่อไป ผู้เขียนจะมาเขียนต่อเกี่ยวกับการแก้ไขและแนะนำ Plugin ที่จำเป็นต่าง ๆ ให้กับเว็บไซต์ของเรา อย่าลืมติดตามกันตอนต่อไปกันนะ เนื้อหาโดย มินตรา สีสังข์ตรวจทานและปรับปรุงโดย นนทวิทย์ ชีวเรืองโรจน์
27 February 2023

บทความ

ดึงข้อมูลจากเว็บไซต์ (Data Scraping) ด้วย Python Part 3 : Scraping ข้อมูลลึกไปอีกขั้น
วิธีทำ automation ดึงข้อมูลจากเว็บไซต์ (web scraping) โดยใช้ Python
8 June 2020

บทความ

ดึงข้อมูลจากเว็บไซต์ (Data Scraping) ด้วย Python Part 2 : Scrape HTML โดยใช้ Python
วิธีทำ automation ดึงข้อมูลจากเว็บไซต์ (web scraping) โดยใช้ Python
29 April 2020

บทความ

ดึงข้อมูลจากเว็บไซต์ (Data Scraping) ด้วย Python Part 1 : สำรวจ ตรวจตรา ดู Data Source
วิธีทำ automation ดึงข้อมูลจากเว็บไซต์ (web scraping) โดยใช้ Python
22 April 2020
PDPA Icon

We use cookies to optimize your browsing experience and improve our website’s performance. Learn more at our Privacy Policy and adjust your cookie settings at Settings

Privacy Preferences

You can choose your cookie settings by turning on/off each type of cookie as needed, except for necessary cookies.

Accept all
Manage Consent Preferences
  • Strictly Necessary Cookies
    Always Active

    This type of cookie is essential for providing services on the website of the Personal Data Protection Committee Office, allowing you to access various parts of the site. It also helps remember information you have previously provided through the website. Disabling this type of cookie will result in your inability to use key services of the Personal Data Protection Committee Office that require cookies to function.
    Cookies Details

  • Performance Cookies

    This type of cookie helps the Big Data Institute (Public Organization) understand user interactions with its website services, including which pages or areas of the site are most popular, as well as analyze other related data. The Big Data Institute (Public Organization) also uses this information to improve website performance and gain a better understanding of user behavior. Although the data collected by these cookies is non-identifiable and used solely for statistical analysis, disabling them will prevent the Big Data Institute (Public Organization) from knowing the number of website visitors and from evaluating the quality of its services.

  • Functional Cookies

    This type of cookie enables the Big Data Institute (Public Organization)’s website to remember the choices you have made and deliver enhanced features and content tailored to your usage. For example, it can remember your username or changes you have made to font sizes or other customizable settings on the page. Disabling these cookies may result in the website not functioning properly.

  • Targeting Cookies

    "This type of cookie helps the Big Data Institute (Public Organization) understand user interactions with its website services, including which pages or areas of the site are most popular, as well as analyze other related data. The Big Data Institute (Public Organization) also uses this information to improve website performance and gain a better understanding of user behavior. Although the data collected by these cookies is non-identifiable and used solely for statistical analysis, disabling them will prevent the Big Data Institute (Public Organization) from knowing the number of website visitors and from evaluating the quality of its services.

Save settings
This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.