มี 475 บุคคลทั่วไป ออนไลน์

พื้นฐานการทำเว็บไซต์
การติดตั้ง xampp บน ubuntu PDF พิมพ์ อีเมล
( 1 Vote )
เขียนโดย Administrator   
วันเสาร์ที่ 10 เมษายน 2010 เวลา 12:27 น.

ก่อนอื่นก็เข้าไปดาวนโหลดไฟล์มาก่อนที่ http://sourceforge.net/projects/xampp/files/ เลือก xampp-linux-1.7.1.tar.gz เพราะเหมาะสมกับการใช้งานกับ joomla เวอร์ชั่นใหม่ ๆ จะใช้ php เวอร์ชั่นใหม่ ซึ่ง joomla 1.5 ยังไม่ค่อยรองรับเท่าไหร่

 

 

 

 

จากนั้นเข้าเทอร์มินัล ใช้คำสั่ง cd เข้าไปยังไดเรกทอรี่ที่เก็บไฟล์ที่ดาวน์โหลด xampp-linux-1.7.1.tar.gz มา

ใช้คำสั่ง tar เพื่อแตกไฟล์ออก

1
sudo tar xvfz xampp-linux-1.7.1.tar.gz -C /opt

 

 

 

จากคำสั่งด้านบนทำการแตกไฟล์ไปไว้ที่ /opt

จากนั้นสั่ง start xampp

1
/opt/lampp/lampp start

จะขึ้นคำสั่ง start service ต่าง ๆ

1
2
3
4
Starting XAMPP 1.7.3a...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

จากนั้นก็เข้าทดสอบโดยพิมพ URL ว่า http://localhost หรือ http://127.0.0.1

 

จัดการรหัสผ่านต่าง ๆ
The MySQL administrator (root) has no password.
The MySQL daemon is accessible via network.
ProFTPD uses the password "lampp" for user "nobody".
PhpMyAdmin is accessible via network.
Examples are accessible via network.
MySQL and Apache running under the same user (nobody).

 

เข้าเปลี่ยนรหัสผ่าน โดยพิมพ์ที่เทอร์มินัล

1
/opt/lampp/lampp security

ทำตามคำแนะนำที่หน้าจอเทอร์มินัล

ไดเรกทอรี่ที่เก็บไฟล์ต่าง ๆ

/opt/lampp/bin/                                      The XAMPP commands home. /opt/lampp/bin/mysql calls for example the MySQL monitor.
/opt/lampp/htdocs/                                 The Apache DocumentRoot directory.
/opt/lampp/etc/httpd.conf                        The Apache configuration file.
/opt/lampp/etc/my.cnf                             The MySQL configuration file.
/opt/lampp/etc/php.ini                             The PHP configuration file.
/opt/lampp/etc/proftpd.conf                     The ProFTPD configuration file. (since 0.9.5)
/opt/lampp/phpmyadmin/config.inc.php     The phpMyAdmin configuration file.

 

แก้ไขล่าสุด ใน วันเสาร์ที่ 10 เมษายน 2010 เวลา 12:52 น.
 

คุณไม่มีสิทธิที่จะโพสต์ข้อคิดเห็น กรุณาล็อคอินหรือลงทะเบียน

RSS 2.0 Joomla Articles
twitter
Creative Commons License