Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Linux use notes

-----------------------------
Based on Fedora 8 version:
-----------------------------
1. No common command like ifconfig in os?
Root cause is the standard search path not include /sbin and /usr/sbin. Try to include them in /etc/profile. As belows:
 #Kenny add /sbin and /usr/sbin here.
 export PATH=.:/sbin:/usr/sbin:$PATH
 
2. install package in Fedora?
 yum install "package name"
 yum upgrade "package name"
 rpm -qa | grep “samba”
 
3. install samba ui config program?
 a. yum install system-config-samba.
 b. set samba service is trusted services in firewall.
 c. set samba_enable_home_dirs and samba_export_all_ro in SELinux configure option.
 
4. VMware host connect with target, without network line.
  a. set vmvare network connect mode to NAT in right-bottom network icon, default is bridged mode;
  b. in host machine, try (cmd -> ipconfig /all). Check VMNET8's IP address, suppose it is 192.168.111.2;
  c. in target machine, set IP address the same network range in step b, like 192.168.111.3, and set Gateway and DNS
  to vmware NAT gateway ip in menu(if not sure, try DHCP first, and check info from network manager);
  d. restart target machine, host can ping the target ip now.
  Note: 1. No need to set host physical address, since it is not related to it.
        2. If host machine is connect by external network, then target can ping host machine IP, like 172.16.200.22.
           And target can also connect to Internet.
        3. For target connect Internet network, I use bridge connect mode and DHCP is ok too.
  ref: http://hi.baidu.com/msingle/blog/item/d8a730ed4f6ab6dfb31cb15c.html
 
5. Enable telnet server?
   1. query system whether has telnet and  telnet-server, if not have, in


Ïà¹ØÎĵµ£º

linux vs windows

Ê×Ïȼòµ¥µÄ½éÉÜÁ½Õߣº
¡¾linux²Ù×÷ϵͳ£º¼ò³ÆÃüÁ²Ù×÷ϵͳ¡¿
¼ò½é£º
¼òµ¥µØËµ£¬LinuxÊÇÒ»Ì×Ãâ·ÑʹÓúÍ×ÔÓÉ´«²¥µÄÀàUnix²Ù×÷ϵͳ£¬ËüÖ÷ÒªÓÃÓÚ»ùÓÚx86ϵÁÐCPUµÄ¼ÆËã»úÉÏ¡£Õâ¸öϵͳÊÇÓÉÊÀ½ç¸÷µØµÄ³ÉǧÉÏÍòµÄ³ÌÐòÔ±Éè¼ÆºÍʵÏֵġ£ÆäÄ¿µÄÊǽ¨Á¢²»ÊÜÈκÎÉÌÆ·»¯Èí¼þµÄ°æÈ¨ÖÆÔ¼µÄ¡¢È«ÊÀ½ç¶¼ÄÜ×ÔÓÉʹÓõÄUnix¼æÈݲúÆ·¡£
ÌØµã£º ......

LinuxÄÚºËÉý¼¶µÄ»ù±¾²½Öè

Ò»¡¢±¾´ÎÄں˱àÒëÐÂÄÚºËËùÉæ¼°Èí¼þ°æ±¾
 
“gcc –version”¿É²éѰGCC°æ±¾------4.3.2 20081105£¨Red Hat 4.3.2-7£©
“make –v”¿É²éѯ Gnu make°æ±¾-----3.81
“ld –V£¨v£©¿É²éѯGNU ld°æ±¾-----2.18.50.0.9-7¡£f c10 20080822
“fdformat --version”ÃüÁî ......

LinuxѹËõ´ò°üÃüÁîʹÓ÷½·¨

http://www.ixpub.net/619016.html
tarÃüÁî

[root@linux ~]# tar [-cxtzjvfpPN] Îļþ
ÓëĿ¼ ....
²ÎÊý£º
-c £º½¨Á¢Ò»¸öѹËõÎļþµÄ²ÎÊýÖ¸Áî(create µÄÒâ˼)£»
-x £º½â¿ªÒ»¸öѹËõÎļþµÄ²ÎÊýÖ¸Á
-t £º²é¿´ tarfile ÀïÃæµÄÎļþ£¡
ÌØ±ð×¢Ò⣬ÔÚ²ÎÊýµÄÏ´ïÖУ¬ c/x/t ½öÄÜ´æÔÚÒ»¸ö£¡²»¿Éͬʱ´æÔÚ£¡
ÒòΪ²»¿ÉÄÜÍ¬Ê ......

Linux Input Device ½é紹: APIs


Linux Input Device ½é紹: APIs
jollen 發±íì¶ April 8, 2009 12:18 PM
Linux µÄ Input Device ÊÇÖØÒªµÄÒ»個 subsystem£¬ÔÚ進ÐÐ實Àý½é紹ǰ£¬ÏÈ´óÂÔÁ˽âÒ»ÏÂÏà關µÄ API¡£
Linux Input Device
input.cÊÇLinuxµÄ”input”驅動³Ìʽ£¬Ö÷ÒªÖ ......

¼ò˵linuxÄں˱àÒ루¼òµ¥È´ºÜʵÓã©

Ò»¡¢ÏÂÔØ°²×°³ÌÐò
1¡¢  ÏÂÔØÄÚºËÔ´Â루linux-2.6.33.tar.bz2£©£¬Î»Öãºhttps://www.kernel.org
2¡¢  ÏÂÔØ×îаæµÄmodule-init-tools£¨module-init-tools-3.8.tar.bz2£©ºÍmodutils£¨modutils-2.4.26-1.src.rpm£©µÄÔ´Âë
λÖãºhttp://www.kernel.org/pub/linux/kernel/people/rusty/modules/
λÖãºhttp://www. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ