ข้ามไปที่เนื้อหาหลัก

ติดตั้ง ใช้งาน WordPress บน Ubuntu Server 12.04 LTS อย่างง่ายๆ

Wordpress เป็น Open Source สำหรับการบริหารจัดการเนื้อหาบนเว็บไซต์ ที่เป็นที่นิยมอย่างมาก เพราะติดตั้งง่ายๆ ใช้งาน จึงเหมาะสำหรับผู้เริ่มใช้งาน เพื่อทำเว็บไซต์ที่เป็นบล๊อก สำหรับการติตั้งอัตโนมัต

Step 1. ติดตั้ง LAMP server บน ubuntu server ส่วนใหญ่จะได้รับการติดตั้งแล้ว Apache, mysql ถ้ายังไม่ติดตั้งก็ใช้คำสั่ง ดังนี้ sudo apt-get install lamp-server แล้วทำการคอนฟิกค่าตั้งจะไม่ขอกล่าวในนี้
Step 2. โหลด Wordpress มาติดตั้ง แล้วทำการติดตั้ง ด้วยคำสังนี้ sudo apt-get install wordpress
Step 3. ใช้คำสั่งดังต่อไปนี้ sudo ln -s /usr/share/wordpress /var/www/wordpress
Step 4. พิมพ์คำสั่ง sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress localhost และ sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n
Step 5. พิมพ์คำสั่ง chown -R www-data /usr/share/wordpress

 สำหรับการติดตั้งเอง
 $sudo -i wget -O wordpress.tar.gz http://wordpress.org/latest.tar.gz
 $tar -zxvf wordpress.tar.gz cd wordpress
$cp -R wordpress /var/www chown -R www-data /var/www/wordpress

$mysql -u root -p

mysql>CREATE DATABASE dbwordpress;
mysql>CREATE USER wordpressuser;
mysql>SET PASSWORD FOR wordpressuser = PASSWORD("wppassword");
mysql>GRANT ALL PRIVILEGES ON dbwordpress.* TO wordpressuser@localhost IDENTIFIED BY ‘wppassword’;
mysql>FLUSH PRIVILEGES;
เป็นอันเสร็จสินการติดตั้งใช้ได้ โดย เปิด browser พิมพ์ localhost/wordpress

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

Anvil แฟลต์ฟอร์ม สำหรับ Python Full Stack มีครบ จบในเครื่องมือเดียว

Anvil แฟลต์ฟอร์ม สำหรับ Python Full Stack มีครบ จบในเครื่องมือเดียว Avil เป็นแฟลต์ฟอร์มสำหรับสร้างเว็บแอพลิเคชั่น ด้วยภาษา python สามารถใช้งานทั้ง HTML CSS JavaScript SQL ทั้งหมดนี้รวมในเครื่องมือที่ชื่อว่า Anvil Python ใช้สำหรับรันบนบราวเซอร์ เซอร์เวิรส์ และสร้าง UI ด้วยวิธีการ Drag-and-Drop เพียงลากวาง UK และยังสามารถเชื่อมต่อและใช้งาน Database  และยังสามารถ Integration กับแฟลต์ฟอร์มอื่นๆ ได้อีกด้วย โครงสร้างของ Anvil  การออกแบบง่ายๆ ด้วย drag-and-drop ใช้ python เป็น client-side และรันบน บราวเซอร์ Server-side รันบน Anvil Server สามารถใช้ Database ต่างๆ เพื่อเก็บข้อมูล สามารถรัน python บนเครื่องและตอบโต้กับแอปพลิเคขั่นไดด้

SaaS API-Base Definition, Benefits, Challenges, Problems and Goal for Innovation

What is an Application Programming Interface? API is a set of protocols, standards, and tools that allow two or more software applications to connect and share specific data. API  What is API-Base Saas? API-based SaaS is a software application hosted in the cloud. Users and other programs can access the software’s features, data, and functions via an API instead of a user interface. API refers to the software delivery model as a SaaS Application's functionalist and features are exposed and made to customers through APIs. This combination of the business model of technology on a cloud-base.   This is an integration Service on the cloud provider The Benefits of API-Base SaaS User Experience  Simplifies Development  Increases Accessibility Flexible and Scalable  The Challenges of API-Base SaaS Startup Performance  Integration  Security Pricing What’s The Difference Between SaaS And An API? RPC APIs.  WebSocket APIs. SOAP APIs. REST APIs. The Too...

TomCat7 สำหรับติดตั้ง แก้ไข คอนฟิก ใช้งาน JSP

Apache Tomcat เป็น  HTTP Server ที่มีความสามารถนำภาษาจาวามาใช้งานได้  สามารถใช้เทคโนโลยีของภาษาจาวาที่เรียกว่า Java Servlet  และ Java Server Page (JSP)  Tomcat เป็นโปรแกรม Open-Source  อยู่ภายใต้การดูแลของ Apache Software Foundation  (ซึ่งเป็นผู้สร้าง Apache HTTP Server ที่เป็นที่นิยมใช้กันอย่างแพร่หลาย)  สามารถอ่านรายละเอียดของ Tomcat ได้ที่  http://tomcat.apache.org  โดยเลือกหัวข้อ “ Documentation”  และเลือก “Tomcat 7.0” ขั้นตอนการติดตั้ง Tomcat เรียงลำดับดังนี้