LinuxϵͳÎļþĿ¼¼ò½é[ת]
Ò»¡¢¼ò½é: Linux²Ù×÷ϵͳÖÐ,ÒÔÎļþÀ´±íʾËùÓеÄÂ߼ʵÌåÓë·ÇÂ߼ʵÌå¡£Â߼ʵÌåϵָÎļþÓëĿ¼; ·ÇÂ߼ʵÌåÔò·ºÖ¸Ó²ÅÌ¡¢Öն˻ú¡¢´òÓ¡»úµÈ¡£
Ò»°ã¶øÑÔ,LinuxÎļþÃû³ÆµÄ×é³É³ýÓÉÁ¬Ðø×Öĸ¡¢±êµã·ûºÅ¡¢Êý×ֵȹ¹³ÉÍâ,Öм䲻ÄÜÓпոñ·û¡¢Â·¾¶Ãû³Æ·ûºÅ / »ò # * % & {} [] ¡¡..µÈÓëShellÓйصÄÌØÊâ×Ö·û¡£
LinuxÎļþϵͳÖÐ,½á¹¹ÉÏÒÔroot file system λ×îÉÏλҲ×îΪÖØÒª,Ëùνroot file systemÄËÓÚ¿ª»úʱ½«root partition¹ÒÔØÔÚ / µÄĿ¼,ÈôÎÞ·¨mount / Ôò¿ª»úʱÎÞ·¨½øÈëLinuxϵͳÖдËʱ½öÄÜremount / µÄĿ¼¡£¸ÃĿ¼ÏÂÓÐ/etc¡¢/dev¡¢/boot¡¢/home¡¢/lib¡¢/lost+found¡¢/mnt¡¢/opt¡¢/proc¡¢/root¡¢/bin¡¢/sbin¡¢/tmp¡¢/var¡¢/usrµÈÖØҪĿ¼,ÒÔÏÂ×È·Ö±ð½éÉÜÖ®¡£ ¶þ¡¢Ä¿Â¼ÓëÎļþ¼ò½é 1./etc:
±¾Ä¿Â¼Ï´æ·Å×ÅÐí¶àϵͳËùÐèµÄÖØÒªÉ趨Óë¹ÜÀíÎļþ,ÓÐһЩΪ´¿µµÃû,ÓÐЩÊÇÒÔ.confµÄÐÍ̬³öÏÖÁíÒàÓÐһЩ×Գɵ¥Ò»Ä¿Â¼:µ±È»ÒàÓÐЩÉ趨Îļþ²¢·Ç·ÅÔÚ/etcĿ¼ÏÂ,ÀýÈçʹÓÃÕß¼ÒĿ¼֮.bashrc¡¢.bash_profileµÈÎļþ;ͨ³£祇Òª¸ü¶¯¹ý/etcĿ¼ÏÂÖ®É趨µµÄÚÈݱØÐëÖØ줻îÉ趨µµÊ¹É趨ÉúЧ,ÇÒÒ»°ãÒàÎÞÐëÖØ¿ª»ú¡£ÒÔϽ÷ëÍÁÐÖ÷ÒªÎļþÈçºó: (1) hostname
±¾ÎļþÄÚÈݽö¼ÇÔØÖ÷»ú+ÍøÓòÃû³Æ,ÔÚϵͳÌáʾ·ûºÅÏÂÊäÈëhostname¿ÉÒÔÏÔʾHOSTNAMEÖ®ÎļþÄÚÈÝ¡£È磺[url]www.webrj.com[/url]¡¢[url]www.webrj.net[/url]¡¢[url]www.e0797.com[/url]¡¢[url]www.ok138.com[/url]µÈ¡£ (2) XF86Config
±¾ÎļþÄÚÈÝΪX Window SystemµÄÖ÷ÒªÉ趨µµ,CalderaµÄ°æ±¾·ÅÔÚ/etcĿ¼ÏÂ,RedHat°æ±¾Ôò·ÅÔÚ/etc/X11Ŀ¼ÏÂ,ÓйØÏÔʾ¿¨¡¢Êó±ê¡¢¼üÅ̾ù¿ÉÔڴ˼ÓÒÔÉ趨¡£ (3) aliases
±¾ÎļþÄÚÈÝÓÃÀ´É趨Óʼþ±ðÃû¼°ÓʼþÇåµ¥¿ÉÒÔÈÃÌض¨µÄµØַת¼Ä¸ø²»Í¬µÄʹÓÃÕß»òȺ×é;±à¼Íê/etc/aliasesºóÐëÏÂnewaliasesÖ¸Áîʹ֮ÉúЧ£¬¶ÔÓÚÓÉÔ¶³Ì¼ÄËÍÖÁlocal¶ËµÄÓʼþ¾ßÓб¸·Ý¹¦ÄÜ£¬Îªmail serverÖØÒªµÄÉ趨µµÖ®Ò»¡£ (4) amd.conf
±¾ÎļþΪһ³£×¤·þÎñ³ÌÐò(daemon)£¬È«ÃûΪautomatically mount file system£¬CalderaµÄ°æ±¾³ÆΪam.d£»ÊÇÒ»¸öÄÜ×Ô¶¯mountºÍumount cdromºÍfloppyµÄÎļþϵͳ¡£ (5) at.deny
±¾ÎļþΪ¶ÔÄÜ·ñʹÓÃatÖ¸ÁîµÄʹÓÃÕß¼ÓÒÔÏÞÖÆ, at ÊÇÒ»¸ö·Ç³£ÓÐÓõŤ¾ß£¬¿ÉÒÔÈÃʹÓÃÕßÖ¸¶¨ÔÚÌض¨Ê±¿ÌÖ´ÐÐij¸ö³ÌÐò»òÖ¸Áͨ³£Ö»Ö´ÐÐÒ»´Î¡£Èç¹ûÄãÏ붨ʱ¶¨ÆÚµÄÖ´ÐÐijÏ×÷£¬Ó¦¸ÃʹÓÃcron¹¤¾ß¶ø·Çat¡£ (6) crontab
±¾Îļþ¿ÉÈÃϵͳ¶¨Ê±Ö´ÐÐÅų̹¤×÷Ϊϵͳ¹ÜÀíÉϼ«ÎªÖØÒªÖ®Îļþ£¬CronÊÇÒ»¸
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
http://tldp.org/HOWTO/Linux-i386-Boot-Code-HOWTO/kernel_head.html
http://bbs.tongji.net/thread-258437-1-1.html
http://www.diybl.com/course/6_system/linux/Linuxjs/200871/129588_6.html
http://mmdoc.sourceforge.net/mmdoc/node12.html ......
Ô¶³Ì×ÀÃæ»·¾³ÔںܶàÇé¿öÏ¿ÉÒÔ´øÀ´ºÃ´¦£¬¶ÔÓÚÒ»°ãµÄ¹«Ë¾À´Ëµ£¬¿ª·¢ÈËÔ±Ò»°ã¶¼»áÓÐһ̨°ì¹«»úͬʱÓÐһ̨¿ª·¢»ú£¬ÓÐʱ£¬¿ª·¢»úºÍ°ì¹«»ú²»ÔÚͬһ¸öµØ·½£¬Èç¹ûÐèҪͬʱ²Ù×÷Á½Ì¨»úÆ÷£¬ÄÇôÔÚ²»Í¬µÄµØµãÖ®¼äÀ´»Ø×߶¯±ØÈ»´øÀ´ºÜ¶àµÄ²»±ã¡£¿ÉÒÔʹÓÃtelnet»òsshµÈ×Ö·ûµÇ½½çÃ棬Õâ¶ÔÓÚÊìϤshellÃüÁîµÄ¿ª·¢ÕßÀ´ËµÊDZȽÏʡʵķ½·¨£¬×î ......
ÊÖ¶¯ÉèÖÃ
££ifconfig etn0 192.168.1.2,ÉèÖÃÍø¿¨IPµØÖ·
»òÖ±½ÓÔËÐÐifconfig,ÕâʱºòҪעÒâÁË,ÔÚÍøÂç½Ó¿ÚÖÐÓÐÒ»¸ölo½Ó¿Ú,Ò²¾ÍÊÇÍøÂç»Ø»·(loopback).
ÔÙʹÓÃpingÃüÁî
££ping 192.168.1.2 -c 3
²âÊÔ3´Î,¿´ÄÜ·ñÕý³£ÏìÓ¦.
Æô¶¯Óë¹Ø±ÕÍø¿¨
/etc/rc.d/init.d/network restart <===ÖØÐÂÆô¶¯ÍøÂç
ifup eth0 &l ......