LinuxÀïÅÜÐéÄâXP
ÎҴ󲿷Öʱ¼äʹÓÃLinux²Ù×÷ϵͳ(Debian
Lenny)£¬²»¹ýºÜ¶àʱ¼ä»¹ÊÇÒªWindowsµÄ£¨±È·½ËµÍøÉÏÒøÐС¢¿´docÎĵµ¡¢¿´WindowsרÓõÄÍøÕ¾¡¢war3£©£¬Ë«ÏµÍ³ÊÇÒ»¸ö½â¾ö·½°¸£¬²»
¹ýÀÏÇÐÀ´ÇÐÈ¥ÕæÀÛ¡£½ñÌìÖÕÓÚ±¬·¢ÁË£¬Åܵ½Ì«Æ½Ñó2Â¥ÂòÁËÌõ2GµÄÄڴ棬¼ÓÉÏ×Ô¼ºµÄ1GÄڴ棬¿ªÊ¼ÕÛÌÚÐéÄâ»ú¡£Ò»¿ªÊ¼ÏÈÊÔÁËKVM£¬·¢ÏÖÎÒµÄCPU²»Ö§³Ö£¬
Ö»ÄÜ×÷°Õ£»½Ó×ÅÊÔÊÔVMWare£¬ÖÕÓÚÈÃÎҸ㶨£¬ÅܵÃÓеãÂý£¬µ«»ù±¾¹»Óá£
KVM
kvmËäȻʧ°ÜÁË£¬µ«ÊÇÒ²´ó¸ÅÖªµÀÔõô¸ã¡£Ê×ÏÈ£¬ÅжÏcpuÊÇ·ñÖ§³Ö£º
yao@debian:~$ egrep '^flags.*(vmx|svm)' /proc/cpuinfo
Èç¹ûÓÐÊä³ö¾ÍÊÇÖ§³Ö¡£½Ó×Å°²×°Èí¼þ£º
yao@debian:~$ apt-get install kvm qemu
¼ÓÔØÄÚºËÄ£¿é£º
yao@debian:~$ modprobe kvm_intel #or kvm_amd
°²×°ÏµÍ³£º
yao@debian:~$ kvm -no-acpi -m 512 -cdrom winxpsp2.iso -hda hda.img -boot d
Æô¶¯ÏµÍ³£º
yao@debian:~$ qemu -hda disk.img
VMWare Server
ÎÒËùÖªµÀµÄ£¬ÔÚvmware¹«Ë¾µÄ²úÆ·ÖУ¬Äܹ»ÓÃÀ´ÅÜÐéÄâϵͳµÄÓÐ"vmware workstation"ºÍ"VMWare Server"¡£²»¹ýÇ°ÕßÒª»¨Ç®£¬ºóÕßÃâ·Ñ£¬¾ÍºÁ²»ÓÌÔ¥µØÑ¡ÔñÁË“VMWare Server”¡£
ÏÂÔØ
µ½vmwareµÄÍøÕ¾
ÏÂÔØVMWare Server£¬Ö÷ÒªÓÐÁ½¸ö°æ±¾£¬·Ö±ðÊÇ1.x.x
ºÍ2.x.x
£¬ºóÕßÏà¶ÔºÃһЩ¡£
°²×°
°²×°¹ý³ÌÒª±àÒëһЩ¿â£¬ÐèÒªlinuxÄں˵ÄÍ·Îļþ£¬ËùÒÔÏÈ°²×°£º
yao@debian:~$ apt-get install linux-headers-`uname -r`
VMWare
ServerÊÇÎı¾·½Ê½°²×°µÄ£¬¾ÍÊÇ×öһЩѡÔñ£¬²»¹ý»ù±¾É϶¼Êǻسµ¾ÍÐÐÁË£¨ËäÈ»Óеã¶à£©¡£ÖµµÃ×¢ÒâµÄÊÇÐéÄâ²Ù×÷ϵͳÎļþĬÈϱ£´æÔÚ'/var/lib
/vmware/Virtual Machines/'ÀҪȷ±£Õâ¸öĿ¼ËùÔڵķÖÇøÓÐ×ã¹»µÄ¿Õ¼ä£¨±ÈÈç˵10G£©¡£
1.x.x
ÎÒ°²×°µÄʱºò³öÁËÕâ¸öÎÊÌ⣺
/tmp/vmmon-only/linux/driver.c:146: error: unknown field ‘nopage’ specified in initializer
ÔÚÍøÉÏÕÒÁ˺ܾòÅÖªµÀÔÀ´vmmonºÍvmnetÄ£¿éÒª¸üУ¨1.x.x°æ±¾±È½ÏÀÏ£©£¬µ½ÉÏÍøÏÂÔضÔÓ¦µÄÎļþ£¬¸üÐÂÖ®£º
yao@debian:~$ cp vmmon.tar vmnet.tar vmware-server-distrib-1/lib/modules/source
ÔÙÖØа²×°¾ÍÐÐÁË¡£ÁíÍâÈç¹û²»ÊäÈëÐòÁкţ¬°²×°»áʧ°Ü£»2.x.x¾Í²»ÓÃÊäÈëÒ²ÄÜʹÓá£
2.x.x
°²×°Í¦Ë³ÀûµÄ£¬Ã»Ê²Ã´ºÃ˵¡£
°²×°ÏµÍ³
ÔËÐÐvmware£¬Á¬½Óvmware·þÎñ£º
yao@debian:~$ vmware
¼ÙÉèISO°²×°¾µÏñÃûΪwindowsxp.iso£¬Èç¹ûÊÇ2.x.x°æ±¾£¬ÄÇôÕâÎļþ·Åµ½Ä¿Â¼'/var/lib/vmware/Virtual Machines/'Ï£¬
Ïà¹ØÎĵµ£º
Linux»·¾³½ø³Ì¼äͨÐÅ£¨Ò»£©
http://www.ibm.com/developerworks/cn/linux/l-ipc/part1/
Linux»·¾³½ø³Ì¼äͨÐÅ£¨¶þ£©ÉÏ
http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html
Linux»·¾³½ø³Ì¼äͨÐÅ£¨¶þ£©ÏÂ
http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index2.html
Linux»·¾³½ø³Ì¼äͨÐÅ£ ......
Èç¹ûÏë½øÒ»²½Á˽âlinuxϵͳ£¬ÊìϤһЩϵͳµ×²ãµÄ¶«Î÷»¹ÊǷdz£±ØÒªµÄ£¬ÎÒÃÇ¿ÉÒÔÏÈÁ˽âһЩlinuxÃüÁîÊÇÈçºÎʵÏÖÏà¹Ø¹¦Äܵģ¬ÄÇôÈçºÎ»ñµÃÃüÁîµÄÔ´´úÂëÄØ£¿ÏÂÃæÎÒÃÇÏêϸ½éÉÜһϡ£
¡¡¡¡ÏÂÃæÒÔ»ñÈ¡catÃüÁîµÄÔ´´úÂëΪÀý˵Ã÷£º
cd /sbin
rpm -qif cat
¡¡ ......
sudo rm ½â³ýËøÎļþ¼Ð
sudo chmod 777 / ÓÐÁËËùÓÐȨÏÞ
yjh@ubuntu:~$ cd /etc
yjh@ubuntu:/etc$ sudo chmod 777 bash.bashrc ³¬¼¶Óû§È¨ÏÞ ÐÞ¸Äbash.bashrc
yjh@ubuntu:/etc$ gedit bash.bashrc
yjh@ubuntu:/etc$
etcÏ»·¾³±äÁ¿ ÐÞ¸Ä bash.bashrv
×îº ......
LinuxÉ豸Çý¶¯³ÌÐòѧϰ±Ê¼ÇϵÁÐÎÄÕÂÔ×÷ÕßÊÇ£ºTekkaman Ninja£¬Ëû²©¿ÍµØÖ·£º
http://blog.chinaunix.net/u1/34474/showart_404278.html
ÔÚ´ËÏòTekkaman Ninja±íʾ¸Ðл£¬Ð´³öÕâôºÃµÄÎÄÕ£¬Ê¹ÎÒÉÙ×ßÁ˺ܶàÍä·¡£
LinuxÉ豸Çý¶¯³ÌÐòѧϰ£¨0£©£Hello, world£¡Ä£¿é
ÎÄÕÂÀ´Ô´£ºhttp://blog.chinaunix.net/u2/62910/showa ......
Writing Linux LCD drivers
×÷ÕߣºJimSheng
Writing Linux LCD drivers
Abstract
1 LCD Module\Driver\Controller
2 Linux Frame Buffer Driver
2.1 Why Frame Buffer?
2.2 What is Frame Buffer Devices?
2.3 How to Write Frame Buffer Device Drivers?
3 Analysis of Linux Frame Buffer Driver Source ......