แสดงบทความที่มีป้ายกำกับ how-to แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ how-to แสดงบทความทั้งหมด

วันจันทร์, มีนาคม 10, 2551

kernel 2.6.24.3 and vmware server

เนื่องจากชอบลองของใหม่ ผมจึง compile kernel ใช้เอง
และก็ประสพปัญหาเอง - -

ผมไม่สามารถติดตั้ง vmware server ได้

...
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.24-1-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-686'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /tmp/vmware-config2/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config2/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config2/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config2/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config2/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h:9:2: error: #error only can be included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

นี่แหละ error ของมัน
มึนซิครับ

ผมจึง ทดลองติดตั้ง vmware 2 beta
ก็ปรากฎว่า

error เหมือนเดิม

วิธีการแก้ไขให้ทำแบบนี้ครับ

http://symbolik.wordpress.com/2007/11/10/vanilla-kernel-26231-on-gutsy-gibbon/
http://symbolik.wordpress.com/2007/12/06/kernel-26239-and-vmware-any-any-update115/
http://symbolik.wordpress.com/2007/11/10/vmware-server-104-and-kernel-26231-on-gutsy/
http://blog.tbmn.org/mne.php/2008/02/08/vmware_server_on_linux_kernel_2_6_24_deb


Quick How-to:

1. download vmware-any-any-update115.tar.gz จากที่นี่ครับ http://platan.vc.cvut.cz/ftp/pub/vmware/
(ณ เวลาที่ผมเขียนบทความนี้ มันเป็น update115 นะครับ ถ้าท่านมาอ่านแล้วมันเป็นเลขอื่นก็ขอให้ดหลดไปใช้เลย เพราะว่ามันจะปรับปรุงรุ่นใหม่ตลออด )
2. แตก โดยใช้คำสั่ง tar xvzf vmware-any-any-update115.tar.gz
3. เข้าสู่ directory ที่แตกไว้ cd vmware-any-any-update115.tar.gz
4. แล้วรัน script ครับ โดยพิมพ์ว่า ./runme.pl
5. เสร็จ

ปล. ถ้ายัง compile vmon ไมไ่ด้ โปรด พิจารณาวิธรการอื่นๆ ตาม link ที่ให้ข้างบนนะครับ

วันเสาร์, มิถุนายน 30, 2550

วิธีติดตั้ง อูบุนตุ บน PS3 | How To: Install Ubuntu on PlayStation 3

ตาม link เลยครับ

https://help.ubuntu.com/community/PlayStation_3

ปล. ถ้าจะแรงน่าดู

------------------------------------------------------------------------------------------------------------

นอกเร่ือง
1. dhcp ที่หอล่มบ่อยมาก (น่าจับ admin มาต้ม)
2. อยากได้ 7600gt (ตอนนี้ใช้ fx5200)
3. มีคนบอกว่า "เวลาเราจีบแฟน เราจะเห็นแฟนสวยที่สุด แต่พอได้เป็นแฟนกันแล้ว แฟนคนอื่นมักจะสวยกว่า" จริงหรือป่าว ?
4. 1+1 = 10

วันอังคาร, มิถุนายน 26, 2550

5 กลเม็ดเด็ดสำหรับลีนุกซ์ | Top 5 Linux Tricks

1. wget:
2. Colour your text in the terminal:
3. The Mystery of the Arrow Up button:
4. The power of the TAB button:
5. X11 Forwarding:

Credit: http://pimpyourlinux.com/linux-feature-review/top-5-linux-tricks/


Wget เป็นอะไรที่สุดยอดมาก ลืม IDM, Flashget ไปได้เลย... (ถ้าใช้เป็นนะ)
ตัวอย่างง่ายๆก็คือ

$ wget http://mirror.in.th/ubuntu/7.04/ubuntu-7.04-desktop-i386.iso

โหลดโลดๆ
อยากรู้มากกว่านี้อ่านดูนี่ฮะ
http://www.sitepoint.com/blogs/2004/08/16/using-wget/

Windows มันห่วย

Q: How to crack Microsoft Windows Vista / XP-workstations and Windows 200x servers in a minute?
A: http://www.ict-tuki.fi/vistasec_eng/


Quick step
1. เอาแผ่น vista ใส่เข้าไปบูตให้ถึง repair computer
2. เจอหน้าต่าง command line
3. อยากได้อะไรก็ copy โลดๆๆๆๆๆ

วันศุกร์, พฤษภาคม 18, 2550

ค้นหาข้อมูลในกูเกิ้ลอย่างไีร ให้ไร้โฆษณา ? | Search google without ads ?

ท่านกำลังประสพปัญหาโฆษณารบกวนสายตาเวลาค้นหาข้อมูลส่งอาจารย์ใช่ไหม ?
ถ้าใช่...

http://www.google.co.th/search?output=googleabout

ขอให้พลังกูเกิ้ลจงอยุ่กับท่าน

วันพุธ, พฤษภาคม 09, 2550

How-to search Windows XP and Vista cd-key on the internet

Windows Xp
"computer profile summary" "software licenses" "key:" "xp"

Windows Vista
"computer profile summary" "software licenses" "key:" "Vista"


Easy and works !!!

วันเสาร์, เมษายน 21, 2550

How-to rip mp3 from CD

เมื่อวานมีคนมาขอให้ rip เพลวให้หน่อย (rip เป็น mp3)
สิ่งที่เกิดคือ
1. พอเราใส่แผ่น cd เข้าไป Sound juicer CD Extracer จะเด้งขึ้นมาและ พร้อมให้กดฟัง หรือจะ rip ออกมาเป็น format อื่น
2. แต่... มันไม่มี mp3 ทั้งๆที่ใน Edit profiles มี
3. แต่... ตรง drop down menu ดันไม่มีให้เลือก
4. จึงกดปุ่ม Help ที่อยู่มุมล่างซ้าย ก็ได้คำตอบออกมา

If you need to store tracks in the MP3 format (for example,
if your portable music player only supports MP3 and not Ogg Vorbis),
you will need to create a new profile. To do this, click on
Edit Profiles, click New,
and name the profile MP3.

Select the MP3 profile and click the Edit
button. Set GStreamer Pipeline to

audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=0 bitrate=192 ! id3v2mux

Set the File Extension to
mp3, and select the Active
check box. You will have to restart Sound Juicer to see the new
audio profile.

This profile uses the LAME MP3 encoder,
so you will need to have the GStreamer LAME plugin installed.

How-to
1. sudo apt-get install gstreamer0.10-lame
2. กด Edit Profiles ใน Sound juicer CD Extracer แล้วกด new
3. ตั้งชื่อ profiles นี้ว่า mp3
4. ก๊อปปี้ข้อความต่อไปในี้ใส่ในช่อง GStreamer Pipeline
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=0 bitrate=192 ! id3v2mux
5. ตรงช่อง File Extension ใส่ mp3
6. เช็คเครื่องหมายถูกตรง Active ด้วยนะครับ
7. ปิด Sound juicer CD Extracer แล้วเปิดขึ้นมาใหม่ก็จะสามารถ rip ออกมาเป็น mp3 ได้ละครับ

วันศุกร์, เมษายน 13, 2550

How-to convert *.flv to *.avi by ffmpeg

ลองมาหลายอันละครับ
อันนี้ง่ายที่สุด

$ ffmpeg -i videoname.flv -vcodec msmpeg4v2 outfilename.avi