tee's blog
Apache Config ง่ายๆ สำหรับนักพัฒนาเว็บไซต์
Submitted by tee on 20. March 2007 - 21:01.Posted in:
เจอคำถามพวกนี้ออกบ่อยๆ ครับ เลยเอามาเขียนลงซะเลย แรงบันดาลใจมาจากกระทู้นี้ หัดเขียนโปรแกรม
หลังจากลง Apache, PHP แล้วนะครับ ทีนี้จะเอา File Script หรือ Html ไว้ตรงไหนดี สำหรับ Ubuntu โดย Default แล้ว html root จะอยู่ที่ /var/www/ แต่ไม่สะดวกแน่เพราะมีแต่ root เท่านั้นที่จะเข้าไปจัดการกับมันได้ ทีนี้ User เค้าก็ไม่สนับสนุนให้เป็น root ใช่ไหมเล่าครับ
ต่อ net ผ่านมือถือด้วย USB Bluetooth
Submitted by tee on 20. March 2007 - 20:43.Posted in:
ไม่กี่วันมานี้ผมได้สั่งซื้อ Bluetooh USB มาลองเล่นดู อุปกรณ์เป็น Bluetooth USB Dongle ของจีนแดง ชื่อรุ่น ES-388 เป็น usb version 2.0 นำมาทดลองใช้กับ Linux Ubuntu 5.10 ได้ผลดังนี้
ผมจะแบ่งการใช้งาน 2 ส่วน คือ ส่วนที่ใช้ต่อ net กับส่วนที่ไว้ส่ง file กับมือถือ
//สั่ง start bluetooh service ก่อน
$ sudo /etc/init.d/bluez-utils start
$ sudo /etc/init.d/bluez-utils start
//ค้นหา Remote Device ผมใช้ Sony Ericsson T630 จะได้หมายเลข device และชื่อที่ตั้งในมือถือมา
$ hcitool scan
Scanning ...
00:0E:07:56:92:5D T630
มาปรับแต่ง touchpad กันเถอะ
Submitted by tee on 19. March 2007 - 23:27.Posted in:
ต่อเนื่องจากกระทู้นี้นะครับ
http://www.ubuntuclub.com/html/index.php?option=com_joomlaboard &Itemid=&func=view&catid=2&id=1622#1622
ทำได้แล้วเลยเอามาบอกกล่าวกันต่อ ก่อนอื่นคิดว่าต้องลง xserver-xorg-input-synaptics ก่อนนะ แล้วเข้าไปแก้ที่ /etc/X11/xorg.conf นั่นแหละครับ ให้หาบรรทัด
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"

