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

Linux ±¸·ÝÓë»Ö¸´ËÙ³ÉÖ¸ÄÏ

 
 
È·¶¨Òª±¸·ÝµÄÄÚÈÝ
ÔÚ±¸·ÝºÍ»¹Ô­ÏµÍ³Ê±£¬Linux »ùÓÚÎļþµÄÐÔÖʳÉÁËÒ»¸ö¼«´óµÄÓŵ㡣ÔÚ Windows ϵͳÖУ¬×¢²á±íÓëϵͳÊǷdz£Ïà¹ØµÄ¡£ÅäÖúÍÈí¼þ°²×°²»½ö½öÊǽ«Îļþ·Åµ½ÏµÍ³ÉÏ¡£Òò´Ë£¬»¹Ô­ÏµÍ³¾ÍÐèÒªÓÐÄܹ»´¦Àí Windows ÕâÖÖÌØÐÔµÄÈí¼þ¡£ÔÚ Linux ÖУ¬Çé¿ö¾Í²»Ò»ÑùÁË¡£ÅäÖÃÎļþÊÇ»ùÓÚÎı¾µÄ£¬²¢ÇÒ³ýÁËÖ±½Ó´¦ÀíÓ²¼þʱÒÔÍ⣬ËüÃÇÔںܴó³Ì¶ÈÉÏÊÇÓëϵͳÎ޹صġ£Ó²¼þÇý¶¯³ÌÐòµÄÏÖ´ú·½·¨ÊÇ£¬Ê¹ËüÃÇÒÔ¶¯Ì¬¼ÓÔصÄÄ£¿éµÄÐÎʽ¿ÉÓã¬ÕâÑùÄں˾ͱäµÃ¸ü¼ÓÓëϵͳÎ޹ء£²»Í¬ÓÚÈñ¸·Ý±ØÐë´¦Àí²Ù×÷ϵͳÈçºÎ°²×°µ½ÏµÍ³ºÍÓ²¼þÉϵĸ´ÔÓϸ½Ú£¬Linux ±¸·Ý´¦ÀíµÄÊÇÎļþµÄ´ò°üºÍ½â°ü¡£
Ò»°ãÇé¿öÏ£¬ÒÔÏÂÕâЩĿ¼ÊÇÐèÒª±¸·ÝµÄ£º
/etc
°üº¬ËùÓкËÐÄÅäÖÃÎļþ¡£ÕâÆäÖаüÀ¨ÍøÂçÅäÖá¢ÏµÍ³Ãû³Æ¡¢·À»ðǽ¹æÔò¡¢Óû§¡¢×飬ÒÔ¼°ÆäËûÈ«¾ÖϵͳÏî¡£
/var
°üº¬ÏµÍ³ÊØ»¤½ø³Ì£¨·þÎñ£©ËùʹÓõÄÐÅÏ¢£¬°üÀ¨ DNS ÅäÖá¢DHCP ×âÆÚ¡¢Óʼþ»º³åÎļþ¡¢HTTP ·þÎñÆ÷Îļþ¡¢db2 ʵÀýÅäÖ㬵ȵȡ£
/home
°üº¬ËùÓÐÓû§µÄĬÈÏÓû§Ö÷Ŀ¼¡£Õâ°üÀ¨ËûÃǵĸöÈËÉèÖá¢ÒÑÏÂÔصÄÎļþºÍÓû§²»Ï£ÍûʧȥµÄÆäËûÐÅÏ¢¡£
/root
ÊǸù£¨root£©Óû§µÄÖ÷Ŀ¼¡£
/opt
ÊÇ°²×°Ðí¶à·ÇϵͳÎļþµÄµØ·½¡£IBM Èí¼þ¾Í°²×°ÔÚÕâÀï¡£OpenOffice¡¢JDK ºÍÆäËûÈí¼þÔÚĬÈÏÇé¿öÏÂÒ²°²×°ÔÚÕâÀï¡£
ÓÐЩĿ¼ÊÇÓ¦¸Ã¿¼ÂÇ ²»±¸·ÝµÄ¡£
/proc
Ó¦¸ÃÓÀÔ¶²»Òª±¸·ÝÕâ¸öĿ¼¡£Ëü²»ÊÇÒ»¸öÕæʵµÄÎļþϵͳ£¬¶øÊÇÔËÐÐÄں˺ͻ·¾³µÄÐéÄ⻯ÊÓͼ¡£Ëü°üÀ¨ÖîÈç /proc/kcore ÕâÑùµÄÎļþ£¬Õâ¸öÎļþÊÇÕû¸öÔËÐÐÄÚ´æµÄÐéÄâÊÓͼ¡£±¸·ÝÕâЩÎļþÖ»ÊÇÔÚÀË·Ñ×ÊÔ´¡£
/dev
°üº¬Ó²¼þÉ豸µÄÎļþ±íʾ¡£Èç¹û¼Æ»®»¹Ô­µ½Ò»¸ö¿Õ°×µÄϵͳ£¬ÄǾͿÉÒÔ±¸·Ý /dev¡£È»¶ø£¬Èç¹û¼Æ»®»¹Ô­µ½Ò»¸öÒÑ°²×°µÄ Linux ϵͳ£¬ÄÇô±¸·Ý /dev ÊÇûÓбØÒªµÄ¡£
ÆäËûĿ¼°üº¬ÏµÍ³ÎļþºÍÒÑ°²×°µÄ°ü¡£ÔÚ·þÎñÆ÷»·¾³ÖУ¬ÕâÆäÖеÄÐí¶àÐÅÏ¢¶¼²»ÊÇ×Ô¶¨ÒåµÄ¡£´ó¶àÊý×Ô¶¨Ò嶼·¢ÉúÔÚ /etc ºÍ/home Ŀ¼ÖС£²»¹ý³öÓÚÍêÕûÐԵĿ¼ÂÇ£¬Äú¿ÉÄÜÏ£Íû±¸·ÝËüÃÇ¡£
ÔÚÉú²ú»·¾³ÖУ¬ÎÒÏ£ÍûÈ·±£Êý¾Ý²»»á¶ªÊ§£¬Òò¶øÎһᱸ·Ý³ý /proc Ŀ¼֮ÍâµÄÕû¸öϵͳ¡£Èç¹û×îµ£ÐÄÓû§ºÍÅäÖã¬ÎÒ»á½ö±¸·Ý /etc¡¢/var¡¢/home ºÍ /root Ŀ¼¡£
±¸·Ý¹¤¾ß
ÕýÈçÇ°ÃæÌáµ½¹ýµÄ£¬ Linux ±¸·ÝÔںܴó³Ì¶ÈÉϾÍÊÇ´ò°üºÍ½â°üÎļþ¡£ÕâÔÊÐíʹÓÃÏÖÓеÄϵͳʵÓù¤¾ßºÍ½Å±¾À´Ö´Ðб¸·Ý£¬¶ø²»±Ø¹ºÂòÉÌÒµ»¯µÄÈí¼þ°ü¡£ÔÚÐí¶àÇé¿öÏ£¬ÕâÀ౸·Ý½«ÊÇ×ã¹»µÄ£¬²¢ÇÒΪ¹ÜÀíÔ±ÌṩÁ˼«´óµÄ¿ØÖÆÄÜÁ¦¡£±¸·Ý½Å±¾¿ÉÒÔʹÓà cron ÃüÁîÀ´×Ô¶¯»¯£¬Õ


Ïà¹ØÎĵµ£º

Linux/Unix»·¾³ÏµÄmakeÃüÁîÏê½â


ÎÞÂÛÊÇÔÚLinux»¹ÊÇÔÚUnix»·¾³ÖУ¬make¶¼ÊÇÒ»¸ö·Ç³£ÖØÒªµÄ±àÒëÃüÁî¡£²»¹ÜÊÇ×Ô¼º½øÐÐÏîÄ¿¿ª·¢»¹ÊÇ°²×°Ó¦ÓÃÈí¼þ£¬ÎÒÃǶ¼¾­³£ÒªÓõ½make»òmake install¡£ÀûÓÃmake¹¤¾ß£¬ÎÒÃÇ¿ÉÒÔ½«´óÐ͵Ŀª·¢ÏîÄ¿·Ö½â³ÉΪ¶à¸ö¸üÒ×ÓÚ¹ÜÀíµÄÄ£¿é£¬¶ÔÓÚÒ»¸ö°üÀ¨¼¸°Ù¸öÔ´ÎļþµÄÓ¦ÓóÌÐò£¬Ê¹ÓÃmakeºÍ makefile¹¤¾ß¾Í¿ÉÒÔ¼ò½àÃ÷¿ìµØÀí˳¸÷¸öÔ´ÎļþÖ® ......

linux °²×°eclipse×¢ÒâÊÂÏî

ÔËÐл·¾³£ºfedora12 + jdk1.6
1£ºÆô¶¯myeclipseʱ JVM terminated. Exit code=127
½â¾ö·½·¨Ò»£º
java -jar startup.jar
instead of the eclipse executable
½â¾ö·½·¨¶þ£º
Ò²ÓпÉÄÜÊÇfedora×Ô´øµÄfirefoxÔËÐеÄjava»·¾³ÓëeclipseÔËÐеÄjava»·¾³ÓгåÍ»£¬½«fedora×Ô´øµÄfirefoxɾ³ý£¬ÔÙ´ÓÍøÉÏÏÂÔظöÓþͿÉÒÔÁË
×¢£ºÒÔ ......

linux²é¿´Ó²¼þÐÅÏ¢¼°Çý¶¯É豸Ïà¹ØÕûÀí


ÔÚLINUX»·¾³¿ª·¢Çý¶¯³ÌÐò£¬Ê×ÏÈҪ̽²âµ½ÐÂÓ²¼þ£¬½ÓÏÂÀ´¾ÍÊÇ¿ª·¢Çý¶¯³ÌÐò¡£
³£ÓÃÃüÁîÕûÀíÈçÏ£º
ÓÃÓ²¼þ¼ì²â³ÌÐòkuduz̽²âÐÂÓ²¼þ£ºservice kudzu start ( or restart)
²é¿´CPUÐÅÏ¢£ºcat /proc/cpuinfo
²é¿´°å¿¨ÐÅÏ¢£ºcat /proc/pci
²é¿´PCIÐÅÏ¢£ºlspci (Ïà±Ècat /proc/pci¸üÖ±¹Û£©
²é¿´ÄÚ´æÐÅÏ¢£ºcat /proc/meminfo
......

£¨zz£©LinuxÏÂOpenGL¿ª·¢»·¾³´î½¨

×¼±¸Æª
»·¾³ÊÇFedora 8
Ê×ÏÈÐèÒª°²×°OpenGLµÄ¿ª·¢»·¾³¡£ÏÖÔÚLinuxÏÂÓкܶàOpenGLµÄʵÏÖ£¬Fedora 7ÖÐÒѾ­¸½´øÁËMesa,ÕâÊÇOpenGLÒ»¸ö¿ªÔ´µÄʵÏÖ¡£°²×°FedoraʱÈç¹ûÑ¡ÖÐÁË¿ª·¢»·¾³£¬ÄÇôMesa¿ÉÄܾÍÒѾ­°²×°ºÃÁË¡£Èç¹ûÄãºÍÎÒÒ»Ñù°²×°µÄʱºòûÓÐÑ¡Ôñ¿ª·¢£¬ÄÇô£¬¿ÉÒÔͨ¹ýyumÀ´ÔÚÏß°²×°Mesa£º
Ê×ÏȲéÕÒMesaÏà¹ØµÄ°ü£º
&nbs ......

LinuxÏÂÈ÷ÇrootÓû§ÆôÓÃСÓÚ1024ºÅµÄ¶Ë¿Ú


ÒÔÏÂÊÇÕÒµ½µÄLinuxµÄ×ÊÁÏ£¬Solairs¡¢AIXµÈÓ¦µ±ÓÐËù²»Í¬£¬Çë¸ú½ø
·½·¨Ò»£º¶Ë¿ÚÓ³Éä
1¡¢iptablesÃüÁî:iptables -t nat -A PREROUTING -p tcp --dport <µÍ¶Ë¿Ú> -i eth0 -j REDIRECT --to-port <Ô­ÏȼàÌýµÄ¸ß¶Ë¿Ú>
2¡¢rinetd³ÌÐò
3¡¢ipchansÃüÁî:ipchans -I input --proto TCP --dport <µÍ¶Ë¿Ú> - ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ