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

ÐéÄâ»úlinuxÉÏÍø

ÐéÄâ»úlinuxÉÏÍøÅäÖà ͼ½â½Ì³Ì
ÐéÄâ»úlinuxÏÂNATÉÏÍø·½Ê½¸úwindowsÏÂÊDz»Ò»ÑùµÄ£¬windowsϵͳֻҪֱ½ÓÑ¡ÔñNATÉÏÍø·½Ê½¼´¿É£¬²»ÐèÒªÆäËüÅäÖ㬶ølinuxÒªÏë ÓÃNAT·½Ê½ÉÏÍøÐè½øÐÐÁíÍâµÄÉèÖá£ÏÂÃæµÄͼÎĽ̳Ì,ÎÒ¾õµÃ»¹ÊDZȽϾ«µäµÄ£¬Ë¼Â··Ç³£ÇåÎú£¬Ï£Íû¶Ô¸Õ½Ó´¥ linuxµÄÅóÓÑÓÐËù°ïÖú¡£  
µãÐéÄâ»ú²Ëµ¥: ±à¼­---±à¼­ÐéÄâÍøÂç È»ºóÑ¡Ôñ NATÕâһѡÏ¡£
²é¿´±¾µØip µØÖ··½·¨: ¿ªÊ¼----ÔËÐÐ--cmd     ÊäÈë: ipconfig /all
VMwareÌṩ:ÇŽÓ,Host OnlyºÍNATÈýÖÖÁ¬Íø·½Ê½. ÎÒ¸öÈËÈÏΪNAT·½Ê½½Ï¼òµ¥,ÓÃËûÀ´¹²ÏíÖ÷»úµÄIP,ÊʺÏÄÇÖÖÿ̨Ö÷»úÖ»ÔÊÐíÒ»¸öIPµÄÇé¿ö¡£¾ßÌåÅäÖÃÈçÏ£º
1¡¢VMwareÍøÂçÁ¬½ÓÑ¡ÔñµÄÊÇNAT·½Ê½¡£
2¡¢VMwareÍøÂçÅäÖÃÀïµÄNATÏîÖв鿴VMnet8£¬NATµÄÍø¹ØÅäÖÃΪ192.168.X.2¡£
3¡¢ÔÚwindowsÖУ¬²é¿´ÈκεÄÍøÂçÁ¬½Ó£¬ÄúÓ¦¸Ã·¢ÏÖ³ýÁËÔ­ÓеÄÍø¿¨Ö®Í⣬ÓÖ¶àÁËVmnet1ºÍVmnet8¡£vmnet1ÊÇhostonlyµÄ½Ó¿Ú£¬¶øVmnet8ÊǾÍÊÇÎÒÃÇҪʹÓõÄNATµÄÍøÂç½Ó¿Ú¡£
4¡¢ÔÚwindowsÖ÷»úÉÏÓÃipconfig²é¿´VMnet8µÄIPµØÖ·£¬Ò»°ãÊÇ192.168.X.1¡£´ËʱVMnet8µÄÅäÖÃÓ¦¸ÃÊÇ×Ô¶¯»ñÈ¡IP£¬ÏÖÔڸijɾ²Ì¬IP£¬²¢°Ñ´ËIPÖ±½ÓÌîÈëVMnet8À²»ÉèÍø¹Ø¡£
6¡¢ÔÚlinuxÏ°ÑÍø¿¨IPÅäÖóɺÍVMnet8Ò»¸öÍø¶ÎµÄIP£¨192.168.X.Z/255.255.255.0)
7¡¢ÔÚlinuxÏÂÍø¹ØÅäÖóɸղŲ鿴µÄÄǸöIP192.168.X.2¼´¿É¡£
8¡¢ÔÚlinuxÏÂDNSºÍwindowsÖ÷»úµÄÏàͬ¡£
9¡¢ÔÚlinuxÏÂÔËÐÐÃüÁîservice network restartÖØÐÂÆô¶¯linuxµÄÍøÂç·þÎñ¡£
10¡¢ÔÚlinuxÏÂping 192.168.x.1£¬ÔÚwindowsÏÂping 192.168.x.z ³É¹¦ºó֤ʵÖ÷»úºÍÐéÄâ»úÒÑÄܹ»»¥Ïà·ÃÎÊÁË£¬ÏÖÔÚÒ²Äܹ»ÊµÏÖÐéÄâ»ú¹²ÏíÖ÷»úipÉÏÍøÁË¡£
VMwareÏÂredhat linux 5ʹÓÃNAT¹²ÏíÖ÷»úIPÉÏÍø
1¡¢°²×°VMware workstation¡£2¡¢°²×°guestϵͳ£¬ÕâÀïÎÒ°²×°µÄRed Hat Linux5£¬°²×°¹ý³ÌÖÐÈ·±£ÍøÂçÁ¬½ÓÑ¡ÔñµÄÊÇNAT·½Ê½£¬µ±È»¿ÉÒÔÔÚ°²×°Íêºó½øÐÐÐ޸ġ£Vmnet8¡£vmnet1ÊÇhostonlyµÄ½Ó¿Ú£¬¶øVmnet8ÊǾÍÊÇÎÒÃÇҪʹÓõÄNATµÄÍøÂç½Ó¿Ú¡£
3¡¢µ½windows XP ÖУ¬²é¿´ËùÓеÄÍøÂçÁ¬½Ó£¬ÄãÓ¦¸Ã·¢ÏÖ³ýÁËÔ­ÓеÄÍø¿¨Ö®Í⣬ÓÖ¶àÁËVmnet1ºÍ4¡¢ÔÚwinÖ÷»úÉÏÓÃipconfig²é¿´VMnet8µÄIPµØÖ·£¬ Ò»°ãÊÇ192.168.X.1/255.255.255.0,´ËʱVMnet8µÄÉèÖÃÓ¦¸ÃÊÇ×Ô¶¯»ñÈ¡IP£¬ÏÖÔڸijɾ²Ì¬IP£¬²¢°Ñ´ËIPÖ±½ÓÌîÈëVMnet8À²»ÉèÍø¹Ø¡£
5¡¢Í¬Ê±ÔÚVMÍøÂçÉèÖÃÀïµÄNATÏîÖв鿴VMnet8£¬Ò»°ãÊÇ192.168.X.2/255.255.255.0Õâ¸öµØÖ·¾ÍÊÇVMnet8£¬NATµÄÍø¹Ø
6¡¢ÏÖÔÚÔÚLINUXÏ°ÑÍø¿¨IPÉèÖó


Ïà¹ØÎĵµ£º

linuxÓÃrdateÃüÁîʵÏÖͬ²½Ê±¼ä

author:skate
time:2010-05-07
ÓÃrdateÃüÁîʵÏÖͬ²½Ê±¼ä
Ç°Á½Ìì˵µ½ÓÃntpʱ¼ä·þÎñÆ÷ºÍntpdateÃüÁîͬ²½Ê±¼ä£¬½ñÌì¼òµ¥¼Ç¼ÏÂÓÃrdateͬ²½Ê±¼ä
http://blog.csdn.net/wyzxg/archive/2010/05/06/5561548.aspx
ÔÚ¸÷ÖÖlinuxÖж¼ÓÐrdateÃüÁî
1. Ñ¡ÔÚһ̨linux×÷Ϊmaster£¬È»ºóÆô¶¯ÉÏÃæµÄʱÖÓ·þÎñ
#chkconfig time on
Èç¹û² ......

Linux¶àÏ̱߳à³ÌºÍLinux 2.6ϵÄNPTL


ÊÐÃæÉÏÓеÄÒ»±¾½éÉܶàÏ̵߳ÄÊ顶Posix ¶àÏ̱߳à³Ì¡·£¬ËüÊÇÓ¢Îİ桶Programming with POSIX Muiltthread¡·ÖÐÒë±¾£¬ÕâÒ²ÊÇ°ëÄêÇ°ÎÒËùÄÜÕÒµ½µÄΨһרÌâ½éÉܶàÏ̱߳à³ÌµÄÊé¡£ÎÒ¸öÈ˸оõÕâ±¾ÊéµÄÇ°Ãæ1/3Ö®Ò»µÄÄÚÈÝдµÄ»¹ÊDz»´íµÄ£¬µ«ÊǺóÃæµÄ¶«Î÷¾Í·Ç³£»Þɬ²¢ÇÒÓкܶàÃ÷ÏÔµÄÎÄ×Ö´íÎ󡣿´¿´Õâ±¾ÊéµÄ·­ÒëÕßÊǺü¸¸öÈË£¬¹À¼Æÿ¸öÈ ......

linuxϵͳ¹¤³ÌʦÃæÊÔÌâ(¸½´ð°¸)

1.²é¿´Linuxϵͳµ±Ç°µ¥¸ö¹²ÏíÄÚ´æ¶ÎµÄ×î´óÖµ£¨ÃüÁ
ipcs -m
ipcs -a
2.ÓÃʲôÃüÁî²éѯָ¶¨IPµØÖ·µÄ·þÎñÆ÷¶Ë¿Ú
ÌâÒâÓ¦¸ÃÊÇ nmap ºÍnbtscan ÃüÁîÀ´É¨°É¡£
3.crontabÖÐÓÃʲôÃüÁÒåij¸ö³ÌÐòÖ´ÐеÄÓÅÏȼ¶±ð
nice/renice£º½ø³ÌÖ´ÐÐÓÅÏȼ¶
¸ÅÄ
½ø³ÌÓÅÏȼ¶£ºÏµÍ³°´½ø³ÌÓÅÏȼ¶µÄ²»Í¬·ÖÅäCPUʱ¼ä£¬ÓÅÏȼ¶¸ßµÄ ......

Linux/Unix ÐÂÊÖºÍר¼Ò½Ì³Ì

ÄãÕýÔÚÕÒһЩ¸ßÖÊÁ¿µÄLinux ºÍ UNIX µÄ½Ì³ÌÂð£¿Èç¹ûÊÇ£¬ÕâƪÎÄÕ»á¸æËßÄãµ½ÄÄÈ¥ÕÒµ½ÕâЩ½Ì³Ì¡£ÕâÀïÎÒÃǽ«¸ø³ö³¬¹ý30¸öÏ൱µÄ²»´íµÄ
Linux ºÍ UNIX ÔÚÏߵĽ̡̳£
ÐèÒª´ó¼Ò×¢ÒâµÄÊÇ£¬ËûÃǶ¼ÊÇÓ¢Îĵģ¬Ò²ÐíÓÐһЩҲ¾­±»·­Òëµ½ÁËÖÐÎÄÉçÇø£¬Äã¿ÉÒÔËÑË÷һϡ£µ«²»¹ÜÔõôÑù£¬ÎҵĽ¨ÒéÊÇÓ¦¸Ã¾¡¿ÉÄܵÄÈ¥ÔĶÁÓ¢ÎÄ¡£
Lin ......

Linux ³£ÓÃÃüÁת£©


linuxĿ¼¼Ü¹¹ 
/ ¸ùĿ¼ 
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄 
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ 
/boot/grub/menu.lst GRUBÉèÖà
/boot/vmlinuz Äںˠ
/boot/initrd ºËÐĽâ壓縮ËùÐè RAM Disk 
/dev ϵͳÖܱßÉ豸 
/etc ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ